platform_build_soong/android
Paul Duffin 12f67bcf42 Adds support for 'ignored-on-host'
Adds a filter mechanism that can exclude property values from being
included in the common value extraction. That is needed to prevent the
snapshot mechanism from generating invalid output for properties that
are ignored on host (and have their values cleared) and which are not
tagged with `android:"arch_variant"`.

Changes:
* Updates the documentation of SdkMemberType to explain what effect
  the 'ignored-on-host' tag has.
* Adds some tests for this new mechanism.

Bug: 155628860
Test: m nothing
Change-Id: I7ebd333079619dba546bc8c4911d567e0287b676
2020-05-07 18:35:11 +01:00
..
soongconfig soong config: add value_variable substitution 2020-03-24 07:15:16 -07:00
android_test.go Share buildDir for android/soong/android tests 2019-06-10 15:51:06 -07:00
androidmk.go mark platform un-availability 2020-04-24 21:40:13 +09:00
androidmk_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
apex.go Introduce min_sdk_version to deps info. 2020-05-04 19:44:28 +01:00
api_levels.go Merge "Apex: support codenames for min_sdk_version" 2020-04-25 04:41:44 +00:00
arch.go Merge "Remove unused mips workarounds." 2020-03-16 21:06:13 +00:00
arch_test.go Do a better job removing tags from arch structs 2020-01-22 18:30:56 -08:00
config.go Use two-column format for PRODUCT_BOOT_JARS components. 2020-04-30 14:42:32 +01:00
config_test.go Fix go vet issues 2018-07-22 21:18:45 -07:00
csuite_config.go Create C-Suite config module 2019-10-18 18:28:00 +00:00
csuite_config_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
defaults.go Add hook to be called after defaults have been applied 2020-05-06 08:55:19 +01:00
defaults_test.go Fix product variables in defaults modules 2020-02-06 17:43:29 -08:00
defs.go Fix RuleBuilder remoteable actions running in the local pool. 2020-03-31 22:18:40 -04:00
env.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
expand.go Fix android.Expand and ninja escaping 2019-07-11 14:52:17 -07:00
expand_test.go Fix android.Expand and ninja escaping 2019-07-11 14:52:17 -07:00
filegroup.go Replace ctx.ExpandSources with android.PathsForModuleSrc 2019-03-20 19:36:13 +00:00
hooks.go Add hook to be called after defaults have been applied 2020-05-06 08:55:19 +01:00
image.go Add ramdisk image. 2020-01-22 16:54:18 -08:00
makevars.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
metrics.go Collect metrics from inside soong_build 2020-02-25 20:50:00 +00:00
module.go Reduce duplication in visibility property management 2020-05-01 18:35:05 +01:00
module_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
mutator.go Add hook to be called after defaults have been applied 2020-05-06 08:55:19 +01:00
mutator_test.go Add FinalDeps mutator phase, where CreateVariations is disallowed. 2020-01-21 11:40:02 +00:00
namespace.go Simplify vendor conditionals 2020-01-24 16:43:40 -08:00
namespace_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
neverallow.go Allow defining neverallow in packages other than android. 2020-04-15 12:06:13 +01:00
neverallow_test.go Allow defining neverallow in packages other than android. 2020-04-15 12:06:13 +01:00
notices.go Make a soong-only copy of generate-notice-files.py 2020-03-03 13:50:53 -08:00
onceper.go Convert droidstubs to android.RuleBuilder 2019-07-18 14:28:14 -07:00
onceper_test.go Prevent hangs in OncePer when the callback panics 2019-05-14 18:40:13 +00:00
override_module.go Rename OverridableModuleBase.properties. 2020-01-10 13:26:00 -08:00
package.go Simplify package by using LoadHook instead of mutators 2020-05-05 20:47:04 +01:00
package_ctx.go Refactor RBE support for Javac/R8/D8 to use the remoteexec package. 2020-04-28 11:37:20 -04:00
package_test.go Simplify package by using LoadHook instead of mutators 2020-05-05 20:47:04 +01:00
path_properties.go Dedup path properties across property structs 2019-07-16 09:52:23 -07:00
path_properties_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
paths.go Add a nice install paths for module SDKs and exports. 2020-03-04 14:20:46 +00:00
paths_test.go Optimize FirstUniqueStrings and FirstUniquePaths 2020-03-02 15:00:15 -08:00
prebuilt.go Ignore PrebuiltDepTag when processing APEX contents 2020-04-08 08:40:44 +01:00
prebuilt_etc.go Add ramdisk image. 2020-01-22 16:54:18 -08:00
prebuilt_etc_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
prebuilt_test.go Exclude source->prebuilt deps from visibility enforcement 2020-01-15 11:17:57 +00:00
proto.go Add method to determine variations from a Target 2019-10-16 14:52:30 -07:00
register.go Add FinalDeps mutator phase, where CreateVariations is disallowed. 2020-01-21 11:40:02 +00:00
rule_builder.go Fix RuleBuilder remoteable actions running in the local pool. 2020-03-31 22:18:40 -04:00
rule_builder_test.go Add support for order-only dependencies to RuleBuilder 2020-02-28 18:16:13 +00:00
sandbox.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
sdk.go Adds support for 'ignored-on-host' 2020-05-07 18:35:11 +01:00
sh_binary.go Make sh_binary a HostToolProvider 2019-12-19 09:22:36 -08:00
sh_binary_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
singleton.go Fix RuleBuilder remoteable actions running in the local pool. 2020-03-31 22:18:40 -04:00
soong_config_modules.go Merge "soong config: add value_variable substitution" 2020-04-09 20:16:08 +00:00
soong_config_modules_test.go soong config: add value_variable substitution 2020-03-24 07:15:16 -07:00
testing.go Enable androidmk processing in sdk testing 2020-03-06 09:45:54 +00:00
util.go Optimize FirstUniqueStrings and FirstUniquePaths 2020-03-02 15:00:15 -08:00
util_test.go Optimize FirstUniqueStrings and FirstUniquePaths 2020-03-02 15:00:15 -08:00
variable.go [soong] Zero and pattern initialization of heap memory. 2020-04-29 15:33:07 -07:00
variable_test.go Fix product variables in defaults modules 2020-02-06 17:43:29 -08:00
visibility.go Report visibility errors in both check and gather phases 2020-05-01 18:35:07 +01:00
visibility_test.go Add hook to be called after defaults have been applied 2020-05-06 08:55:19 +01:00
vts_config.go Rename VTS to VTS10 2020-03-28 16:42:17 -07:00
vts_config_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
writedocs.go Split up Soong build doc. 2019-02-20 15:43:06 -08:00