aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-10-12 14:28:16 -0700
committerColin Cross <ccross@android.com>2016-10-12 14:30:44 -0700
commit798bfce9d00217716eaee2256878db625b9e6e2e (patch)
tree80939327c1f981ae0c689c907b37f8fb39334a99 /cmd
parent3f9bde87fb7f7da0ee41ff5674efee6177c88822 (diff)
downloadbuild_soong-798bfce9d00217716eaee2256878db625b9e6e2e.tar.gz
build_soong-798bfce9d00217716eaee2256878db625b9e6e2e.tar.bz2
build_soong-798bfce9d00217716eaee2256878db625b9e6e2e.zip
Move registration into android packageandroid-n-mr1-preview-2android-n-mr1-preview-1
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
Diffstat (limited to 'cmd')
-rw-r--r--cmd/soong_build/main.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/soong_build/main.go b/cmd/soong_build/main.go
index 5b0c83cb..ed8f2fd5 100644
--- a/cmd/soong_build/main.go
+++ b/cmd/soong_build/main.go
@@ -22,8 +22,6 @@ import (
"github.com/google/blueprint/bootstrap"
- "android/soong"
-
"android/soong/android"
)
@@ -33,7 +31,7 @@ func main() {
// The top-level Blueprints file is passed as the first argument.
srcDir := filepath.Dir(flag.Arg(0))
- ctx := soong.NewContext()
+ ctx := android.NewContext()
configuration, err := android.NewConfig(srcDir, bootstrap.BuildDir)
if err != nil {