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

Commit 2fd661b2 authored by Cole Faust's avatar Cole Faust
Browse files

Use enabled: false to disable errorprone

Enabled: false is more performant than -XepDisableAllChecks,
as normally the module is built twice, once with and once
without errorprone. Enabled: false will entirely remove
the second build.

Bug: 190944875
Bug: 72714520
Change-Id: Ie393f41a33e59dc4fd36b98ca2fd87f53c0f9785
Test: Presumbits
parent 6946bcca
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@ java_library_host {
    },
    // Protos have lots of MissingOverride and similar.
    errorprone: {
        javacflags: ["-XepDisableAllChecks"],
        enabled: false,
    },
}

@@ -124,6 +124,10 @@ java_library {
        "libs/incident/proto/android/os/**/*.proto",
        ":service-permission-protos",
    ],
    // Protos have lots of MissingOverride and similar.
    errorprone: {
        enabled: false,
    },
}

// ====  java proto device library (for test only)  ==============================
@@ -150,7 +154,7 @@ java_library {
    sdk_version: "core_current",
    // Protos have lots of MissingOverride and similar.
    errorprone: {
        javacflags: ["-XepDisableAllChecks"],
        enabled: false,
    },
}