Revert "Revert "Use the platform SDK version from the config.""
This reverts commit 74b8b55bb2
.
Test: OUT_DIR=ndk-out DIST_DIR=ndk-dist \
build/soong/scripts/build-ndk-prebuilts.sh
Bug: None
Change-Id: Ia320609ec6fb382b13ff9007a6496b73198ff871
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