aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/soong_build
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-03-24 11:16:06 -0700
committerColin Cross <ccross@android.com>2015-03-25 13:49:24 -0700
commit82df943c5ae6214206875dd38af77ac54e780cfb (patch)
tree52a16e5a7ce02110afab07803f04997a1b888b47 /cmd/soong_build
parent21b9a2497a367be5b72620c01c7ff844999a8f5d (diff)
downloadbuild_soong-82df943c5ae6214206875dd38af77ac54e780cfb.tar.gz
build_soong-82df943c5ae6214206875dd38af77ac54e780cfb.tar.bz2
build_soong-82df943c5ae6214206875dd38af77ac54e780cfb.zip
Add art_cc_library module type
Change-Id: I7aba376b755f3ce431f7b2f555a85a0ef5323453
Diffstat (limited to 'cmd/soong_build')
-rw-r--r--cmd/soong_build/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/soong_build/main.go b/cmd/soong_build/main.go
index 6b7bcf11..b84b804c 100644
--- a/cmd/soong_build/main.go
+++ b/cmd/soong_build/main.go
@@ -23,6 +23,7 @@ import (
"github.com/google/blueprint"
"github.com/google/blueprint/bootstrap"
+ "android/soong/art"
"android/soong/cc"
"android/soong/common"
"android/soong/config"
@@ -53,6 +54,9 @@ func main() {
ctx.RegisterModuleType("gensrcs", genrule.GenSrcsFactory)
+ ctx.RegisterModuleType("art_cc_library", art.ArtCCLibraryFactory)
+ ctx.RegisterModuleType("art_cc_binary", art.ArtCCBinaryFactory)
+
// Mutators
ctx.RegisterEarlyMutator("arch", common.ArchMutator)
ctx.RegisterEarlyMutator("link", cc.LinkageMutator)