From d350ecd1023ca0352c71d866b3ab4e5de62e8506 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Tue, 28 Apr 2015 13:25:36 -0700 Subject: 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 --- cmd/soong_build/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd') 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) -- cgit v1.2.3