summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Dan Willemsen <dwillemsen@google.com> 2019-04-07 09:41:44 -0700
committer Dan Willemsen <dwillemsen@google.com> 2019-04-09 09:44:31 -0700
commitb6d171bb73fd4c64b1056dbe97fabf2487811d55 (patch)
tree934e7a3c890c9142a1cea0b9db8eb371e3369ad1 /android/variable.go
parentad459bb8db7c760bcbe0ba4166b90f3a12312c84 (diff)
Update default soong config
BuildNumberFromFile is required to be non-empty for version injection to work. The various platform version values are needed for various Java builds. Test: treehugger Change-Id: Ifa5844794ea9e9baf0ec725dec107975cd759354
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go12
1 files changed, 9 insertions, 3 deletions
diff --git a/android/variable.go b/android/variable.go
index 68a24ab35..16d7b1384 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -303,9 +303,15 @@ func stringPtr(v string) *string {
func (v *productVariables) SetDefaultConfig() {
*v = productVariables{
- Platform_sdk_version: intPtr(26),
- Platform_version_active_codenames: []string{"P"},
- Platform_version_future_codenames: []string{"P"},
+ BuildNumberFromFile: stringPtr("123456789"),
+
+ Platform_version_name: stringPtr("Q"),
+ Platform_sdk_version: intPtr(28),
+ Platform_sdk_codename: stringPtr("Q"),
+ Platform_sdk_final: boolPtr(false),
+ Platform_version_active_codenames: []string{"Q"},
+ Platform_version_future_codenames: []string{"Q"},
+ Platform_vndk_version: stringPtr("Q"),
HostArch: stringPtr("x86_64"),
HostSecondaryArch: stringPtr("x86"),