platform_build_soong/android
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
..
allowlists Remove more bp2build 2024-01-05 09:54:09 -08:00
soongconfig Support soong config value variables on Configurable properties 2024-05-22 14:34:47 -07:00
team_proto Add test-only and test-target fields to all_teams proto. 2024-04-09 16:36:29 -07:00
aconfig_providers.go Soong filesystem may install aconfig_flags.pb 2024-05-13 23:14:42 +00:00
all_teams.go Prefer variants test-only:true attribute when grouping. 2024-04-18 15:56:54 -07:00
all_teams_test.go Prefer variants test-only:true attribute when grouping. 2024-04-18 15:56:54 -07:00
Android.bp Merge "Make the enabled property configurable" into main 2024-05-07 17:49:10 +00:00
android_test.go
androidmk.go Merge "Make the enabled property configurable" into main 2024-05-07 17:49:10 +00:00
androidmk_test.go
apex.go Propagate DirectlyInAnyApex to transitive dependencies 2024-05-23 22:40:35 +00:00
apex_contributions.go Hide unflagged mainline prebuilts with missing source. 2024-08-06 22:35:28 +00:00
apex_test.go Remove sort from mergeApexVariations 2024-04-16 14:09:36 -07:00
api_domain.go Delete some api_bp2build dead code. 2023-10-05 10:23:58 +00:00
api_levels.go Merge "Remove exportable modules when generating snapshots targeting older platform" into main am: 0030148fcb am: 871393aa37 2024-06-10 21:30:51 +00:00
arch.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
arch_list.go Add oryon to arm64 cpu variants 2024-07-12 03:44:11 +00:00
arch_module_context.go Add the ability to select on arch 2024-03-25 17:18:08 -07:00
arch_test.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
base_module_context.go Merge "Revert^2 "Remove compilation actions from java sdk library"" into main 2024-05-08 22:28:05 +00:00
buildinfo_prop.go Make buildinfo_prop a regular module 2024-06-06 14:49:23 -07:00
config.go Hide unflagged mainline prebuilts with missing source. 2024-08-06 22:35:28 +00:00
config_test.go Platform mapping-based product config 2023-07-17 16:27:08 -07:00
configurable_properties.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
configured_jars.go Add a Make variable that overrides configured jar locations. 2023-07-14 12:13:30 +01:00
configured_jars_test.go Platform mapping-based product config 2023-07-17 16:27:08 -07:00
csuite_config.go
csuite_config_test.go
deapexer.go Propagate profile_guided requirement of imports to top-level apex 2024-01-30 18:04:52 +00:00
defaults.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
defaults_test.go Prevent defaults modules from expanding path property dependencies 2024-01-29 21:21:30 +00:00
defs.go Remove unused writeFile var 2024-04-10 13:21:28 +01:00
depset_generic.go Revert "support sandboxed rust rules" 2023-09-22 22:05:54 +00:00
depset_test.go Use generics for DepSets 2023-06-22 08:18:33 -07:00
deptag.go Revert "Add SkipToTransitiveDepsTag interface for dependency tags" 2024-05-15 03:32:23 +09:00
deptag_test.go
early_module_context.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
expand.go
expand_test.go
filegroup.go Convert some properties to Configurable properties 2024-05-22 13:33:42 -07:00
filegroup_test.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
fixture.go Add unit test for parsing build files in bp2build 2023-09-14 19:19:28 +00:00
fixture_test.go
gen_notice.go Use OutputFilesProvider on gen_notice 2024-06-06 15:20:42 -07:00
gen_notice_test.go
hooks.go
image.go Cleanup ImageInterface.SetImageVariation 2024-06-13 21:56:23 +00:00
license.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
license_kind.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
license_kind_test.go
license_metadata.go Merge "Make the enabled property configurable" into main 2024-05-07 17:49:10 +00:00
license_sdk_member.go
license_test.go
licenses.go Convert SetProvider to generic providers API 2023-12-14 16:12:20 -08:00
licenses_test.go
logtags.go Merge logtags from cc modules too 2024-04-29 17:40:40 +09:00
makevars.go Restrict visibility of EXTRA_INSTALL_ZIPS 2024-05-15 15:44:21 -07:00
metrics.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
module.go Use OutputFilesProvider on bpf 2024-06-04 22:09:13 -07:00
module_context.go Initialize TaggedOutputFiles before updating it 2024-06-06 11:31:51 -07:00
module_info_json.go Dump the required modules into module-info.json 2024-05-20 18:40:09 +02:00
module_test.go Remove SymlinkOutputs 2024-01-18 12:43:24 -08:00
mutator.go Merge "Make the enabled property configurable" into main 2024-05-07 17:49:10 +00:00
mutator_test.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
namespace.go
namespace_test.go
neverallow.go Remove more bp2build 2024-01-05 09:54:09 -08:00
neverallow_test.go java_library support for building headers-only 2023-08-22 21:29:05 +00:00
ninja_deps.go Remove starlark_import 2024-03-07 10:53:41 -08:00
ninja_deps_test.go
notices.go
onceper.go
onceper_test.go
override_module.go Override modules should always override source modules 2024-05-29 00:06:32 +00:00
package.go Add team property to all modules. 2024-01-18 14:16:06 -08:00
package_ctx.go
package_test.go
packaging.go Add multilib.prefer32.deps to packaging base 2024-05-20 16:47:44 +09:00
packaging_test.go Remove printf in tests 2024-05-21 11:22:29 -07:00
path_properties.go Rename Evaluate() to Get() and add GetDefault() 2024-04-04 15:09:18 -07:00
path_properties_test.go
paths.go Use OutputFilesProvider on bpf 2024-06-04 22:09:13 -07:00
paths_test.go Split ArchMutatorContext out of BaseMutatorContext 2024-01-24 10:17:10 -08:00
phony.go
plugin.go Remove google_clockwork list of soong plugins 2023-11-27 12:29:55 -08:00
prebuilt.go Hide unflagged mainline prebuilts with missing source. 2024-08-06 22:35:28 +00:00
prebuilt_build_tool.go Revert^4 "add rust_toolchain_rustc_prebuilt module type" 2023-09-25 12:13:17 +00:00
prebuilt_test.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
proto.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
provider.go Reland "Remove non-generic provider APIs" 2023-12-22 00:06:05 +00:00
raw_files.go Write raw files to disk instead of the ninja file 2023-12-19 16:33:46 -08:00
register.go Drop IncludeTags 2024-05-22 19:23:47 +00:00
rule_builder.go Allow specifying sub-dir in sbox output 2024-02-08 23:58:04 +00:00
rule_builder_test.go Remove SymlinkOutputs 2024-01-18 12:43:24 -08:00
sandbox.go
sdk.go Reland "Migrate buildinfo.sh script into Soong" 2024-03-27 14:18:45 +09:00
sdk_test.go
sdk_version.go Correct the order of the SdkKinds 2024-05-04 00:06:59 +00:00
sdk_version_test.go Platform mapping-based product config 2023-07-17 16:27:08 -07:00
selects_test.go Add test for AppendSimpleValue 2024-06-13 15:35:17 -07:00
shared_properties.go Add test-only and test-target fields to all_teams proto. 2024-04-09 16:36:29 -07:00
singleton.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
singleton_module.go
singleton_module_test.go Disable TestVariantSingletonModule when go test -short is used 2024-01-18 13:23:06 -08:00
soong_config_modules.go Add support to Soong config list variable 2024-04-22 14:51:07 +09:00
soong_config_modules_test.go Update TestNonExistentPropertyInSoongConfigModule 2023-10-30 14:42:44 -07:00
team.go Add test-only and test-target fields to all_teams proto. 2024-04-09 16:36:29 -07:00
team_test.go Add test-only and test-target fields to all_teams proto. 2024-04-09 16:36:29 -07:00
test_asserts.go use message in android.AssertStringMatches() 2023-10-04 20:19:54 +00:00
test_config.go Shipping_api_level in build. 2024-06-04 23:08:20 +00:00
test_suites.go Generate test lists for Ravenwood and Robolectric tests 2024-04-19 23:10:35 +00:00
test_suites_test.go Generate test lists for Ravenwood and Robolectric tests 2024-04-19 23:10:35 +00:00
testing.go Add another way for TestingModule to get its output files 2024-06-14 11:09:54 -07:00
updatable_modules.go Change default version code for Mainline modules building from source to start with 3520 2024-06-05 19:22:21 +00:00
util.go Write ninja file in parallel. 2024-05-20 20:28:44 +00:00
util_test.go Use ordered interface from cmp package 2024-01-30 14:42:12 -08:00
variable.go Merge "Drop IncludeTags" into main am: 211fdd6618 2024-06-06 22:16:18 +00:00
variable_test.go
visibility.go Add more specific partition visibility rules 2024-03-20 10:55:05 -07:00
visibility_test.go Add more specific partition visibility rules 2024-03-20 10:55:05 -07:00