Move registration into android package
Mutator registration is tightly coupled with the android package, move
all registration from the soong package to the android package.
Test: build.ninja identical
Change-Id: Ie183d0b52cc7431c9e05b231934d189208ef1efe
diff --git a/cc/binary.go b/cc/binary.go
index 083cf0d..0965886 100644
--- a/cc/binary.go
+++ b/cc/binary.go
@@ -18,7 +18,6 @@
"github.com/google/blueprint"
"github.com/google/blueprint/proptools"
- "android/soong"
"android/soong/android"
)
@@ -42,8 +41,8 @@
}
func init() {
- soong.RegisterModuleType("cc_binary", binaryFactory)
- soong.RegisterModuleType("cc_binary_host", binaryHostFactory)
+ android.RegisterModuleType("cc_binary", binaryFactory)
+ android.RegisterModuleType("cc_binary_host", binaryHostFactory)
}
// Module factory for binaries