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
This commit is contained in:
Colin Cross
2016-10-12 14:28:16 -07:00
parent 3f9bde87fb
commit 798bfce9d0
18 changed files with 64 additions and 92 deletions

View File

@@ -15,7 +15,6 @@
package android
import (
"android/soong"
"android/soong/env"
"github.com/google/blueprint"
@@ -29,7 +28,7 @@ import (
// a manifest regeneration.
func init() {
soong.RegisterSingletonType("env", EnvSingleton)
RegisterSingletonType("env", EnvSingleton)
}
func EnvSingleton() blueprint.Singleton {