diff options
author | Dan Willemsen <dwillemsen@google.com> | 2016-06-23 23:44:54 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2016-09-08 13:50:36 -0700 |
commit | b1957a502116195a534f45c37f15efa35298e520 (patch) | |
tree | 1f3ca32b4b6bf6fe0097f8740d2b201d0c4632cb /cc/config/arm64_device.go | |
parent | 42d1ba2d92a965772d92b3b466dcbddf583cb2f3 (diff) | |
download | build_soong-b1957a502116195a534f45c37f15efa35298e520.tar.gz build_soong-b1957a502116195a534f45c37f15efa35298e520.tar.bz2 build_soong-b1957a502116195a534f45c37f15efa35298e520.zip |
Dynamically generate arch struct
Now we don't need to hardcode the list of OS/Arch/Variant/Features in
android/arch.go.
Change-Id: I0f9cc35d55baa31f036825fdf5b9dd30d076e56e
Diffstat (limited to 'cc/config/arm64_device.go')
-rw-r--r-- | cc/config/arm64_device.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/config/arm64_device.go b/cc/config/arm64_device.go index 124b1246..fe47ddfc 100644 --- a/cc/config/arm64_device.go +++ b/cc/config/arm64_device.go @@ -89,6 +89,11 @@ const ( ) func init() { + android.RegisterArchVariants(android.Arm64, + "armv8_a", + "cortex_a53", + "denver64") + pctx.StaticVariable("arm64GccVersion", arm64GccVersion) pctx.SourcePathVariable("Arm64GccRoot", |