platform_build_soong/android
Jiyong Park 505221f6e0 ignore apex_available for host variants
The main purpose of apex_available is to prevent a module from being
installed to the system partition (or being statically linked to
something that is installed to the system partition). It's not the goal
to prevent host tools from using the modules.

However, since both host and device variants are not mutated for
platform when the module is not available to platform, the host tools
that depends on those modules couldn't be built. To solve the problem,
the platform variation is NOT skipped for the host variants.

Bug: 128708192
Test: m

Change-Id: I1d662cd6d165581f344138d872329a15bfc43d17
2019-12-16 15:19:13 +09:00
..
android_test.go Share buildDir for android/soong/android tests 2019-06-10 15:51:06 -07:00
androidmk.go AndroidMkEntries() returns multiple AndroidMkEntries structs 2019-12-11 17:25:27 +09:00
androidmk_test.go Make TestContext.RegisterModuleType take an android.ModuleFactory 2019-11-25 10:59:44 -08:00
apex.go ignore apex_available for host variants 2019-12-16 15:19:13 +09:00
api_levels.go Merge changes I9f8df94f,I2d7f5c56,I0ebb7381,Ieefcfc1a am: a6bf56d4be 2019-06-10 10:00:33 -07:00
arch.go Split out osMutator from archMutator 2019-10-16 15:27:23 -07:00
arch_test.go Make TestContext.RegisterModuleType take an android.ModuleFactory 2019-11-25 10:59:44 -08:00
config.go Merge "Install flattened/unflattend apexes for GSI" 2019-12-13 21:10:56 +00: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 Make TestContext.RegisterModuleType take an android.ModuleFactory 2019-11-25 10:59:44 -08:00
defaults.go apex_available is defaultable 2019-12-02 13:48:33 +09:00
defaults_test.go Make TestContext.RegisterModuleType take an android.ModuleFactory 2019-11-25 10:59:44 -08:00
defs.go Fix package path of android/soong/android pctx 2019-04-10 16:49:27 -07:00
env.go Allow debugging with SOONG_DELVE=<listen addr> 2019-07-03 16:33:31 -07: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 Separate InstallPath from OutputPath 2019-10-03 10:07:53 -07:00
image.go Move ImageMutator after archMutator 2019-12-06 12:37:14 -08:00
makevars.go Add GlobWithDeps to MakeVarsContext 2019-11-04 10:27:48 -08:00
module.go Add support for host sdk 2019-12-02 12:59:38 +00:00
module_test.go Make TestContext.RegisterModuleType take an android.ModuleFactory 2019-11-25 10:59:44 -08:00
mutator.go Ensure prebuilt modules have same visibility as source modules 2019-12-09 13:32:28 +00:00
mutator_test.go Make TestContext.RegisterModuleType take an android.ModuleFactory 2019-11-25 10:59:44 -08:00
namespace.go Give Blueprint modules access to all namespaces 2019-06-14 11:26:09 -07:00
namespace_test.go Make TestContext.RegisterModuleType take an android.ModuleFactory 2019-11-25 10:59:44 -08:00
neverallow.go Update paths for libnative{bridge,loader} 2019-11-06 13:39:46 +00:00
neverallow_test.go Make TestContext.RegisterModuleType take an android.ModuleFactory 2019-11-25 10:59:44 -08:00
notices.go Separate InstallPath from OutputPath 2019-10-03 10:07:53 -07: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 Overridden APEX doesn't contribute to the file contexts 2019-12-05 13:25:39 +09:00
package.go Ensure prebuilt modules have same visibility as source modules 2019-12-09 13:32:28 +00:00
package_ctx.go Move/dedupe some host path functions in package_ctx.go. 2019-12-09 22:04:21 +00:00
package_test.go Ensure prebuilt modules have same visibility as source modules 2019-12-09 13:32:28 +00:00
path_properties.go Dedup path properties across property structs 2019-07-16 09:52:23 -07:00
path_properties_test.go Make TestContext.RegisterModuleType take an android.ModuleFactory 2019-11-25 10:59:44 -08:00
paths.go Improve handling of generated include dirs 2019-12-13 09:59:48 +00:00
paths_test.go Make TestContext.RegisterModuleType take an android.ModuleFactory 2019-11-25 10:59:44 -08:00
prebuilt.go Merge "Delete prebuilt APEXes when installing source-built APEXes" am: a822256e15 2019-07-31 00:50:07 -07:00
prebuilt_etc.go AndroidMkEntries() returns multiple AndroidMkEntries structs 2019-12-11 17:25:27 +09:00
prebuilt_etc_test.go AndroidMkEntries() returns multiple AndroidMkEntries structs 2019-12-11 17:25:27 +09:00
prebuilt_test.go Make TestContext.RegisterModuleType take an android.ModuleFactory 2019-11-25 10:59:44 -08:00
proto.go Add method to determine variations from a Target 2019-10-16 14:52:30 -07:00
register.go Support testing Rules in Modules and Rules and Builds in Singletons 2019-03-05 03:17:26 +00:00
rule_builder.go Rewrite depfile from sbox to stay reproducible 2019-08-29 14:47:40 -07:00
rule_builder_test.go Make TestContext.RegisterModuleType take an android.ModuleFactory 2019-11-25 10:59:44 -08:00
sdk.go Decouple addition of new sdk member types from sdk code 2019-12-13 20:07:33 +00:00
sh_binary.go AndroidMkEntries() returns multiple AndroidMkEntries structs 2019-12-11 17:25:27 +09:00
sh_binary_test.go AndroidMkEntries() returns multiple AndroidMkEntries structs 2019-12-11 17:25:27 +09:00
singleton.go Run non-RBE supported actions in the local pool when USE_RBE is set. 2019-11-05 22:57:35 +00:00
testing.go AndroidMkEntries() returns multiple AndroidMkEntries structs 2019-12-11 17:25:27 +09:00
util.go Merge "Soong generates vndk-related .libraries.txt files" 2019-11-01 01:57:50 +00:00
util_test.go Move sharding functions for reuse 2019-09-29 23:26:37 -07:00
variable.go Install flattened/unflattend apexes for GSI 2019-12-06 09:52:19 +09:00
variable_test.go Make TestContext.RegisterModuleType take an android.ModuleFactory 2019-11-25 10:59:44 -08:00
visibility.go Ensure prebuilt modules have same visibility as source modules 2019-12-09 13:32:28 +00:00
visibility_test.go Ensure prebuilt modules have same visibility as source modules 2019-12-09 13:32:28 +00:00
vts_config.go Create C-Suite config module 2019-10-18 18:28:00 +00:00
vts_config_test.go Make TestContext.RegisterModuleType take an android.ModuleFactory 2019-11-25 10:59:44 -08:00
writedocs.go Split up Soong build doc. 2019-02-20 15:43:06 -08:00