aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-11-22 16:03:51 -0800
committerColin Cross <ccross@android.com>2020-01-24 16:43:40 -0800
commit9d34f358158becf922486eef274ffbf7e3fef9d9 (patch)
tree7acdcf963d43292a73e7436949345a696d7da917 /Android.bp
parentf0f747c9492fd4e064abb22dde1de1475cc672db (diff)
Simplify vendor conditionals
Support vendor conditionals with no Go code. Test: TestSoongConfigModule Change-Id: I42546e7f17324921ada80f4d8e1cd399830f8dfc
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp17
1 files changed, 17 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index c4c958c84..562b1c8b1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -36,6 +36,7 @@ bootstrap_go_package {
"blueprint",
"blueprint-bootstrap",
"soong",
+ "soong-android-soongconfig",
"soong-env",
"soong-shared",
],
@@ -73,6 +74,7 @@ bootstrap_go_package {
"android/sdk.go",
"android/sh_binary.go",
"android/singleton.go",
+ "android/soong_config_modules.go",
"android/testing.go",
"android/util.go",
"android/variable.go",
@@ -101,6 +103,7 @@ bootstrap_go_package {
"android/prebuilt_test.go",
"android/prebuilt_etc_test.go",
"android/rule_builder_test.go",
+ "android/soong_config_modules_test.go",
"android/util_test.go",
"android/variable_test.go",
"android/visibility_test.go",
@@ -109,6 +112,20 @@ bootstrap_go_package {
}
bootstrap_go_package {
+ name: "soong-android-soongconfig",
+ pkgPath: "android/soong/android/soongconfig",
+ deps: [
+ "blueprint",
+ "blueprint-parser",
+ "blueprint-proptools",
+ ],
+ srcs: [
+ "android/soongconfig/config.go",
+ "android/soongconfig/modules.go",
+ ],
+}
+
+bootstrap_go_package {
name: "soong-cc-config",
pkgPath: "android/soong/cc/config",
deps: [