platform_build_soong/android
Colin Cross a2f296f054 Fall back to prebuilts if source modules are disabled
In lieu of having an environment variable to override prebuilts
preferences (for now), fall back to prebuilts whenever the source
module is disabled.  Complicated source modules (like LLVM) that
already have Go logic can then use an environment variariable to
disable their source module whenever they want to use prebuilts.

Computes UsePrebuilt once using information from both the source
and prebuilt modules, and stores the result in the prebuilt module.

Test: m -j libLLVM
Test: m -j libLLVM FORCE_BUILD_LLVM_COMPONENTS=true
Change-Id: Ib0819a03e9492e55f55de3402e05b3a043644a39
2016-11-30 13:09:45 -08:00
..
androidmk.go Don't generate Android.mk data if the module is disabled 2016-11-29 15:29:34 -08:00
arch.go Add LinuxBionic OsType 2016-11-17 01:49:50 -08:00
config.go Provide config helpers for environment variables 2016-11-29 15:29:34 -08:00
defaults.go Add a Name property 2016-10-12 17:24:49 -07:00
defs.go Add a "license" property to ndk_headers. 2016-10-20 13:30:07 -07:00
env.go Move registration into android package 2016-10-12 14:30:44 -07:00
expand.go genrule: expand $$ to $$ 2016-11-22 15:41:08 -08:00
expand_test.go genrule: expand $$ to $$ 2016-11-22 15:41:08 -08:00
hooks.go Replace PropertyCustomizer with hooks 2016-09-13 17:37:32 -07:00
makevars.go Move registration into android package 2016-10-12 14:30:44 -07:00
module.go Fall back to prebuilts if source modules are disabled 2016-11-30 13:09:45 -08:00
mutator.go Fall back to prebuilts if source modules are disabled 2016-11-30 13:09:45 -08:00
onceper.go Add DeviceConfig and OncePer objects 2016-08-17 16:39:06 -07:00
package_ctx.go Enable goma in soong 2016-08-31 09:48:08 -07:00
paths.go Move globbing to Blueprint 2016-11-04 04:54:16 +00:00
paths_test.go Rename common to android 2016-05-18 15:37:25 -07:00
prebuilt.go Fall back to prebuilts if source modules are disabled 2016-11-30 13:09:45 -08:00
prebuilt_test.go Re-enable prebuilt_test 2016-10-14 17:07:49 -07:00
register.go Only register mutators once 2016-10-13 14:23:17 -07:00
util.go Move globbing to Blueprint 2016-11-04 04:54:16 +00:00
variable.go Add basic VNDK support in Soong 2016-11-28 13:45:24 -08:00