Add gensrcs module type
gensrcs allows sources to be generated by a specified command.
Change-Id: I725086fcdcd72bfe6c07fb8903e7b520678a247f
diff --git a/Blueprints b/Blueprints
index 3c0755f..9c2c94a 100644
--- a/Blueprints
+++ b/Blueprints
@@ -18,6 +18,7 @@
"soong-cc",
"soong-common",
"soong-config",
+ "soong-genrule",
],
srcs: [
"cmd/soong_build/main.go",
@@ -85,6 +86,7 @@
"blueprint-pathtools",
"soong-common",
"soong-config",
+ "soong-genrule",
],
srcs: [
"cc/builder.go",
@@ -100,6 +102,19 @@
],
}
+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
//