aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/pom2mk
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2018-04-25 14:54:06 -0700
committerColin Cross <ccross@android.com>2018-04-25 15:23:57 -0700
commite6c053388b5d7f84da09557bf6529b839eda0c77 (patch)
tree8ea97e091afc9904cac3525269d519a936f28471 /cmd/pom2mk
parent2cc7d9fc783eabbf9ba4bf939a8cdf8569a59254 (diff)
downloadbuild_soong-e6c053388b5d7f84da09557bf6529b839eda0c77.tar.gz
build_soong-e6c053388b5d7f84da09557bf6529b839eda0c77.tar.bz2
build_soong-e6c053388b5d7f84da09557bf6529b839eda0c77.zip
Don't use AppsDefaultVersionName for framework-res.apk
Some builds set AppsDefaultVersionName() to include the build number ("P-123456"). aapt2 copies the version name of framework-res into app manifests as compileSdkVersionCodename, which confuses things if it contains the build number. Use the DefaultAppTargetSdk ("P") instead. Bug: 78324052 Test: m TARGET_BUILD_WITH_APPS_VERSION_NAME=true Dialer aapt dump badging $OUT/system/priv-app/Dialer/Dialer.apk | grep compile shows compileSdkVersionCodename=P Change-Id: If67f40aae1066d4ff3bf97da1b2de2e1e250ad9c Merged-In: If67f40aae1066d4ff3bf97da1b2de2e1e250ad9c (cherry-picked from commit 402d5e091996abe6e69b5055150ab5438fc664ef)
Diffstat (limited to 'cmd/pom2mk')
0 files changed, 0 insertions, 0 deletions