aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-06-16 16:38:17 -0700
committerColin Cross <ccross@android.com>2015-06-17 10:18:35 -0700
commit1f8c52be73d31f3347bcf7f8fb29b49e87b3864e (patch)
tree23616e741990bb453c70fa2168dc31c9f690aa4a /cmd
parent6a745c6ad0ff590e1175cd76b81ca3fef2ec0731 (diff)
downloadbuild_soong-1f8c52be73d31f3347bcf7f8fb29b49e87b3864e.tar.gz
build_soong-1f8c52be73d31f3347bcf7f8fb29b49e87b3864e.tar.bz2
build_soong-1f8c52be73d31f3347bcf7f8fb29b49e87b3864e.zip
Add per-directory build targets
Build a map of blueprint directory to modules built from that directory, and then add phony rules to build.ninja that emulate the behavior of mma in the current build system. Also fixes checkbuild to depend on checkbuild files and installable files, but not installed files. Change-Id: I8bad6e93387940df7439dbd4554f6d79f924c65f
Diffstat (limited to 'cmd')
-rw-r--r--cmd/soong_build/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/soong_build/main.go b/cmd/soong_build/main.go
index b7c4198e..9ef0d064 100644
--- a/cmd/soong_build/main.go
+++ b/cmd/soong_build/main.go
@@ -81,7 +81,7 @@ func main() {
ctx.RegisterEarlyMutator("test_per_src", cc.TestPerSrcMutator)
// Singletons
- ctx.RegisterSingletonType("checkbuild", common.CheckbuildSingleton)
+ ctx.RegisterSingletonType("buildtarget", common.BuildTargetSingleton)
ctx.RegisterSingletonType("env", common.EnvSingleton)
ctx.RegisterSingletonType("logtags", java.LogtagsSingleton)