summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Dan Willemsen <dwillemsen@google.com> 2017-11-13 14:34:56 -0800
committer Dan Willemsen <dwillemsen@google.com> 2017-11-13 14:46:44 -0800
commitcbf9e827a7882d09e47a7bdc47dcc577b79f2b22 (patch)
tree613ba7e37091342bb78c042f5210194a701ca75a /android/variable.go
parentbafc47aea6a590747cf9b7e529b4140abefc6c73 (diff)
Update default configuration
This isn't often used, but the values were quite old. So update them to something closer to aosp_arm64 from today. Bug: 68803744 Test: m clean; m --skip-make libc Change-Id: Id5c60b62e7c7a91635dea9669fc604d63d299778
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go17
1 files changed, 10 insertions, 7 deletions
diff --git a/android/variable.go b/android/variable.go
index d89c14687..42728175f 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -205,26 +205,29 @@ func stringPtr(v string) *string {
func (v *productVariables) SetDefaultConfig() {
*v = productVariables{
- Platform_sdk_version: intPtr(24),
+ Platform_sdk_version: intPtr(26),
+ Platform_version_active_codenames: []string{"P"},
+ Platform_version_future_codenames: []string{"P"},
+
HostArch: stringPtr("x86_64"),
HostSecondaryArch: stringPtr("x86"),
- DeviceName: stringPtr("flounder"),
+ DeviceName: stringPtr("generic_arm64"),
DeviceArch: stringPtr("arm64"),
DeviceArchVariant: stringPtr("armv8-a"),
- DeviceCpuVariant: stringPtr("denver64"),
+ DeviceCpuVariant: stringPtr("generic"),
DeviceAbi: &[]string{"arm64-v8a"},
DeviceUsesClang: boolPtr(true),
DeviceSecondaryArch: stringPtr("arm"),
- DeviceSecondaryArchVariant: stringPtr("armv7-a-neon"),
- DeviceSecondaryCpuVariant: stringPtr("denver"),
- DeviceSecondaryAbi: &[]string{"armeabi-v7a"},
+ DeviceSecondaryArchVariant: stringPtr("armv8-a"),
+ DeviceSecondaryCpuVariant: stringPtr("generic"),
+ DeviceSecondaryAbi: &[]string{"armeabi-v7a", "armeabi"},
AAPTConfig: &[]string{"normal", "large", "xlarge", "hdpi", "xhdpi", "xxhdpi"},
AAPTPreferredConfig: stringPtr("xhdpi"),
AAPTCharacteristics: stringPtr("nosdcard"),
AAPTPrebuiltDPI: &[]string{"xhdpi", "xxhdpi"},
- Malloc_not_svelte: boolPtr(false),
+ Malloc_not_svelte: boolPtr(true),
Safestack: boolPtr(false),
}