platform_build_soong/android
Cole Faust 9a24d90936 Add more specific partition visibility rules
//visibility:any_system_partition, //visibility:any_vendor_partition,
etc.

Then, if a partition visibility rule is not specificed, but the module
is installed on a non-system partition via the `vendor: true` or other
properties, the visibility rule for that partition will be added by
default.

This is so that "any_partition" doesn't imply that modules could be put
on the vendor partition when they weren't designed for that, and so that
modules that do need to go on the vendor partition don't need to specify
both vendor: true and visibility:any_vendor_partition.

Eventually, the partition properties should be deprecated, and replaced
with just these visibility rules.

Bug: 321000103
Test: go tests
Change-Id: I24dba36bbc20921941f892480bf7c050e93827c6
2024-03-20 10:55:05 -07:00
..
allowlists Remove more bp2build 2024-01-05 09:54:09 -08:00
soongconfig Allow soong config value variables to set nested properties 2024-02-21 11:38:09 -08:00
team_proto Add rule for proto file so we can write python to use it. 2024-01-25 21:10:04 -08:00
aconfig_providers.go Validate aconfig libs are built with the correct modes. 2024-03-07 18:51:16 +00:00
all_teams.go Export teams even when module disabled. 2024-02-13 18:33:22 -08:00
all_teams_test.go Add team property to all modules. 2024-01-18 14:16:06 -08:00
Android.bp Remove starlark_import 2024-03-07 10:53:41 -08:00
android_test.go
androidmk.go Propagate AconfigFiles in ModuleBase. 2024-01-24 23:45:12 +00:00
androidmk_test.go
apex.go Generate info about the selected app variant in platform builds 2024-03-14 18:12:30 +00:00
apex_contributions.go Merge "Add defaults support for apex_contributions module type" into main 2024-03-12 20:35:12 +00:00
apex_test.go
api_domain.go Delete some api_bp2build dead code. 2023-10-05 10:23:58 +00:00
api_levels.go Replace starlark_import with hardcoded map 2024-03-06 15:59:18 -08:00
arch.go Follow signature update to ExtendMatchingProperties 2024-02-02 15:56:32 -08: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 Split ArchMutatorContext out of BaseMutatorContext 2024-01-24 10:17:10 -08:00
arch_test.go
base_module_context.go Make select statements work on path properties 2024-03-14 15:24:09 -07:00
buildinfo_prop.go
config.go Merge "Validate aconfig libs are built with the correct modes." into main 2024-03-14 18:39:12 +00:00
config_bp2build.go Remove more bp2build 2024-01-05 09:54:09 -08:00
config_test.go
configured_jars.go
configured_jars_test.go
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 SymlinkOutputs 2024-01-18 12:43:24 -08:00
depset_generic.go Revert "support sandboxed rust rules" 2023-09-22 22:05:54 +00:00
depset_test.go
deptag.go Validate aconfig libs are built with the correct modes. 2024-03-07 18:51:16 +00:00
deptag_test.go
early_module_context.go Split *ModuleContext out of module.go 2023-11-15 11:40:49 -08:00
expand.go
expand_test.go
filegroup.go Propagate aconfig providers for more modules. 2024-01-10 14:03:30 +00:00
filegroup_test.go Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
fixture.go
fixture_test.go
gen_notice.go
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 Convert OtherModuleProvider to generic providers API 2023-12-14 16:12:22 -08: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
makevars.go Install vintf fragments and init.rc files in Soong 2024-01-02 16:01:56 -08:00
metrics.go Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08:00
module.go Validate aconfig libs are built with the correct modes. 2024-03-07 18:51:16 +00:00
module_context.go Make select statements work on path properties 2024-03-14 15:24:09 -07:00
module_info_json.go Support generating module_info.json in Soong 2024-01-02 16:03:43 -08:00
module_test.go Remove SymlinkOutputs 2024-01-18 12:43:24 -08:00
mutator.go Optimize mutator contexts 2024-02-02 15:56:32 -08: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
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 Remove infrastructure to run bp2build 2023-12-08 13:51:07 -08: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 GatherPackagingSpecsWithFilter 2024-02-08 11:14:43 +09:00
packaging_test.go
path_properties.go Make select statements work on path properties 2024-03-14 15:24:09 -07:00
path_properties_test.go
paths.go Optimize InstallPath.String() 2024-02-02 15:56:32 -08: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 Support partial module variants with apex_contributions 2024-03-04 08:39:20 +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 Ignore prebuilt apex_contributions in coverage builds 2024-02-26 10:07:45 +00: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 Write raw files to disk instead of the ninja file 2023-12-19 16:33:46 -08: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 Convert NewProvider/NewMutatorProvider to generic providers API 2023-12-14 16:12:20 -08:00
sdk_test.go
sdk_version.go Introduce make var ANDROID_PUBLIC_EXPORTABLE_STUBS 2024-02-06 18:51:19 +00:00
sdk_version_test.go
selects_test.go Make select statements work on path properties 2024-03-14 15:24:09 -07:00
singleton.go Add more specific partition visibility rules 2024-03-20 10:55:05 -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 Disable prebuilt apps without an apk later 2024-01-12 17:02:58 -08:00
soong_config_modules_test.go Update TestNonExistentPropertyInSoongConfigModule 2023-10-30 14:42:44 -07:00
team.go Add team property to all modules. 2024-01-18 14:16:06 -08:00
team_test.go Add team property to all modules. 2024-01-18 14:16:06 -08: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 Add android_ravenwood_test build rule 2024-02-08 09:25:35 -08:00
testing.go Propagate AconfigFiles in ModuleBase. 2024-01-24 23:45:12 +00:00
updatable_modules.go
util.go Use ordered interface from cmp package 2024-01-30 14:42:12 -08:00
util_test.go Use ordered interface from cmp package 2024-01-30 14:42:12 -08:00
variable.go Validate aconfig libs are built with the correct modes. 2024-03-07 18:51:16 +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