Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bdf786e9 authored by Ulya Trafimovich's avatar Ulya Trafimovich
Browse files

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
parent 25c0d563
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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.