aboutsummaryrefslogtreecommitdiffstats
path: root/cc/mips64_device.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-05-18 15:37:25 -0700
committerColin Cross <ccross@android.com>2016-05-18 15:37:25 -0700
commit635c3b0157f38c06833e5e789d0137f99844c0b6 (patch)
tree5552faac314ada024140d6fb0a4c3a501a90f0c9 /cc/mips64_device.go
parentc7fd91a2660c7e0af1ccea0d662e0804998769ee (diff)
downloadbuild_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 'cc/mips64_device.go')
-rw-r--r--cc/mips64_device.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/cc/mips64_device.go b/cc/mips64_device.go
index 8f85b47e..1bd6a3c8 100644
--- a/cc/mips64_device.go
+++ b/cc/mips64_device.go
@@ -17,7 +17,7 @@ package cc
import (
"strings"
- "android/soong/common"
+ "android/soong/android"
)
var (
@@ -87,7 +87,7 @@ const (
)
func init() {
- common.RegisterArchFeatures(common.Mips64, "mips64r6",
+ android.RegisterArchFeatures(android.Mips64, "mips64r6",
"rev6")
pctx.StaticVariable("mips64GccVersion", mips64GccVersion)
@@ -185,7 +185,7 @@ func (t *toolchainMips64) ClangLdflags() string {
return "${mips64ClangLdflags}"
}
-func mips64ToolchainFactory(arch common.Arch) Toolchain {
+func mips64ToolchainFactory(arch android.Arch) Toolchain {
return &toolchainMips64{
cflags: "${mips64Cflags}",
clangCflags: "${mips64ClangCflags}",
@@ -195,5 +195,5 @@ func mips64ToolchainFactory(arch common.Arch) Toolchain {
}
func init() {
- registerDeviceToolchainFactory(common.Mips64, mips64ToolchainFactory)
+ registerDeviceToolchainFactory(android.Mips64, mips64ToolchainFactory)
}