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

Commit 03c19ddc authored by LaMont Jones's avatar LaMont Jones
Browse files

services.core: use java_genrule_combiner

Bug: b/285975842
Test: manual, TH
Ignore-AOSP-First: modules not present in aosp
Change-Id: Ibd52dffaaef84006733f0b194fb212f404b82178
parent 553a81ed
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -275,9 +275,18 @@ java_genrule {
    out: ["services.core.priorityboosted.jar"],
}

java_genrule_combiner {
    name: "services.core.combined",
    static_libs: ["services.core.priorityboosted"],
    headers: ["services.core.unboosted"],
}

java_library {
    name: "services.core",
    static_libs: ["services.core.priorityboosted"],
    static_libs: select(release_flag("RELEASE_SERVICES_JAVA_GENRULE_COMBINER"), {
        true: ["services.core.combined"],
        default: ["services.core.priorityboosted"],
    }),
}

java_library_host {