diff options
author | Colin Cross <ccross@android.com> | 2018-05-09 11:11:35 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2018-05-09 15:56:46 -0700 |
commit | bfd347dc82f935abc7c64a4383c8265ee1339111 (patch) | |
tree | f9fb3bdb3d9cea8c4aecfcc11d5e734b07d964cc /android/variable.go | |
parent | 3a621d3a86058dbb315c6f111a0e86f1c6405ef7 (diff) | |
download | build_soong-bfd347dc82f935abc7c64a4383c8265ee1339111.tar.gz build_soong-bfd347dc82f935abc7c64a4383c8265ee1339111.tar.bz2 build_soong-bfd347dc82f935abc7c64a4383c8265ee1339111.zip |
Pass platform version name as --version-name for framework-res.apk
framework-res.apk should get the platform version name ("9") as
--version-name, not the SDK version ("28"). It will get copied
to compileSdkVersionCodename in APKs compiled against it.
Bug: 78324052
Test: aapt dump badging $OUT/system/framework/framework-res.apk | grep -i version
Change-Id: I34a601cb2c14f66199066e7d598862108da0b950
Merged-In: I34a601cb2c14f66199066e7d598862108da0b950
(cherry picked from commit b691e24d899f3a773da88df0eecada5918a96a2c)
Diffstat (limited to 'android/variable.go')
-rw-r--r-- | android/variable.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go index ce2cb232..6599ca36 100644 --- a/android/variable.go +++ b/android/variable.go @@ -109,6 +109,7 @@ type productVariables struct { BuildNumberFromFile *string `json:",omitempty"` DateFromFile *string `json:",omitempty"` + Platform_version_name *string `json:",omitempty"` Platform_sdk_version *int `json:",omitempty"` Platform_sdk_codename *string `json:",omitempty"` Platform_sdk_final *bool `json:",omitempty"` |