Files
build_soong/java
Spandan Das fc12d2f494 Special-case java_sdk_library in source vs prebuilt selection
If a java_sdk_library is listed in `contents`, then restrict the source
vs prebuilt selection superseding to only the internal stub libraries.

Defer the source vs prebuilt selection mechanism of the top-level
library to the existing mechanisms for now. This is necessary because
this top-level library acts as a hook for
- hiddenapi: boot jars are deapxed from the prebuilt apex
- dexpreopt: system server jars are deapexed from the prebuilt apex and
  installed via required

If `next` uses `framework-foo` and `service-foo` as the top-level
library instead of the prebuilt equivalents, then the bootjars installed
in out/soong/dexpreopt_x86_64/apex_bootjars will come from source. And
the *.odex files of the system server jars will come from source.

Bug: 308174768
Test: Added a java_sdk_library unit test to assert that the new
mechanism supersedes the `prefer` flag

Change-Id: Ib43198a3b547c58b54f1f0966e95584215096d32
2023-11-08 18:37:24 +00:00
..
2023-11-02 01:02:40 +00:00
2023-03-21 08:13:25 -07:00
2023-10-27 22:48:13 +00:00
2023-10-18 17:42:59 -07:00
2023-10-18 17:42:59 -07:00
2022-08-17 10:43:13 -07:00
2023-05-19 20:31:32 +00:00
2023-01-20 17:05:14 -05:00
2023-09-20 09:53:39 -07:00
2023-09-29 10:24:13 +10:00