Paul Duffin
a4ec850482
Populate hiddenAPI structure even when not active am: 001e606e5c
am: 251bb0cfaf
am: e3ab70f204
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1707568
Change-Id: I46a78147495fa7455fa3c4b2ecd9a390cddb7466
2021-05-14 06:42:43 +00:00
Paul Duffin
10141eb0ba
Disallow shared libraries in bootclasspath_fragment contents am: f4600f6e6a
am: 5afc79746a
am: d642862dcb
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1707566
Change-Id: I875ebabe9cf05b0cdd854021b9e770adc6e6bbb0
2021-05-14 06:42:40 +00:00
Paul Duffin
e3ab70f204
Populate hiddenAPI structure even when not active am: 001e606e5c
am: 251bb0cfaf
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1707568
Change-Id: Ie16eb49bc6a0f51da5f143f0ce8dbb1cc8d7b8b8
2021-05-14 06:25:21 +00:00
Paul Duffin
d642862dcb
Disallow shared libraries in bootclasspath_fragment contents am: f4600f6e6a
am: 5afc79746a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1707566
Change-Id: I70daf119a679f01ac216b482fa95f6b21c1a64da
2021-05-14 06:25:17 +00:00
Paul Duffin
001e606e5c
Populate hiddenAPI structure even when not active
...
The modular hidden API processing needs access to the classesJarPaths
and bootDexJarPath fields of the hiddenAPI structure even if the
modules are not themselves considered to be active participants in the
existing hidden API processing.
This change moves the initialization of those fields to before inactive
modules are ignored.
Bug: 179354495
Test: m art-module-sdk out/soong/hiddenapi/hiddenapi-flags.csv
Change-Id: I06f96d39d0b413295d3e2af50453ebe7e4d3e9c8
2021-05-14 01:45:42 +01:00
Yuntao Xu
3cf22ccb31
Merge "syntax check to jacoco filters for any build" am: 0589914135
am: 6b968b9531
am: f2f04e4160
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1706576
Change-Id: I6a95529702279a50c095c423f2052b2f5ce01b21
2021-05-14 00:16:14 +00:00
Yuntao Xu
f2f04e4160
Merge "syntax check to jacoco filters for any build" am: 0589914135
am: 6b968b9531
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1706576
Change-Id: Iaceecc8c587231aa3bed8b7f661c1ebfc2abc8df
2021-05-13 23:59:44 +00:00
Paul Duffin
f4600f6e6a
Disallow shared libraries in bootclasspath_fragment contents
...
Bug: 177892522
Test: m nothing
Change-Id: I78c8ef8664ec1eb0fe3456a2de2cb956162ca0da
2021-05-14 00:39:24 +01:00
Paul Duffin
f3042faefe
Add java_sdk_library in bootclasspath_fragment contents to sdk am: a10bd3c127
am: 94a452c768
am: 58fcebb1a7
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1705470
Change-Id: I673fd870c37f11966c4914c033ab8f96b8ece825
2021-05-13 23:23:42 +00:00
Yuntao Xu
0589914135
Merge "syntax check to jacoco filters for any build"
2021-05-13 23:11:48 +00:00
Paul Duffin
58fcebb1a7
Add java_sdk_library in bootclasspath_fragment contents to sdk am: a10bd3c127
am: 94a452c768
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1705470
Change-Id: I611119b71b2087c37250968024278ce938cfe04a
2021-05-13 23:05:14 +00:00
Paul Duffin
a10bd3c127
Add java_sdk_library in bootclasspath_fragment contents to sdk
...
A java_library specified in a bootclasspath_fragment's contents
property will be automatically added to the sdk containing that
bootclasspath_fragment. Previously, if that was attempted with a
java_sdk_library it would be added to the sdk as if it was a normal
java_boot_libs which would prevent the sdk from containing the
API specific artifact such as current.txt files and stub libraries
and sources.
This change fixes that and adds a java_sdk_library as a java_sdk_libs
module.
Bug: 177892522
Test: m nothing
Change-Id: Ided57b846ce5b8940c7e898c786fd77602582ea2
2021-05-13 21:25:42 +01:00
Yuntao Xu
5b009aedf9
syntax check to jacoco filters for any build
...
Perform syntax check to jacoco filters for any build.
Bug: 183622051
Test: Manual
Test: TreeHugger
Change-Id: Iff90d7b45bdad8706c43c7e16d98270af688d20b
2021-05-13 12:42:24 -07:00
Paul Duffin
39ca8223ae
Merge "Build boot images in bootclasspath_fragment/platform_bootclasspath" am: 4bbf45faef
am: 748d954062
am: 57610650d1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690884
Change-Id: I314c01f74f2fe58576d66c1979a1d1ca14f5cad6
2021-05-13 17:09:17 +00:00
Treehugger Robot
648d0fab59
Merge "Add support for SOONG_SDK_SNAPSHOT_USE_SRCJAR" am: 820397deb2
am: 66f9ac0d33
am: c0de64161c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1706107
Change-Id: I69d8f0ed2459d8722c620d3a9984363318fd5ec2
2021-05-13 17:09:10 +00:00
Paul Duffin
57610650d1
Merge "Build boot images in bootclasspath_fragment/platform_bootclasspath" am: 4bbf45faef
am: 748d954062
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690884
Change-Id: Ifa764af1894637846631c9aba05128f7f307df0d
2021-05-13 16:52:54 +00:00
Treehugger Robot
c0de64161c
Merge "Add support for SOONG_SDK_SNAPSHOT_USE_SRCJAR" am: 820397deb2
am: 66f9ac0d33
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1706107
Change-Id: Id4649acc8899ce6a25fbcdc16fc6c688fa9f4f73
2021-05-13 16:52:37 +00:00
Paul Duffin
4bbf45faef
Merge "Build boot images in bootclasspath_fragment/platform_bootclasspath"
2021-05-13 16:32:23 +00:00
Treehugger Robot
820397deb2
Merge "Add support for SOONG_SDK_SNAPSHOT_USE_SRCJAR"
2021-05-13 16:00:40 +00:00
Paul Duffin
da21f0e88c
Merge "Separate storing config for MakeVars from building boot image" am: f356e5a533
am: eb18e84459
am: 443d6ab74b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690882
Change-Id: I3c09cc7cc1c1b56db2e9e806134472863f6a8f19
2021-05-13 14:53:59 +00:00
Paul Duffin
443d6ab74b
Merge "Separate storing config for MakeVars from building boot image" am: f356e5a533
am: eb18e84459
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690882
Change-Id: I13f7019e51915305453cc9c5da4cb6c7cc393a71
2021-05-13 14:36:55 +00:00
Paul Duffin
f356e5a533
Merge "Separate storing config for MakeVars from building boot image"
2021-05-13 14:01:36 +00:00
Paul Duffin
8a08117373
Merge "Move copying of dex files from dexpreopt_bootjars singleton" am: cfd24da1f4
am: 7be9378c61
am: 817187082c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690881
Change-Id: If03ec0c3263413d2c88d91d510752d6bb3d4de80
2021-05-13 11:52:25 +00:00
Paul Duffin
817187082c
Merge "Move copying of dex files from dexpreopt_bootjars singleton" am: cfd24da1f4
am: 7be9378c61
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690881
Change-Id: I75aa39288ab8f7350d7844c7e4dd262c635746d6
2021-05-13 11:35:04 +00:00
Paul Duffin
cfd24da1f4
Merge "Move copying of dex files from dexpreopt_bootjars singleton"
2021-05-13 10:53:51 +00:00
Paul Duffin
22628d50f3
Add support for SOONG_SDK_SNAPSHOT_USE_SRCJAR
...
Test: m SOONG_SDK_SNAPSHOT_USE_SRCJAR=true ipsec-module-sdk
- check generated snapshot.zip file.
Change-Id: I02991e2a60d7784984b308cff2c47ee809d61f01
2021-05-12 23:13:22 +01:00
Ivan Lozano
a072c5ae56
Merge "Refactor vendor snapshot to use LinkableInterface." am: 7ce2dee09e
am: 61c475060a
am: 001c11e93a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1680606
Change-Id: Ifff15886dba6bda0754d086456a1db3b7524e4ed
2021-05-12 21:13:41 +00:00
Ivan Lozano
001c11e93a
Merge "Refactor vendor snapshot to use LinkableInterface." am: 7ce2dee09e
am: 61c475060a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1680606
Change-Id: I2826cb9898e093f5669700c8d98e314b445ee639
2021-05-12 20:55:58 +00:00
Paul Duffin
2fc82ad044
Build boot images in bootclasspath_fragment/platform_bootclasspath
...
Moves the building of boot images from the dexpreopt_bootjars singleton
to the bootclasspath_fragment and platform_bootclasspath.
The art boot image is generated by the art-bootclasspath-fragment
module and the framework boot image by the platform-bootclasspath
module.
This does temporarly duplicate the generation of an identical boot
profile for each image. As part of the work to modularize the boot
image profile each image will have its own custom default boot profile.
Bug: 177892522
Bug: 186455808
Test: m droid and TreeHugger
Change-Id: I23cf05ec7648749b21c7cf6fcba282b46649a981
2021-05-12 21:51:27 +01:00
Paul Duffin
47932935e9
Separate storing config for MakeVars from building boot image
...
Previously, the initialization of the dexpreoptBootJars fields used to
store information needed in its MakeVars method was interleaved with
the calls to buildBootImage(). In fact those fields were initialized
from the *bootImageConfig returned by buildBootImage(). However, the
method simply returned the *bootImageConfig value that was passed in.
Separating the initialization from the calls to buildBootImage() allows
the functionality to be moved to platform_bootclasspath separately.
Bug: 177892522
Test: m nothing
Change-Id: I8ba460f60be553516de5f186e14377bb0ec1b2cd
2021-05-12 21:51:27 +01:00
Paul Duffin
7ebebfd5f8
Move copying of dex files from dexpreopt_bootjars singleton
...
The art dex files are copied in the bootclasspath_fragment and the
non-updatable and updatable dex files are copied in the
platform_bootclasspath.
Bug: 177892522
Test: m nothing
Change-Id: I5d3d533d1a7a9f8e7ae20c12eb33029a898a2cd6
2021-05-12 21:51:19 +01:00
Ivan Lozano
d7586b6526
Refactor vendor snapshot to use LinkableInterface.
...
Refactors the vendor snapshot support to use the LinkableInterface
so that support can be extended to Rust. This CL does not add
vendor snapshot support for Rust; that is left for a follow-on CL.
Bug: 184042776
Test: m nothing
Change-Id: Id0c4970ca00053484a52677d182153cbc454c301
2021-05-12 14:01:10 -04:00
Jaewoong Jung
310e197d6d
Merge "Strict updatability linting against dependencies." am: ccbbeb6965
am: 9319584fad
am: bcaf0e855b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1702008
Change-Id: Ie02a46af6665bd6158a4bc1acd72be5d129d0854
2021-05-11 16:34:54 +00:00
Jaewoong Jung
bcaf0e855b
Merge "Strict updatability linting against dependencies." am: ccbbeb6965
am: 9319584fad
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1702008
Change-Id: I9f334ee36a091a02b8df1a7493299675c656ed5a
2021-05-11 16:10:22 +00:00
Jaewoong Jung
ccbbeb6965
Merge "Strict updatability linting against dependencies."
2021-05-11 15:24:06 +00:00
Treehugger Robot
ddcf758f8c
Merge "Generate empty classpaths.proto for bootclasspath_fragment.go." am: a556647c50
am: 3e51be492f
am: 613e4c502a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1699193
Change-Id: Ia92df6204946e3e28341cd27a75d108b657754cc
2021-05-11 13:44:08 +00:00
Treehugger Robot
613e4c502a
Merge "Generate empty classpaths.proto for bootclasspath_fragment.go." am: a556647c50
am: 3e51be492f
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1699193
Change-Id: Ia3e193863fffc4222edd3ddc908a5f489f1e7a61
2021-05-11 13:27:02 +00:00
satayev
3db3547d1f
Generate empty classpaths.proto for bootclasspath_fragment.go.
...
- Adds all required details for bootclasspath_fragment to implement
classpath_fragment.
- Keeps the actual boot jars in platform-bootclasspath to begin with.
- Makes sure to put the file in apex/etc/classpath on device. Note that
for platform versions of classpath fragment AndroidMkEntries perform
the installation, while for APEXes it must be plumbed via apex.go.
Bug: 180105615
Test: m && launch_cvd; atest CtsClasspathsTestCases
Change-Id: I6101ebdf5b8bcbe95c0b7ce21f3f67a2685aef50
2021-05-11 10:34:47 +01:00
Jaewoong Jung
476b9d6d17
Strict updatability linting against dependencies.
...
Propagate strict_updatability_linting to transitive dependencies using a
top-down mutator.
Test: lint_test.go
Bug: 182349282
Change-Id: Ifc9e58f1a597e3c7725ee49b4027afb6f42f45cb
2021-05-10 15:30:00 -07:00
Treehugger Robot
8c112087cb
Merge "Rename fields in dexpreopt config" am: 564fce4578
am: f8f3b93130
am: 517f7ba95b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1699427
Change-Id: Iadeefe9966ca6b3ce5815befc6f6616c87a7c26b
2021-05-08 02:45:56 +00:00
Treehugger Robot
517f7ba95b
Merge "Rename fields in dexpreopt config" am: 564fce4578
am: f8f3b93130
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1699427
Change-Id: I6614ad3de51e09cd74ef0b75e31bfca3ac116cb5
2021-05-08 02:27:10 +00:00
Treehugger Robot
564fce4578
Merge "Rename fields in dexpreopt config"
2021-05-08 01:47:39 +00:00
satayev
4cb335b3e5
Merge "Declare ConfiguredJarList in specific fragment implementations." am: ee7e359131
am: 4c58850bbf
am: 01ac28b3bb
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1699192
Change-Id: Id0913f243c279cd8d64982d3b8fe16c66b3b3fae
2021-05-07 20:51:15 +00:00
satayev
01ac28b3bb
Merge "Declare ConfiguredJarList in specific fragment implementations." am: ee7e359131
am: 4c58850bbf
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1699192
Change-Id: Ief67bfa6e112726d610acc30547b3526d563bce0
2021-05-07 20:29:12 +00:00
satayev
ee7e359131
Merge "Declare ConfiguredJarList in specific fragment implementations."
2021-05-07 19:41:08 +00:00
Treehugger Robot
4fe97969e7
Merge "Split SYSTEMSERVERCLASSPATH entries from platform_bootclasspath." am: 3b755d4560
am: afa1bff5aa
am: 1ba4987c0e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1689755
Change-Id: Id30b2f1354e36af0183b814c4f93fbc620345738
2021-05-07 19:13:59 +00:00
Treehugger Robot
1ba4987c0e
Merge "Split SYSTEMSERVERCLASSPATH entries from platform_bootclasspath." am: 3b755d4560
am: afa1bff5aa
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1689755
Change-Id: I6346fe8c962441bebd49bb007f888e3577a94cbe
2021-05-07 18:49:22 +00:00
Treehugger Robot
3b755d4560
Merge "Split SYSTEMSERVERCLASSPATH entries from platform_bootclasspath."
2021-05-07 18:34:52 +00:00
satayev
013485bd83
Declare ConfiguredJarList in specific fragment implementations.
...
Each specific classpath_fragment module knows what jars must be part
of the corresponding classpaths.proto config.
Note that bootclasspath_fragment does not implement classpath_fragment
yet, thus all boot jars and all system server jars go into corresponding
platform classpaths.
Bug: 180105615
Test: m && launch_cvd; atest CtsClasspathsTestCases
Change-Id: I6a8c7b0a5d17d62e790a441b8e2c5c1a816e7f30
2021-05-07 16:31:07 +01:00
Paul Duffin
5e1308f1a4
Merge "Install updatable-bcp-packages.txt and boot-image.bprof" am: 225e4dbae4
am: 655970204c
am: 690697082b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1699203
Change-Id: I9d9dd64c8ba4c2512403a647c322964f225d35d9
2021-05-07 15:24:38 +00:00