diff options
author | Colin Cross <ccross@android.com> | 2015-04-28 13:25:36 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2015-04-29 14:58:16 -0700 |
commit | d350ecd1023ca0352c71d866b3ab4e5de62e8506 (patch) | |
tree | f3a278fc423a4573955b62811443fefc9990c52f /cmd | |
parent | c3144b155353000907773d058f6498de4cccb6f9 (diff) | |
download | build_soong-d350ecd1023ca0352c71d866b3ab4e5de62e8506.tar.gz build_soong-d350ecd1023ca0352c71d866b3ab4e5de62e8506.tar.bz2 build_soong-d350ecd1023ca0352c71d866b3ab4e5de62e8506.zip |
Add support for genrule
Add genrule, which uses a host executable (possibly built by the
build system) to generate a single source file. This differs slightly
from gensrcs, which takes a list of sources and translates them through
a host executable to individual source files.
Change-Id: I94bda62c4c53fb3f3817def190e6a7561508d297
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/soong_build/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/soong_build/main.go b/cmd/soong_build/main.go index 4bb6a8c9..8f5fae71 100644 --- a/cmd/soong_build/main.go +++ b/cmd/soong_build/main.go @@ -58,6 +58,7 @@ func main() { ctx.RegisterModuleType("cc_test_host", cc.CCTestHostFactory) ctx.RegisterModuleType("gensrcs", genrule.GenSrcsFactory) + ctx.RegisterModuleType("genrule", genrule.GenRuleFactory) ctx.RegisterModuleType("art_cc_library", art.ArtCCLibraryFactory) ctx.RegisterModuleType("art_cc_binary", art.ArtCCBinaryFactory) |