platform_build_soong/common
Colin Cross 28d76590f1 Use ContainsProperty to support default values
Instead of setting a string property to magic default value and then
checking for it later, call ctx.ContainsProperty to determine if it
was set.  Use the same method on the clang bool property, which
couldn't be set to a magic value.

blueprint's ModuleContext.ContainsProperty only works on a single
property, not on all arch variant properties -
ModuleContext.ContainsProperty("clang") will return false if
clang was not set but arch.arm.clang was set - so track which
properties were extended inside extendProperties, and override
ModuleContext.ContainsProperty in AndroidModuleContext to also
check the extended properties.

Change-Id: I03cbe71dc69344972e23d6c794da9be05e720c45
2015-03-27 17:54:50 -07:00
..
arch.go Use ContainsProperty to support default values 2015-03-27 17:54:50 -07:00
checkbuild.go Update import paths for changes to blueprint 2015-03-23 12:57:34 -07:00
defs.go Update import paths for changes to blueprint 2015-03-23 12:57:34 -07:00
env.go Support dependencies on environment variables 2015-03-26 14:13:49 -07:00
glob.go Update import paths for changes to blueprint 2015-03-23 12:57:34 -07:00
module.go Use ContainsProperty to support default values 2015-03-27 17:54:50 -07:00
paths.go Support dependencies on environment variables 2015-03-26 14:13:49 -07:00