aboutsummaryrefslogtreecommitdiffstats
path: root/cc/config/arm_device.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/config/arm_device.go')
-rw-r--r--cc/config/arm_device.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/cc/config/arm_device.go b/cc/config/arm_device.go
index 85a891a4..1b60eae7 100644
--- a/cc/config/arm_device.go
+++ b/cc/config/arm_device.go
@@ -145,6 +145,19 @@ const (
)
func init() {
+ android.RegisterArchVariants(android.Arm,
+ "armv5te",
+ "armv7_a",
+ "armv7_a_neon",
+ "cortex_a7",
+ "cortex_a8",
+ "cortex_a9",
+ "cortex_a15",
+ "cortex_a53",
+ "cortex_a53_a57",
+ "krait",
+ "denver")
+
replaceFirst := func(slice []string, from, to string) {
if slice[0] != from {
panic(fmt.Errorf("Expected %q, found %q", from, to))