aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-10-27 01:11:14 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-10-27 01:11:14 +0000
commitae23cb8909868ff90f345485548f108b007cc19b (patch)
tree15d002db6e9c5c889df4d6106c6a3a01e69fd1f7
parent1b7a256585d8f63835001f13da3a88a89d58ac4e (diff)
parent26bee24e72ea8883c6a2e8e1d76cafacdf9248fb (diff)
downloaddexmaker-android14-gsi.tar.gz
Change-Id: I254713395250c977c0126ec8915809946242f9ae
-rw-r--r--Android.bp25
1 files changed, 25 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 6648cf6..e1d33c7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -60,6 +60,13 @@ java_library_static {
],
sdk_version: "core_current",
+
+ errorprone: {
+ javacflags: [
+ "-Xep:EmptyTopLevelDeclaration:WARN",
+ "-Xep:ReturnValueIgnored:WARN",
+ ],
+ },
}
// Build Dexmaker's MockMaker, a plugin to Mockito
@@ -179,6 +186,12 @@ java_library_static {
"libdexmakerjvmtiagent",
"libstaticjvmtiagent",
],
+
+ errorprone: {
+ javacflags: [
+ "-Xep:ReturnValueIgnored:WARN",
+ ],
+ },
}
// Provides mockito functionality for on-device tests. Does not allow stubbing of final or static
@@ -279,6 +292,12 @@ java_library_static {
"dexmaker",
"junit",
],
+
+ errorprone: {
+ javacflags: [
+ "-Xep:ReturnValueIgnored:WARN",
+ ],
+ },
}
// dexmaker-mockito tests
@@ -294,6 +313,12 @@ java_library_static {
"junit",
"dexmaker-mockmaker",
],
+
+ errorprone: {
+ javacflags: [
+ "-Xep:ReturnValueIgnored:WARN",
+ ],
+ },
}
// dexmaker-mockito-inline tests