Support cc_test_host

Support cc_test_host for gtest tests compiled for the host.

Change-Id: I632d2c211075ba9391d934609f1bf368459397e1
This commit is contained in:
Colin Cross
2015-03-26 16:09:47 -07:00
parent 4ae185c7ec
commit 1f8f234c33
4 changed files with 21 additions and 6 deletions

View File

@@ -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)