Commit graph

39850 commits

Author SHA1 Message Date
Nan Zhang
6cdb1f8bc7 Merge "Use merge_zips to merge jars during Java build in Make." am: 39bbfe217a am: d9001d2733
am: 177e7ffb20

Change-Id: I2178aa1eb4a0e74a3057758f4651ad569bdd6257
2017-09-20 20:00:46 +00:00
Nan Zhang
177e7ffb20 Merge "Use merge_zips to merge jars during Java build in Make." am: 39bbfe217a
am: d9001d2733

Change-Id: I7f04e255cd8cb6fa0f614d504e80de42b323dd8c
2017-09-20 19:58:17 +00:00
Nan Zhang
d9001d2733 Merge "Use merge_zips to merge jars during Java build in Make."
am: 39bbfe217a

Change-Id: Iad7343ad4d2889fc39161e8ab14449f42d23008b
2017-09-20 19:53:47 +00:00
Nan Zhang
39bbfe217a Merge "Use merge_zips to merge jars during Java build in Make." 2017-09-20 19:48:27 +00:00
Nicolas Geoffray
95032843ba Merge "Revert "Revert "Make privileged apps always keep uncompressed dex files.""" am: 121fe5a80a am: 279df08f3b
am: 3c36897dbc

Change-Id: I2fe569b2d0f861a724f5a99139350c4d02e280ef
2017-09-20 08:59:35 +00:00
Nicolas Geoffray
3c36897dbc Merge "Revert "Revert "Make privileged apps always keep uncompressed dex files.""" am: 121fe5a80a
am: 279df08f3b

Change-Id: I125b3968e5a38341c4e2fa6a58163072b9c233cd
2017-09-20 08:55:03 +00:00
Nicolas Geoffray
279df08f3b Merge "Revert "Revert "Make privileged apps always keep uncompressed dex files."""
am: 121fe5a80a

Change-Id: I9e54a206dd3f565e9facc07b4a595f1cf550164b
2017-09-20 08:51:24 +00:00
SzuWei Lin
7e43c0195a Merge "Disable VNDK runtime checking" into oc-mr1-dev
am: febdef4e87

Change-Id: I34bbb9a0aac5b1ace8b284d3ad7833a35567f465
2017-09-20 08:43:04 +00:00
TreeHugger Robot
febdef4e87 Merge "Disable VNDK runtime checking" into oc-mr1-dev 2017-09-20 08:39:26 +00:00
Nicolas Geoffray
121fe5a80a Merge "Revert "Revert "Make privileged apps always keep uncompressed dex files.""" 2017-09-20 08:19:23 +00:00
SzuWei Lin
04f6ff5adb Disable VNDK runtime checking
GSI enabled the VNDK, but devices need to fix the depedency of
libraries. Before that, disable the VNDK runtime checking temporary.

Bug: 65190702
Test: Test on a device which doesn't fix VNDK dependency with GSI
Change-Id: Ib942a7efdc75beca93c60d1e0484835342efcfd2
2017-09-20 14:28:18 +08:00
Nan Zhang
9bd540594d Use merge_zips to merge jars during Java build in Make.
1. Use merge_zips to merge jars without unzipping/rezipping static Java
libraries. And seperate merging process as a independent Make target so
that Javac can only depend on Turbine.

2. Remove duplicate vars: "full_java_lib_deps" in droiddoc.mk

3. Also use classes-header.jar for link_apk & link_instr

Bug: b/65455145
Test: m clean && m -j32

Change-Id: I7b0307664a6b86075c983284fce099bd3946318c
2017-09-19 18:49:33 -07:00
Calin Juravle
eecf73f217 Merge "Set the default value of pm.dexopt.shared to speed" into oc-mr1-dev
am: f7517503da

Change-Id: I7f55708530b444065cd9056f9a59aa50718d19fa
2017-09-19 22:10:11 +00:00
Jeff Gaston
9214ee3167 Merge "Fix sdk-addon build on build servers" am: 70d8dbc125 -s ours am: 878d03842f
am: e39d134881

Change-Id: I1afffaa05ea0d2f08b6879f221a2db089c88f5b5
2017-09-19 22:01:20 +00:00
Jeff Gaston
e39d134881 Merge "Fix sdk-addon build on build servers" am: 70d8dbc125 -s ours
am: 878d03842f

Change-Id: I2f5aafafac4728892c50ed7fb69ad90bb9ba5279
2017-09-19 21:59:24 +00:00
Jeff Gaston
878d03842f Merge "Fix sdk-addon build on build servers"
am: 70d8dbc125  -s ours

Change-Id: Id065e983dfcf908f7bbfd684d0bc4f7ec3e196f2
2017-09-19 21:57:50 +00:00
Calin Juravle
f7517503da Merge "Set the default value of pm.dexopt.shared to speed" into oc-mr1-dev 2017-09-19 21:56:36 +00:00
Jeff Gaston
70d8dbc125 Merge "Fix sdk-addon build on build servers" 2017-09-19 21:35:41 +00:00
Jeff Gaston
3de479ea6e Merge "Fix sdk-addon build on build servers" into stage-aosp-master am: 7a8ab7e279
am: 1a024dbb89  -s ours

