aboutsummaryrefslogtreecommitdiffstats
path: root/android/config.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-09-18 17:41:52 -0700
committerColin Cross <ccross@android.com>2017-09-20 13:20:45 -0700
commitfc3674a607d246dff0f415f50e35f2e988ecf7bf (patch)
tree05f594880d517f6cefced10b393210b5e5b2a6d4 /android/config.go
parent2acdae88531f9f4b297c488ffbbc1b7419587f9f (diff)
downloadbuild_soong-fc3674a607d246dff0f415f50e35f2e988ecf7bf.tar.gz
build_soong-fc3674a607d246dff0f415f50e35f2e988ecf7bf.tar.bz2
build_soong-fc3674a607d246dff0f415f50e35f2e988ecf7bf.zip
Remove android_prebuilt_sdk modules
Forcing sdk modules to be declared explicitly is unnecessary, just add the required dependencies on the jar and aidl files. Test: java_test.go Change-Id: Ib28bdc1051c5825e7c0efb6adff1f9282675560e
Diffstat (limited to 'android/config.go')
-rw-r--r--android/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/config.go b/android/config.go
index f30a708c..a70fa768 100644
--- a/android/config.go
+++ b/android/config.go
@@ -462,6 +462,10 @@ func (c *config) AllowMissingDependencies() bool {
return Bool(c.ProductVariables.Allow_missing_dependencies)
}
+func (c *config) UnbundledBuild() bool {
+ return Bool(c.ProductVariables.Unbundled_build)
+}
+
func (c *config) DevicePrefer32BitExecutables() bool {
return Bool(c.ProductVariables.DevicePrefer32BitExecutables)
}