aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-03-26 16:09:47 -0700
committerColin Cross <ccross@android.com>2015-03-27 15:58:24 -0700
commit1f8f234c336bac2f6a0bf3bf935accbc3c28491e (patch)
tree6477d149fd5b4375ad756633676d50af5818e4f7 /cmd
parent4ae185c7ecf40ac0da03b884d9f6c0a19d53a332 (diff)
downloadbuild_soong-1f8f234c336bac2f6a0bf3bf935accbc3c28491e.tar.gz
build_soong-1f8f234c336bac2f6a0bf3bf935accbc3c28491e.tar.bz2
build_soong-1f8f234c336bac2f6a0bf3bf935accbc3c28491e.zip
Support cc_test_host
Support cc_test_host for gtest tests compiled for the host. Change-Id: I632d2c211075ba9391d934609f1bf368459397e1
Diffstat (limited to 'cmd')
-rw-r--r--cmd/soong_build/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/soong_build/main.go b/cmd/soong_build/main.go
index c1f8243a..23bcb561 100644
--- a/cmd/soong_build/main.go
+++ b/cmd/soong_build/main.go
@@ -54,6 +54,7 @@ func main() {
ctx.RegisterModuleType("cc_library_host_static", cc.CCLibraryHostStaticFactory)
ctx.RegisterModuleType("cc_library_host_shared", cc.CCLibraryHostSharedFactory)
ctx.RegisterModuleType("cc_binary_host", cc.CCBinaryHostFactory)
+ ctx.RegisterModuleType("cc_test_host", cc.CCTestHostFactory)
ctx.RegisterModuleType("gensrcs", genrule.GenSrcsFactory)