Change-Id: Icbc444c2e8970aa1779e0916bd8897620a6f6386
2017-09-19 21:15:46 +00:00
Jeff Gaston
1a024dbb89 Merge "Fix sdk-addon build on build servers" into stage-aosp-master
am: 7a8ab7e279

Change-Id: I77aad5d46c343f6cc734c99a75c518ac6726c07a
2017-09-19 19:22:11 +00:00
Jeff Gaston
7a8ab7e279 Merge "Fix sdk-addon build on build servers" into stage-aosp-master 2017-09-19 19:16:13 +00:00
Colin Cross
e0187ffbf8 Merge "Revert "Upgrade to ManifestMerger2"" am: c165d9c9ba am: a541eaa665
am: 5da4706ab5  -s ours

Change-Id: If2d4bb5d477af9dc36429e5dc3676bd99eed212f
2017-09-19 16:14:27 +00:00
Colin Cross
5da4706ab5 Merge "Revert "Upgrade to ManifestMerger2"" am: c165d9c9ba
am: a541eaa665

Change-Id: I9395173f7db8a0a4cef8a8c2aefd8d87aac1035d
2017-09-19 15:50:25 +00:00
Colin Cross
a541eaa665 Merge "Revert "Upgrade to ManifestMerger2""
am: c165d9c9ba

Change-Id: I048de67c02b32f9179d245fd98636333c366bddf
2017-09-19 15:48:24 +00:00
Colin Cross
0ee6d1b124 Merge "Upgrade to ManifestMerger2" am: 4971146b2b am: 8304b5732a
am: 26eba4fb80  -s ours

Change-Id: I4483f6de68ca11bbc0755bfae47d30ef23dbd3d5
2017-09-19 15:42:22 +00:00
Colin Cross
c165d9c9ba Merge "Revert "Upgrade to ManifestMerger2"" 2017-09-19 15:41:15 +00:00
Colin Cross
34054eb615 Revert "Upgrade to ManifestMerger2"
This reverts commit a636f16b34.

Bug: 36005379
Change-Id: If5516b34c103016529de4d591038e9e34260a8e8
2017-09-19 15:40:25 +00:00
Nicolas Geoffray
b06c30b480 Revert "Revert "Make privileged apps always keep uncompressed dex files.""
bug: 30972906
bug: 63920015

Test: doing zipinfo on the produced apks after build.
Test: fugu build

This reverts commit f69441b76b.

Change-Id: I6b029f2044385f3e3fa332091a9244cec79d2474
2017-09-19 13:09:27 +01:00
Colin Cross
26eba4fb80 Merge "Upgrade to ManifestMerger2" am: 4971146b2b
am: 8304b5732a

Change-Id: Ifa32f975d24d5ce5d11f227f8b69419113cec035
2017-09-19 06:52:18 +00:00
Colin Cross
8304b5732a Merge "Upgrade to ManifestMerger2"
am: 4971146b2b

Change-Id: I1be76ff452d131f1a4dbe0b12e3b1389fc46f935
2017-09-19 06:44:19 +00:00
Colin Cross
4971146b2b Merge "Upgrade to ManifestMerger2" 2017-09-19 06:39:23 +00:00
Jeff Gaston
f32467dac6 Fix sdk-addon build on build servers
they don't source envsetup.sh

Bug: 65286453
Test: m -j OUT_DIR=/tmp/abs PRODUCT-sdk_gphone_x86-sdk_addon /tmp/abs/host/linux-x86/sdk_addon/google_phone_x86-eng.$(whoami)-linux-x86.zip

Change-Id: Id396203b500e70cfa2b1e1eb5241d88fae88fc36
Merged-In: Id396203b500e70cfa2b1e1eb5241d88fae88fc36
(cherry picked from commit 25210ce70b)
2017-09-18 19:27:13 -07:00
Jeff Gaston
8228d37ac4 Fix sdk-addon build on build servers
they don't source envsetup.sh

Bug: 65286453
Test: m -j OUT_DIR=/tmp/abs PRODUCT-sdk_gphone_x86-sdk_addon /tmp/abs/host/linux-x86/sdk_addon/google_phone_x86-eng.$(whoami)-linux-x86.zip

Change-Id: Id396203b500e70cfa2b1e1eb5241d88fae88fc36
Merged-In: Id396203b500e70cfa2b1e1eb5241d88fae88fc36
(cherry picked from commit 25210ce70b)
2017-09-18 19:13:49 -07:00
Jeff Gaston
07d179fdac Merge "Fix sdk-addon build on build servers" into oc-mr1-dev-plus-aosp 2017-09-19 02:06:44 +00:00
Mathieu Chartier
cd32d9aea1 Merge "Add product property for preopting extracted APKs" into oc-mr1-dev
am: 9e2fd26a29

