diff options
author | Colin Cross <ccross@android.com> | 2015-12-01 16:31:16 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2015-12-01 16:32:06 -0800 |
commit | 83163192949e3668401c2caa6a866875d49ccd65 (patch) | |
tree | d0293d833f9f3743899ef68234cb66899d4e3492 /common | |
parent | 218f65628efe3d15fe788eeaf2bf7a639daeb0ca (diff) | |
download | build_soong-83163192949e3668401c2caa6a866875d49ccd65.tar.gz build_soong-83163192949e3668401c2caa6a866875d49ccd65.tar.bz2 build_soong-83163192949e3668401c2caa6a866875d49ccd65.zip |
Add unbundled_build product variable
Change-Id: Ieffbc13ae1273200ed4af93e97c3142b707a7cf1
Diffstat (limited to 'common')
-rw-r--r-- | common/variable.go | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/common/variable.go b/common/variable.go index 5b9092f3..2c0e0a6a 100644 --- a/common/variable.go +++ b/common/variable.go @@ -45,7 +45,13 @@ type variableProperties struct { Platform_sdk_version struct { Asflags []string } - } + + // unbundled_build is a catch-all property to annotate modules that don't build in one or + // more unbundled branches, usually due to dependencies missing from the manifest. + Unbundled_build struct { + Enabled *bool `android:"arch_variant"` + } `android:"arch_variant"` + } `android:"arch_variant"` } var zeroProductVariables variableProperties @@ -74,6 +80,8 @@ type productVariables struct { CrossHost *string `json:",omitempty"` CrossHostArch *string `json:",omitempty"` CrossHostSecondaryArch *string `json:",omitempty"` + + Unbundled_build *bool `json:",omitempty"` } func boolPtr(v bool) *bool { |