Use the platform SDK version from the config.
N is in AOSP now. Test: make ndk && ls out/soong/ndk/platforms/android-24 Bug: None Change-Id: I846ee12d10e962931bf22c94c37cdf7207dd4ff7
This commit is contained in:
@@ -323,8 +323,12 @@ func (c *config) PlatformVersion() string {
|
||||
return "M"
|
||||
}
|
||||
|
||||
func (c *config) PlatformSdkVersionInt() int {
|
||||
return *c.ProductVariables.Platform_sdk_version
|
||||
}
|
||||
|
||||
func (c *config) PlatformSdkVersion() string {
|
||||
return strconv.Itoa(*c.ProductVariables.Platform_sdk_version)
|
||||
return strconv.Itoa(c.PlatformSdkVersionInt())
|
||||
}
|
||||
|
||||
func (c *config) BuildNumber() string {
|
||||
|
Reference in New Issue
Block a user