aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/soong_build
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-05-07 15:44:20 -0700
committerColin Cross <ccross@android.com>2015-05-07 16:09:34 -0700
commit2ba19d90c30046f57c8e3f34a7f7fdc5df2bd5bf (patch)
tree6af7b7b5c0b31bc197bca4868d534ed7697817a1 /cmd/soong_build
parent0af4b8468b881a009e147cea63e3da76578530a7 (diff)
downloadbuild_soong-2ba19d90c30046f57c8e3f34a7f7fdc5df2bd5bf.tar.gz
build_soong-2ba19d90c30046f57c8e3f34a7f7fdc5df2bd5bf.tar.bz2
build_soong-2ba19d90c30046f57c8e3f34a7f7fdc5df2bd5bf.zip
Add cc_benchmark module type
Change-Id: I83bed375fa77518baaab4260e714a9368761f0bc
Diffstat (limited to 'cmd/soong_build')
-rw-r--r--cmd/soong_build/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/soong_build/main.go b/cmd/soong_build/main.go
index 8f5fae71..f8c32cbf 100644
--- a/cmd/soong_build/main.go
+++ b/cmd/soong_build/main.go
@@ -45,6 +45,7 @@ func main() {
ctx.RegisterModuleType("cc_object", cc.CCObjectFactory)
ctx.RegisterModuleType("cc_binary", cc.CCBinaryFactory)
ctx.RegisterModuleType("cc_test", cc.CCTestFactory)
+ ctx.RegisterModuleType("cc_benchmark", cc.CCBenchmarkFactory)
ctx.RegisterModuleType("toolchain_library", cc.ToolchainLibraryFactory)
ctx.RegisterModuleType("ndk_prebuilt_library", cc.NdkPrebuiltLibraryFactory)
@@ -56,6 +57,7 @@ func main() {
ctx.RegisterModuleType("cc_library_host_shared", cc.CCLibraryHostSharedFactory)
ctx.RegisterModuleType("cc_binary_host", cc.CCBinaryHostFactory)
ctx.RegisterModuleType("cc_test_host", cc.CCTestHostFactory)
+ ctx.RegisterModuleType("cc_benchmark_host", cc.CCBenchmarkHostFactory)
ctx.RegisterModuleType("gensrcs", genrule.GenSrcsFactory)
ctx.RegisterModuleType("genrule", genrule.GenRuleFactory)