MlkitBarcode: Set apk as preprocessed to fix qpr2 compile error
error: Prebuilt, presigned apks with targetSdkVersion >= 30 (or a codename targetSdkVersion) must set preprocessed: true in the Android.bp definition (because they must be signed with signature v2, and the build system would wreck that signature otherwise)
This commit is contained in:
parent
96b89c09f2
commit
1dbd6fe3b9
1 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ android_app_import {
|
||||||
owner: "google",
|
owner: "google",
|
||||||
apk: "MlkitBarcodeUI.apk",
|
apk: "MlkitBarcodeUI.apk",
|
||||||
presigned: true,
|
presigned: true,
|
||||||
|
preprocessed: true,
|
||||||
dex_preopt: {
|
dex_preopt: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
},
|
},
|
||||||
|
|
@ -21,6 +22,7 @@ android_app_import {
|
||||||
owner: "google",
|
owner: "google",
|
||||||
apk: "VisionBarcode.apk",
|
apk: "VisionBarcode.apk",
|
||||||
presigned: true,
|
presigned: true,
|
||||||
|
preprocessed: true,
|
||||||
dex_preopt: {
|
dex_preopt: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue