Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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,
},
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment