summaryrefslogtreecommitdiff
path: root/android/namespace.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/namespace.go')
-rw-r--r--android/namespace.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/android/namespace.go b/android/namespace.go
index d137636e2..4f727e14e 100644
--- a/android/namespace.go
+++ b/android/namespace.go
@@ -27,7 +27,11 @@ import (
)
func init() {
- RegisterModuleType("soong_namespace", NamespaceFactory)
+ registerNamespaceBuildComponents(InitRegistrationContext)
+}
+
+func registerNamespaceBuildComponents(ctx RegistrationContext) {
+ ctx.RegisterModuleType("soong_namespace", NamespaceFactory)
}
// threadsafe sorted list