summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2018-01-31 19:21:42 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2018-01-31 19:21:42 +0000
commit312f9cacc056e87e0efaee4de401b8450faa15c2 (patch)
treee55b5cfbb463ecaefdd8142f88c7c1398e334075
parentf00c786f23c30ef4d3400b799a95f3fb0b92b403 (diff)
parent93b64c9a6290aa0f62f8ed5e7c4b6b8839a77264 (diff)
Merge "Frameworks: Disable Errorprone warnings for platformprotoslite"
-rw-r--r--Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 35b5f92be310..d72e3989cf2b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -821,6 +821,8 @@ LOCAL_PROTOC_FLAGS := \
LOCAL_SRC_FILES := \
$(call all-proto-files-under, core/proto) \
$(call all-proto-files-under, libs/incident/proto/android/os)
+# Protos have lots of MissingOverride and similar.
+LOCAL_ERROR_PRONE_FLAGS := -XepDisableAllChecks
include $(BUILD_STATIC_JAVA_LIBRARY)
# ==== hiddenapi lists =======================================