diff options
Diffstat (limited to 'common/module.go')
-rw-r--r-- | common/module.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/module.go b/common/module.go index 1d17de10..b19b6d1c 100644 --- a/common/module.go +++ b/common/module.go @@ -15,6 +15,7 @@ package common import ( + "android/soong" "path/filepath" "runtime" "sort" @@ -520,6 +521,10 @@ func (ctx *androidModuleContext) Glob(globPattern string, excludes []string) []s return ret } +func init() { + soong.RegisterSingletonType("buildtarget", BuildTargetSingleton) +} + func BuildTargetSingleton() blueprint.Singleton { return &buildTargetSingleton{} } |