Change-Id: If492791db41c08b23191f1f58fd08ed85dc161ca
2017-09-18 22:55:46 +00:00
Mathieu Chartier
9e2fd26a29 Merge "Add product property for preopting extracted APKs" into oc-mr1-dev 2017-09-18 22:49:15 +00:00
Jeff Gaston
2fa3fe1146 Fix sdk-addon build on build servers
they don't source envsetup.sh

Bug: 65286453
Test: m -j OUT_DIR=/tmp/abs PRODUCT-sdk_gphone_x86-sdk_addon /tmp/abs/host/linux-x86/sdk_addon/google_phone_x86-eng.$(whoami)-linux-x86.zip

Change-Id: Id396203b500e70cfa2b1e1eb5241d88fae88fc36
Merged-In: Id396203b500e70cfa2b1e1eb5241d88fae88fc36
(cherry picked from commit 25210ce70b)
2017-09-18 21:54:24 +00:00
Colin Cross
a636f16b34 Upgrade to ManifestMerger2
Switch to using ManifestMerger2 from
prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/25.3.1/manifest-merger-25.3.1.jar

Bug: 36005379
Test: m -j checkbuild
Change-Id: Ia03a1eb096ebab9578e5b08183faa86f6818ff3c
Merged-In: I83bd3f95778e93796d06f063aa7c61d2a63b117b
(cherry picked from commit e76e8021eb)
2017-09-18 21:08:58 +00:00
Colin Cross
710a41358a Upgrade to ManifestMerger2
Switch to using ManifestMerger2 from
prebuilts/gradle-plugin/com/android/tools/build/manifest-merger/26.0.0-beta2/manifest-merger-26.0.0-beta2.jar

Bug: 36005379
Test: m -j checkbuild
Change-Id: I83bd3f95778e93796d06f063aa7c61d2a63b117b
Merged-In: I83bd3f95778e93796d06f063aa7c61d2a63b117b
(cherry picked from commit e76e8021eb)
2017-09-18 21:03:23 +00:00
Colin Cross
1fe8e3c66d Merge "Move jacocoagent into the bootclasspath" am: 68dad73d34 am: a6af8ef91f
am: e9a7688567

Change-Id: I8941916da85a2c221c5ac7d6bb5217bd9b79baef
2017-09-18 20:32:10 +00:00
Colin Cross
e9a7688567 Merge "Move jacocoagent into the bootclasspath" am: 68dad73d34
am: a6af8ef91f

Change-Id: I3fba1c3005056354a682e1e424fbb4f388cc16ab
2017-09-18 20:12:05 +00:00
Colin Cross
a6af8ef91f Merge "Move jacocoagent into the bootclasspath"
am: 68dad73d34

Change-Id: I67cda4a8aefee7cdb946e4e3181f3254a2994ebc
2017-09-18 20:08:08 +00:00
Calin Juravle
3fdb549931 Set the default value of pm.dexopt.shared to speed
By default, we should compile all shared apks with the speed filter.

Bug: 65591595
Test: build & boot
Change-Id: I8781ca47090321a32641ec4c7a4ed3c722bab475
2017-09-18 13:05:24 -07:00
Treehugger Robot
68dad73d34 Merge "Move jacocoagent into the bootclasspath" 2017-09-18 19:57:53 +00:00
Mathieu Chartier
0fbb836cf6 Add product property for preopting extracted APKs
The property is PRODUCT_ALWAYS_PREOPT_EXTRACTED_APK. If specified,
this preopts the APK with the default compile filter (quicken).

This will be used to quicken preopt of gmscore dynamite modules when
preopting is disabled. This fixes a possible RAM regression caused
by running out of the APK.

Bug: 65601274
Test: make and flash

Change-Id: Ibf0fa73ee7fafd9735e587baf19c4950a7da817a
2017-09-18 12:43:49 -07:00
Nicolas Geoffray
ad97c9d963 Merge "Revert "Make privileged apps always keep uncompressed dex files."" am: bb779a0c04 am: ed7dab7625
am: 7c1b5d08d4

Change-Id: I6c71407f2504ccb8bde2ad121dc9574afe32c02d
2017-09-18 15:25:32 +00:00
Nicolas Geoffray
7c1b5d08d4 Merge "Revert "Make privileged apps always keep uncompressed dex files."" am: bb779a0c04
am: ed7dab7625

Change-Id: Ie9f53fbd629534f3bcf7f62b5ace3832d17a142e
2017-09-18 15:22:31 +00:00
Nicolas Geoffray
ed7dab7625 Merge "Revert "Make privileged apps always keep uncompressed dex files.""
am: bb779a0c04

Change-Id: I9618966e0946ec5a296d205cc303add14bec0d79
2017-09-18 15:20:00 +00:00
Nicolas Geoffray
bb779a0c04 Merge "Revert "Make privileged apps always keep uncompressed dex files."" 2017-09-18 15:11:09 +00:00
Nicolas Geoffray
f69441b76b Revert "Make privileged apps always keep uncompressed dex files."
Broke Fugu build. Will work on a workaround for it.

bug: 30972906
bug: 63920015

This reverts commit 09dfe6739a.

Change-Id: I5a8b8de4ec98ae44808762ca1ba974ce89bebb05
2017-09-18 15:07:26 +00:00