Use PlatformSdkVersion from Make
This doesn't need to be hardcoded, and should be updated anyways. Change-Id: Ie28d0d7655e8db3c02d110ae578a763a69b73f92
This commit is contained in:
parent
8195ed10a4
commit
5951c8a3a9
2 changed files with 3 additions and 2 deletions
|
@ -20,6 +20,7 @@ import (
|
|||
"os"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
|
@ -278,7 +279,7 @@ func (c *config) PlatformVersion() string {
|
|||
}
|
||||
|
||||
func (c *config) PlatformSdkVersion() string {
|
||||
return "22"
|
||||
return strconv.Itoa(*c.ProductVariables.Platform_sdk_version)
|
||||
}
|
||||
|
||||
func (c *config) BuildNumber() string {
|
||||
|
|
|
@ -115,7 +115,7 @@ func stringPtr(v string) *string {
|
|||
|
||||
func (v *productVariables) SetDefaultConfig() {
|
||||
*v = productVariables{
|
||||
Platform_sdk_version: intPtr(22),
|
||||
Platform_sdk_version: intPtr(23),
|
||||
HostArch: stringPtr("x86_64"),
|
||||
HostSecondaryArch: stringPtr("x86"),
|
||||
DeviceName: stringPtr("flounder"),
|
||||
|
|
Loading…
Reference in a new issue