diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-10-28 01:07:26 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-10-28 01:07:26 +0000 |
commit | 9ef639b3fca74e0cc7d98810cd3d298541aef19d (patch) | |
tree | f1a796071d876d6f811d9eb8eda852d8a6a608e2 | |
parent | 9444cd5dd6a4556330d3f34aaadb6af45be55d6a (diff) | |
parent | 6972ce0fe04f83626cf196ba0294b4318e7fa998 (diff) | |
download | guava-9ef639b3fca74e0cc7d98810cd3d298541aef19d.tar.gz |
Snap for 9228056 from 6972ce0fe04f83626cf196ba0294b4318e7fa998 to udc-d1-release
Change-Id: I7a478e8a07b19a174d5f09c3b47b4030d55b45d7
-rw-r--r-- | Android.bp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index 427dfe8bc..112ccbcb9 100644 --- a/Android.bp +++ b/Android.bp @@ -108,6 +108,11 @@ java_library_host { "error_prone_annotations", ], java_version: "1.8", + errorprone: { + javacflags: [ + "-Xep:NoCanIgnoreReturnValueOnClasses:WARN", + ], + }, } java_library_host { @@ -121,6 +126,11 @@ java_library_host { "junit", ], java_version: "1.8", + errorprone: { + javacflags: [ + "-Xep:ReturnValueIgnored:WARN", + ], + }, } // Guava for Android can't compile against an Android bootclasspath, compile @@ -135,6 +145,11 @@ java_library_host { "error_prone_annotations", ], java_version: "1.8", + errorprone: { + javacflags: [ + "-Xep:NoCanIgnoreReturnValueOnClasses:WARN", + ], + }, } java_host_for_device { @@ -168,4 +183,9 @@ java_library { "guava-android-annotation-stubs", "junit", ], + errorprone: { + javacflags: [ + "-Xep:ReturnValueIgnored:WARN", + ], + }, } |