Nan Zhang
abbb6a1fa1
Merge "Move private_manifest file insertion to jars merging phase." am: 3d6aaa2f56
...
am: d43952b8f8
Change-Id: I79d1548bbaa763e3756bbf1487fa187c821ea925
2017-09-21 03:24:18 +00:00
Nan Zhang
d43952b8f8
Merge "Move private_manifest file insertion to jars merging phase."
...
am: 3d6aaa2f56
Change-Id: Idfa204e931e69b86e7f9845887edfa3b2abdf0d8
2017-09-21 03:22:18 +00:00
Treehugger Robot
3d6aaa2f56
Merge "Move private_manifest file insertion to jars merging phase."
2017-09-21 03:16:34 +00:00
Colin Cross
35b1a46bf0
Merge "Make soong_java_prebuilt.mk accept dex jars" am: d739bef96d
...
am: db347c5cb4
Change-Id: Ie479d9ad52704319325a7e81f9ac67e582e13fda
2017-09-20 23:02:00 +00:00
Colin Cross
db347c5cb4
Merge "Make soong_java_prebuilt.mk accept dex jars"
...
am: d739bef96d
Change-Id: Ie9909adf61560f82d9a7c7482c2769fe4d81baee
2017-09-20 22:57:31 +00:00
Colin Cross
d739bef96d
Merge "Make soong_java_prebuilt.mk accept dex jars"
2017-09-20 22:54:16 +00:00
Nan Zhang
b88011768d
Move private_manifest file insertion to jars merging phase.
...
By doing this, the change of private_manifest file won't trigger
Javac to re-run during re-build.
Bug: b/65455145
Test: m clean && m -j32
Change-Id: Ib90d56daf0be5f31b51e07b7714a933bc5cf4496
2017-09-20 14:56:48 -07:00
Alan Leung
a2243f1ef8
Merge "Replace DX_ALT_JAR with USE_D8" am: 3b236ad3e3
...
am: 524ede46bb
Change-Id: Ie211cb1d7d60866551fe159f36b29a9a2d381329
2017-09-20 20:07:06 +00:00
Alan Leung
524ede46bb
Merge "Replace DX_ALT_JAR with USE_D8"
...
am: 3b236ad3e3
Change-Id: I193a3d98cbbdc3f7bb88fb588c9ef9fba8b837c4
2017-09-20 20:01:42 +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
Treehugger Robot
3b236ad3e3
Merge "Replace DX_ALT_JAR with USE_D8"
2017-09-20 19:56:38 +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
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
Nicolas Geoffray
121fe5a80a
Merge "Revert "Revert "Make privileged apps always keep uncompressed dex files."""
2017-09-20 08:19:23 +00: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
Colin Cross
aadc3be5ca
Make soong_java_prebuilt.mk accept dex jars
...
Accept LOCAL_SOONG_DEX_JAR and copy it to javalib.jar.
Test: m -j checkbuild
Change-Id: I28f9e99fe19110cab188a9129b058db532aa273f
2017-09-19 13:02:17 -07: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
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
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
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
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
Treehugger Robot
68dad73d34
Merge "Move jacocoagent into the bootclasspath"
2017-09-18 19:57:53 +00:00
Alan Leung
be7b6ed397
Replace DX_ALT_JAR with USE_D8
...
Which would invoke the d8 script instead of calling javac on the jar.
BUG: 65212022
Test: m USE_D8=true
Change-Id: I8ee0b14210cb40895b0b208a01606e10a41f0acf
2017-09-18 12:39:52 -07: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
Nicolas Geoffray
4ad5bbb35d
Merge "Make privileged apps always keep uncompressed dex files." am: 3a5c65ef2f
...
am: 65c8bc6695
Change-Id: If3c942d070db8423d9e45218cfc73bbe389b5648
2017-09-18 09:28:39 +00:00
Nicolas Geoffray
65c8bc6695
Merge "Make privileged apps always keep uncompressed dex files."
...
am: 3a5c65ef2f
Change-Id: I3c734aa91fd530120633f8626717c9857579eee4
2017-09-18 09:26:09 +00:00
Nicolas Geoffray
3a5c65ef2f
Merge "Make privileged apps always keep uncompressed dex files."
2017-09-18 09:21:53 +00:00
Colin Cross
69b7f3f0b1
Move jacocoagent into the bootclasspath
...
Move jacocoagent out of core-libart and into its own jar on the
bootclasspath.
Test: m -j EMMA_INSTRUMENT=true
Test: https://android-build.googleplex.com/builds/view-workplan?viewType=Table&workplanId=L19400000103297394&nodeType=Trybot
Change-Id: I9e6e3dc59dba8b93685d59b258d4ebc7835eab8b
2017-09-15 22:27:35 +00:00
Nicolas Geoffray
09dfe6739a
Make privileged apps always keep uncompressed dex files.
...
To ensure the verified boot work does not make ART run
dex code uncompressed in memory, make the build system
generate uncompressed dex files in APKs.
The alignment of STORE files in an APK is already handled.
bug: 30972906
bug: 63920015
Test: doing zipinfo on the produced apks after build.
Change-Id: I0ccdeae5d674b2a409a1343c4a14699c7bf0defb
2017-09-15 21:49:05 +01:00
Nan Zhang
46010dda39
Merge "Move classes.jar generation right below JarJar phase." am: 729a221a16
...
am: 32fc9a5c46
Change-Id: I891f675d7f6f5761b213e96845ced4e263bd059d
2017-09-15 20:18:20 +00:00
Nan Zhang
32fc9a5c46
Merge "Move classes.jar generation right below JarJar phase."
...
am: 729a221a16
Change-Id: I65352f033cdb64dd08dc1e0ab82bc2bbec6e8591
2017-09-15 20:13:18 +00:00
Jeff Gaston
593caca87d
resolve merge conflicts of 8bbbd87ef6
to stage-aosp-master
...
am: c5fa0e7f49
Change-Id: I4ccd716b8b49edd683f7eead845efc4e0f65e857
2017-09-15 20:12:54 +00:00
Jeff Gaston
c5fa0e7f49
resolve merge conflicts of 8bbbd87ef6
to stage-aosp-master
...
Test: I solemnly swear I tested this conflict resolution.
Merged-In: Id2d18fe41de5d533baf1f082292d70d946386249
Change-Id: Ibc66733eb7879f2be2458e922641fec3a899beab
2017-09-15 19:25:19 +00:00
Nan Zhang
870025f89b
Move classes.jar generation right below JarJar phase.
...
By doing this, we don't need run desugar/Jacoco/proguard twice for
static java libraries(one for their self build, another for downstream
dependents).
Test: m clean && m java
Bug: b/65455145
Change-Id: I87aee34940937dbde33a977f55d1faf2c8054561
2017-09-14 14:44:40 -07:00
Jeff Gaston
43f3457329
Fix sdk-addon for absolute OUT_DIR
...
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.jeffrygaston-linux-x86.zip
Change-Id: Id2d18fe41de5d533baf1f082292d70d946386249
2017-09-13 15:23:38 -07:00
Adam Seaton
db4b460d4b
Update Security String to 2017-11-05 on oc-dev bug:65631379 am: d24487a2f2
...
am: 6b7c615cb6
Change-Id: Ia0a597ebe1b74390761e51481cf90a20e6376b31
2017-09-13 21:56:15 +00:00