diff options
author | Cole Faust <colefaust@google.com> | 2024-03-25 11:52:39 -0700 |
---|---|---|
committer | Cole Faust <colefaust@google.com> | 2024-03-25 11:52:39 -0700 |
commit | 7abe78fe73fb94c384f149016ae329586e39c28d (patch) | |
tree | 961e445f4141fd483043265120d25885e6706d1b | |
parent | 5cc4635582091108a90621b47ade41aad8763fb5 (diff) | |
download | google-smali-7abe78fe73fb94c384f149016ae329586e39c28d.tar.gz |
So that it can be promoted to an error by default.
Bug: 253827323
Test: m RUN_ERROR_PRONE=true javac-check
Change-Id: I033fe7ce1cfe2eaa5f39ee3b95606909754a1b86
-rw-r--r-- | dexlib2/Android.bp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dexlib2/Android.bp b/dexlib2/Android.bp index 9fef4fff..1e9d6e42 100644 --- a/dexlib2/Android.bp +++ b/dexlib2/Android.bp @@ -27,6 +27,12 @@ "jsr305", "auto_android_annotation_stubs", ], + + errorprone: { + javacflags: [ + "-Xep:ComparableType:WARN", + ], + }, } java_library_host { @@ -45,6 +51,12 @@ java_library_host { "jsr305", "auto_android_annotation_stubs", ], + + errorprone: { + javacflags: [ + "-Xep:ComparableType:WARN", + ], + }, } @@ -74,4 +86,10 @@ java_library { enabled: true, shrink: true, }, + + errorprone: { + javacflags: [ + "-Xep:ComparableType:WARN", + ], + }, }
\ No newline at end of file |