summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2018-02-16 11:01:27 -0800
committerAndreas Gampe <agampe@google.com>2018-02-16 11:02:07 -0800
commitf5afc14ee19a53956952db8ead4bb905a041008d (patch)
tree031924701047176061b0ed2a8b9027211de22014
parent31d7642eb8f37a9166db7f1c9e313ab651bdb8ba (diff)
downloadapache-xml-f5afc14ee19a53956952db8ead4bb905a041008d.tar.gz
Apache-Xml: Suppress MissingOverride warnings
Bug: 73499927 Test: m javac-check RUN_ERROR_PRONE=true Change-Id: I49ca417daf640d32f9327307ca4db551112d1ed8
-rw-r--r--Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 1e31ae0..266943f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -24,6 +24,7 @@ LOCAL_SRC_FILES := $(apache-xml_src_files)
LOCAL_JAVA_LIBRARIES := core-oj core-libart
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_RESOURCE_DIRS := src/main/java
+LOCAL_ERROR_PRONE_FLAGS := -Xep:MissingOverride:OFF
include $(BUILD_JAVA_LIBRARY)
ifeq ($(HOST_OS),linux)
@@ -33,5 +34,6 @@ LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(apache-xml_src_files)
LOCAL_MODULE_TAGS := optional
LOCAL_JAVA_RESOURCE_DIRS := src/main/java
+LOCAL_ERROR_PRONE_FLAGS := -Xep:MissingOverride:OFF
include $(BUILD_HOST_DALVIK_JAVA_LIBRARY)
endif # HOST_OS == linux