aboutsummaryrefslogtreecommitdiffstats
path: root/Blueprints
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-03-18 13:28:46 -0700
committerColin Cross <ccross@android.com>2015-03-19 10:51:41 -0700
commit5049f02e6040f38aff9722579fc7cc8c05ff9885 (patch)
tree5b2a99cc229bfdf5d598536b5b4402979fd3529c /Blueprints
parent70a255f3c9f9f549740befff8f3ec1974102df5e (diff)
downloadbuild_soong-5049f02e6040f38aff9722579fc7cc8c05ff9885.tar.gz
build_soong-5049f02e6040f38aff9722579fc7cc8c05ff9885.tar.bz2
build_soong-5049f02e6040f38aff9722579fc7cc8c05ff9885.zip
Add gensrcs module type
gensrcs allows sources to be generated by a specified command. Change-Id: I725086fcdcd72bfe6c07fb8903e7b520678a247f
Diffstat (limited to 'Blueprints')
-rw-r--r--Blueprints15
1 files changed, 15 insertions, 0 deletions
diff --git a/Blueprints b/Blueprints
index 3c0755f2..9c2c94aa 100644
--- a/Blueprints
+++ b/Blueprints
@@ -18,6 +18,7 @@ bootstrap_go_binary {
"soong-cc",
"soong-common",
"soong-config",
+ "soong-genrule",
],
srcs: [
"cmd/soong_build/main.go",
@@ -85,6 +86,7 @@ bootstrap_go_package {
"blueprint-pathtools",
"soong-common",
"soong-config",
+ "soong-genrule",
],
srcs: [
"cc/builder.go",
@@ -100,6 +102,19 @@ bootstrap_go_package {
],
}
+bootstrap_go_package {
+ name: "soong-genrule",
+ pkgPath: "android/soong/genrule",
+ deps: [
+ "blueprint",
+ "blueprint-pathtools",
+ "soong-common",
+ "soong-config",
+ ],
+ srcs: [
+ "genrule/genrule.go",
+ ],
+}
//
// androidmk Android.mk to Blueprints translator
//