Use the blueprint plugin infrastructure
Instead of using this hardcoded list, use the blueprint plugin
infrastructure to find them at build time and load them.
Bug: 23567252
Change-Id: Iae87e8c9bf020f4beb42c418b9a6bf8b0fe8b601
diff --git a/Android.bp b/Android.bp
index 404c478..30cbf15 100644
--- a/Android.bp
+++ b/Android.bp
@@ -16,12 +16,8 @@
"blueprint",
"blueprint-bootstrap",
"soong",
- "soong-art",
- "soong-cc",
"soong-common",
"soong-env",
- "soong-genrule",
- "soong-java",
],
srcs: [
"cmd/soong_build/main.go",
@@ -133,6 +129,7 @@
testSrcs: [
"cc/cc_test.go",
],
+ pluginFor: ["soong_build"],
}
bootstrap_go_package {
@@ -147,6 +144,7 @@
srcs: [
"genrule/genrule.go",
],
+ pluginFor: ["soong_build"],
}
bootstrap_go_binary {
@@ -174,6 +172,7 @@
"java/java.go",
"java/resources.go",
],
+ pluginFor: ["soong_build"],
}
//