platform_build_soong/android
Spandan Das a866713ddb Handle missing apex_contributions
Some minimal branches have v/g_s/build/release (where apex_contibutions
have been set to mainline prebuilts), but not v/g/b (where the apex_contributions
for prebuilts have been defined). These minimal branches are unsuitable
for building a product that consume mainline prebuilts, but they would
still like to do aosp product builds.

aosp products should not use the mainline prebuilts anyways, but this
has been implemented as
- always create the dependency edge to the selected apex contributions
- do not visit the dependency edge subsequently if
  IgnoreApexContributions is set set to true

To support aosp product builds in minimal branches, this CL updates the
implementation to skip creating the dependency edge when
IgnoreApexContributions is set to true

Test: go test ./android
Change-Id: Iaa0971760e64f9b7a03542f179231ce2268b6616
2024-05-30 16:51:51 +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 Handle missing apex_contributions 2024-05-30 16:51:51 +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 Add an apex_contributions_defaults module to module sdk 2024-03-20 21:41:57 +00:00
arch.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
arch_list.go Replace goldmont-without-xsaves build with goldmont-without-sha-xsaves 2024-01-24 16:27:56 +09: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 Reland "Migrate buildinfo.sh script into Soong" 2024-03-27 14:18:45 +09:00
config.go Remove VndkUseCoreVariant related code from build 2024-05-24 10:45:28 +09: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 Make the enabled property configurable 2024-05-02 15:41:24 -07:00
gen_notice_test.go
hooks.go
image.go
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 Required deps don't track native bridge architectures 2024-05-28 14:29:22 +09:00
module_context.go Filter-out deps of unsupported arch 2024-05-14 21:56:42 +09: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 Add name hint to Soong. 2023-04-10 20:20:41 +00:00
namespace_test.go Add name hint to Soong. 2023-04-10 20:20:41 +00:00
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 Make the enabled property configurable 2024-05-02 15:41:24 -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 Merge "Revert^2 "Remove compilation actions from java sdk library"" into main 2024-05-08 22:28:05 +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 Make the enabled property configurable 2024-05-02 15:41:24 -07: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 parse error 2024-05-22 17:01:59 -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 Revert "Revert "Limit System SDK to 34 for Java modules in the v..." 2024-01-04 23:20:42 +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 Merge "Revert^2 "Remove compilation actions from java sdk library"" into main 2024-05-08 22:28:05 +00:00
updatable_modules.go DO NOT MERGE Increasing the dev branch default module version 2023-06-27 16:29:31 +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 Allow required property be conditional for release_aidl_use_unfrozen 2024-05-27 02:35:49 +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