Files
build_soong/android
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-05-19 20:31:32 +00:00
2023-04-17 19:26:07 +00:00
2023-03-22 12:58:38 -07:00
2023-10-18 17:42:59 -07:00
2023-06-22 08:18:33 -07:00
2023-05-19 20:31:32 +00:00
2023-06-22 08:18:33 -07:00
2022-11-02 19:17:30 +00:00
2022-10-25 11:46:01 +02:00
2023-02-13 10:23:36 -08:00
2023-10-17 19:20:55 +00:00
2023-04-10 20:20:41 +00:00
2023-04-10 20:20:41 +00:00
2023-04-26 17:18:19 -07:00
2021-12-13 13:33:15 -05:00
2023-06-22 08:18:33 -07:00
2023-11-02 14:37:21 -07:00
2023-09-22 19:19:22 +00:00
2023-11-02 10:05:55 -07:00
2023-10-16 14:20:00 -07:00
2021-09-23 11:37:57 +01:00
2022-08-03 14:02:33 -07:00
2023-10-16 14:20:00 -07:00
2023-11-02 10:05:55 -07:00
2023-11-08 04:01:38 +00:00
2022-08-03 14:02:33 -07:00