platform_build_soong/apex
Spandan Das 56866c5c6d Hide unflagged mainline prebuilts with missing source.
Partner worksapces contain two versions of mainline prebuilts - BigAndroid
and Go. These two prebuilts export dexpreopt'd system server artifacts
to be installed in system image. Since the install paths are same, we
run into duplicate installation rules issue unless one of them is
hidden.

This hiding was previously done by creating a dependendency between
source aosp apex to BA and Go google prebuilts. However, this
implementaion had the unfortunate side effect on the packaging name of
the Google mainline prebuilts - the name becomes the aosp apex name.

Instead of creating the dependency to aosp apex, this CL hides all
mainline apex_set(s) if it has not been flagged using
RELEASE_APEX_CONTRIBUTIONS_*. Since there are some non mainline apex
prebuilts, apex_name will be used to determine whether the prebuilt is a
mainline module.

Test: m nothing --no-skip-soong-tests
Test: In partner workspaces, downloaded the CLs in b/355682304#comment7
Test: m out/target/product/generic/obj/PACKAGING/system_intermediates/file_list.txt
verified that aosp apexes are not installed, but mainline prebuilts are
installed

Test: unset RELEASE_APEX_CONTRIBUTIONS_ADSERVICES to build from source
Test: m out/target/product/generic/obj/PACKAGING/system_intermediates/file_list.txt
verified that aosp adservices is installed, and adservices prebuilt is
**not* installed.

Bug: 355682304
(cherry picked from https://android-review.googlesource.com/q/commit:85bd4625edc95c6e030acf4b4289724ff39e1d6e)
Merged-In: Idacb65313553bdea5c0593976694de478034229e
Change-Id: Idacb65313553bdea5c0593976694de478034229e
2024-08-06 22:35:28 +00:00
..
aconfig_test.go Soong: remove obsolete proto lib from unit test 2024-05-23 11:43:42 +00:00
Android.bp Remove VNDK information from CC and APEX tests 2024-03-28 15:15:01 +09:00
androidmk.go Propagate AconfigFiles in ModuleBase. 2024-01-24 23:45:12 +00:00
apex.go Merge "Call PackageFile for dexpreopt files of APEX bundles." into main am: 9034af498e 2024-06-13 21:49:51 +00:00
apex_sdk_member.go Add apexes property to sdk 2022-07-06 15:58:43 +00:00
apex_singleton.go Generate info about the selected app variant in platform builds 2024-03-14 18:12:30 +00:00
apex_test.go Hide unflagged mainline prebuilts with missing source. 2024-08-06 22:35:28 +00:00
bootclasspath_fragment_test.go Hide unflagged mainline prebuilts with missing source. 2024-08-06 22:35:28 +00:00
builder.go Remove Device VNDK version usage from Soong 2024-04-05 01:57:32 +00:00
classpath_element_test.go Convert OtherModuleProvider to generic providers API 2023-12-14 16:12:22 -08:00
deapexer.go Propagate profile_guided requirement of imports to top-level apex 2024-01-30 18:04:52 +00:00
dexpreopt_bootjars_test.go Determine GC type based on BUILT_KERNEL_VERSION_FILE. 2024-02-02 09:23:37 +08:00
key.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
platform_bootclasspath_test.go Restrict validateApexClasspathFragments to active apex prebuilts 2024-05-21 18:59:23 +00:00
prebuilt.go Do not rename prebuilt apexes for product packaging 2024-08-06 22:35:13 +00:00
systemserver_classpath_fragment_test.go Hide unflagged mainline prebuilts with missing source. 2024-08-06 22:35:28 +00:00
TEST_MAPPING
testing.go Add allowed-deps tests 2023-04-27 09:56:04 +09:00
vndk.go Remove PlatformVndkVersion property 2024-04-01 16:37:20 +09:00