platform_build_soong/apex
Spandan Das 0b7089f134 Ensure sscp jars get copied to $OUT/soong/system_server_dexjars
(This was missed in aosp/2876756, which copied only the bcp jars)

This hardcoded location is used by dex2oat to compile the dexpreopt
artifacts. The copy rules are currently generated by java_(sdk)_library
for source builds, and their prebuilt counterparts in prebuilt builds.

After this change, the copy rule will be bifurcated between source and
prebuilt builds
1. For source builds, it will come from java_(sdk)_library
2. For prebuilt builds, it will come from the top-level prebuilt apex.
   Since there can be multiple prebuilt apexes in trunk stable,
   HideFromMake will be used to determine which deapexed jar to copy.

The bifurfaction is expected to be temporary. It is needed for now since
the `apex_contributions` which will be used for source vs prebuilt
selection have not been populated completely.

Test: Added a unit test
Test: Presubmits
Test: git_master-art-host:
art-gtest (https://android-build.corp.google.com/builds/abtd/run/L40800030001459791)
Test: git_main:art_standalone_tests
(https://android-build.corp.google.com/builds/abtd/run/L09000030001463855)

Bug: 308790457

Change-Id: I3105d3b3a7e5c41cb601d07806f4ea483a61b50a
2024-01-24 05:14:40 +00:00
..
Android.bp Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
androidmk.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
apex.go Skip strict updatability linting on more apexes 2024-01-18 11:25:59 -08:00
apex_sdk_member.go Add apexes property to sdk 2022-07-06 15:58:43 +00:00
apex_singleton.go Convert ModuleProvder to generic providers API 2023-12-14 16:12:22 -08:00
apex_test.go Ensure sscp jars get copied to $OUT/soong/system_server_dexjars 2024-01-24 05:14:40 +00:00
bootclasspath_fragment_test.go Merge changes from topic "hiddenapi_exportable" into main 2024-01-12 23:50:37 +00:00
builder.go Add container property to aconfig_declarations. 2023-11-28 12:37:02 -08:00
classpath_element_test.go Convert OtherModuleProvider to generic providers API 2023-12-14 16:12:22 -08:00
deapexer.go Use the correct bootjars when multiple prebuilt apexes exist 2023-12-20 16:43:01 +00:00
dexpreopt_bootjars_test.go Handle installation rules for co-existing prebuilts 2024-01-11 02:02:59 +00:00
key.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
platform_bootclasspath_test.go Enable hiddenapi check for exportable stubs 2024-01-12 01:03:10 +00:00
prebuilt.go Ensure sscp jars get copied to $OUT/soong/system_server_dexjars 2024-01-24 05:14:40 +00:00
systemserver_classpath_fragment_test.go Handle installation rules for co-existing prebuilts 2024-01-11 02:02:59 +00:00
TEST_MAPPING
testing.go Add allowed-deps tests 2023-04-27 09:56:04 +09:00
vndk.go Soong works with empty VNDK version 2024-01-15 17:31:10 +09:00
vndk_test.go Generate product variants by default 2023-09-27 16:36:40 +09:00