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

Commit 4812c4a9 authored by Colin Cross's avatar Colin Cross
Browse files

Set compile_dex explicitly for FakeApexSystemServices

java_library modules don't compile to dex by default, but dex files
are needed to install on the device, either directly or via an apex.
Soong was implicilty adding compile_dex to java_library modules that
were in apexes, but this requires propagating information down from
apex modules in a way that prevents incremental analysis.  Set it
explicitly instead.

Bug: 372543712
Test: no change to build.ninja
Change-Id: Ie97f6b2a76426955b91b2ed010d40ac73ce081be
parent eb31f939
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17,4 +17,5 @@ java_library {
    ],
    visibility: ["//frameworks/base/services/tests/apexsystemservices:__subpackages__"],
    apex_available: ["//apex_available:anyapex"],
    compile_dex: true,
}