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:
@@ -20,8 +20,6 @@ import (
|
||||
"io/ioutil"
|
||||
"os"
|
||||
|
||||
"android/soong"
|
||||
|
||||
"github.com/google/blueprint"
|
||||
"github.com/google/blueprint/proptools"
|
||||
)
|
||||
@@ -66,7 +64,7 @@ func RegisterMakeVarsProvider(pctx blueprint.PackageContext, provider MakeVarsPr
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
func init() {
|
||||
soong.RegisterSingletonType("makevars", makeVarsSingletonFunc)
|
||||
RegisterSingletonType("makevars", makeVarsSingletonFunc)
|
||||
}
|
||||
|
||||
func makeVarsSingletonFunc() blueprint.Singleton {
|
||||
|
Reference in New Issue
Block a user