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
This commit is contained in:
@@ -17,7 +17,7 @@ package cc
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"android/soong/common"
|
||||
"android/soong/android"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -122,7 +122,7 @@ const (
|
||||
)
|
||||
|
||||
func init() {
|
||||
common.RegisterArchFeatures(common.Mips, "mips32r6",
|
||||
android.RegisterArchFeatures(android.Mips, "mips32r6",
|
||||
"rev6")
|
||||
|
||||
pctx.StaticVariable("mipsGccVersion", mipsGccVersion)
|
||||
@@ -233,7 +233,7 @@ func (t *toolchainMips) ClangLdflags() string {
|
||||
return "${mipsClangLdflags}"
|
||||
}
|
||||
|
||||
func mipsToolchainFactory(arch common.Arch) Toolchain {
|
||||
func mipsToolchainFactory(arch android.Arch) Toolchain {
|
||||
return &toolchainMips{
|
||||
cflags: "${mipsCflags}",
|
||||
clangCflags: "${mipsClangCflags}",
|
||||
@@ -243,5 +243,5 @@ func mipsToolchainFactory(arch common.Arch) Toolchain {
|
||||
}
|
||||
|
||||
func init() {
|
||||
registerDeviceToolchainFactory(common.Mips, mipsToolchainFactory)
|
||||
registerDeviceToolchainFactory(android.Mips, mipsToolchainFactory)
|
||||
}
|
||||
|
Reference in New Issue
Block a user