Disable dexpreopt and <uses-library> check for "framework-res".
Dexpreopt is not needed as "framework-res" contains no code. Bug: 132357300 Test: treehugger Change-Id: I235292292b47a04160bf85105a1a43421e94e244
This commit is contained in:
@@ -19,6 +19,13 @@ android_app {
|
||||
sdk_version: "core_platform",
|
||||
certificate: "platform",
|
||||
|
||||
// Disable dexpreopt and verify_uses_libraries check as the app
|
||||
// contains no Java code to be dexpreopted.
|
||||
enforce_uses_libs: false,
|
||||
dex_preopt: {
|
||||
enabled: false,
|
||||
},
|
||||
|
||||
// Soong special-cases framework-res to install this alongside
|
||||
// the libraries at /system/framework/framework-res.apk.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user