diff options
author | Ulya Trafimovich <skvadrik@google.com> | 2021-03-29 14:06:58 +0100 |
---|---|---|
committer | Ulyana Trafimovich <skvadrik@google.com> | 2021-03-29 15:43:38 +0000 |
commit | 9f12df9abb5818ebaa581d05c17651244bf52e6f (patch) | |
tree | 83233ce07a98df4413b0b10183f8f28512c7b869 /java/java.go | |
parent | cb745601b970b1f55c473c8cff6e3e9a4d75d4c2 (diff) |
Don't fail the build if manifest_check cannot extract targetSdkVersion.
Instead, return "any" SDK version 10000, which will cause dexpreopt to
not add any compatibility libraries to class loader context. This is as
good guess as any, and the build system already uses "any" version if
there is not manifest or APK from which to extract targetSdkVersion.
This fixes broken build on cf_x86_auto-userdebug.
Bug: 132357300
Bug: 183943146
Test: lunch cf_x86_auto-userdebug \
&& m out/target/product/vsoc_x86/obj/APPS/playback_intermediates/dexpreopt.zip
Change-Id: I5ee75639ece716c3a9800ddea346fe7c73da7c3a
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions