diff options
author | Colin Cross <ccross@android.com> | 2016-05-18 15:37:25 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2016-05-18 15:37:25 -0700 |
commit | 635c3b0157f38c06833e5e789d0137f99844c0b6 (patch) | |
tree | 5552faac314ada024140d6fb0a4c3a501a90f0c9 /cmd/soong_build | |
parent | c7fd91a2660c7e0af1ccea0d662e0804998769ee (diff) | |
download | build_soong-635c3b0157f38c06833e5e789d0137f99844c0b6.tar.gz build_soong-635c3b0157f38c06833e5e789d0137f99844c0b6.tar.bz2 build_soong-635c3b0157f38c06833e5e789d0137f99844c0b6.zip |
Rename common to android
Rename the "common" package to "android", because common is too
generic. Also removes all android.Android naming stutter.
Ran:
gomvpkg -from 'android/soong/common' -to 'android/soong/android'
gorename -from '"android/soong/android".AndroidModuleContext' -to 'ModuleContext'
gorename -from '"android/soong/android".AndroidBaseContext' -to 'BaseContext'
gorename -from '"android/soong/android".AndroidModuleBase' -to 'ModuleBase'
gorename -from '"android/soong/android".AndroidBottomUpMutatorContext' -to 'BottomUpMutatorContext'
gorename -from '"android/soong/android".AndroidTopDownMutatorContext' -to 'TopDownMutatorContext'
gorename -from '"android/soong/android".AndroidModule' -to 'Module'
Change-Id: I3b23590b8ce7c8a1ea1139411d84a53163288da7
Diffstat (limited to 'cmd/soong_build')
-rw-r--r-- | cmd/soong_build/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/soong_build/main.go b/cmd/soong_build/main.go index 1bb8fcda..5b0c83cb 100644 --- a/cmd/soong_build/main.go +++ b/cmd/soong_build/main.go @@ -24,7 +24,7 @@ import ( "android/soong" - "android/soong/common" + "android/soong/android" ) func main() { @@ -35,7 +35,7 @@ func main() { ctx := soong.NewContext() - configuration, err := common.NewConfig(srcDir, bootstrap.BuildDir) + configuration, err := android.NewConfig(srcDir, bootstrap.BuildDir) if err != nil { fmt.Fprintf(os.Stderr, "%s", err) os.Exit(1) |