diff options
author | Colin Cross <ccross@android.com> | 2015-03-18 13:28:46 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2015-03-19 10:51:41 -0700 |
commit | 5049f02e6040f38aff9722579fc7cc8c05ff9885 (patch) | |
tree | 5b2a99cc229bfdf5d598536b5b4402979fd3529c /Blueprints | |
parent | 70a255f3c9f9f549740befff8f3ec1974102df5e (diff) | |
download | build_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-- | Blueprints | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 // |