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
This commit is contained in:
Dan Willemsen
2016-06-23 23:44:54 -07:00
parent 42d1ba2d92
commit b1957a5021
9 changed files with 355 additions and 243 deletions

View File

@@ -89,6 +89,11 @@ const (
)
func init() {
android.RegisterArchVariants(android.Arm64,
"armv8_a",
"cortex_a53",
"denver64")
pctx.StaticVariable("arm64GccVersion", arm64GccVersion)
pctx.SourcePathVariable("Arm64GccRoot",