aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-04-10 17:45:20 -0700
committerColin Cross <ccross@android.com>2015-04-13 12:25:40 -0700
commitf05fe97df6bd0fb37c0f7338365fa8782fa9c725 (patch)
tree50ba18c6e58380acc6f307c2989ed4648f604acd /cmd
parent6d1e72d7c69d1787b6d7edf990925a65f43b48ea (diff)
downloadbuild_soong-f05fe97df6bd0fb37c0f7338365fa8782fa9c725.tar.gz
build_soong-f05fe97df6bd0fb37c0f7338365fa8782fa9c725.tar.bz2
build_soong-f05fe97df6bd0fb37c0f7338365fa8782fa9c725.zip
Add logtags source file support
Add support for converting logtags files to source files. Each .logtags file is converted to a .java file, but only after all .logtags files have been combined into a merged text file by the logtagsSingleton. Change-Id: I375d82874029bd26a7c528e46add2a638ba123f9
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 a1a4ce05..83205ba4 100644
--- a/cmd/soong_build/main.go
+++ b/cmd/soong_build/main.go
@@ -76,6 +76,7 @@ func main() {
// Singletons
ctx.RegisterSingletonType("checkbuild", common.CheckbuildSingleton)
ctx.RegisterSingletonType("env", common.EnvSingleton)
+ ctx.RegisterSingletonType("logtags", java.LogtagsSingleton)
configuration, err := common.NewConfig(srcDir)
if err != nil {