Remove target.linux
Once this is submitted and we don't have any more references to
target.linux, it can be added back as a common target for all
linux-kernel based targets.
Test: m nothing
Change-Id: Iae5e82eaed65f58950115f21530ae04afd0602b9
diff --git a/android/arch.go b/android/arch.go
index 181d83c..db017fd 100644
--- a/android/arch.go
+++ b/android/arch.go
@@ -87,7 +87,7 @@
host: {
// Host variants
},
- linux: {
+ linux_glibc: {
// Linux host variants
},
darwin: {
@@ -468,7 +468,7 @@
"Android64",
"Android32",
"Bionic",
- "Linux",
+ // TODO(dwillemsen): "Linux",
"Not_windows",
"Arm_on_x86",
"Arm_on_x86_64",
@@ -479,7 +479,7 @@
for _, archType := range osArchTypeMap[os] {
targets = append(targets, os.Field+"_"+archType.Name)
- if os == Linux { // TODO(dwillemsen): os.Linux()
+ if false { // TODO(dwillemsen): os.Linux()
target := "Linux_" + archType.Name
if !inList(target, targets) {
targets = append(targets, target)
@@ -696,7 +696,7 @@
// key: value,
// },
// }
- if os == Linux { // TODO(dwillemsen): os.Linux()
+ if false { // TODO(dwillemsen): os.Linux()
field = "Linux"
prefix = "target.linux"
a.appendProperties(ctx, genProps, targetProp, field, prefix)