summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2019-03-13 12:21:30 -0700
committerHaibo Huang <hhb@google.com>2019-03-16 06:05:08 +0000
commitdc7cb71ab679c30022098fb96061acd145157f40 (patch)
tree3143c18d9053dc3c87bd243617d38174a8a01eb9
parentfbc233e169ed87603a0fc89062de923d5b59f633 (diff)
downloadlibtextclassifier-dc7cb71ab679c30022098fb96061acd145157f40.tar.gz
Disable deprecated declarations for libtextclassifier
The new flatbuffer deprecated Vector::Length. Disable the warning before upstream fixes this issue. Test: build Exempt-From-Owner-Approval: Alredy merged downstream Change-Id: I9588d9f554b0baac94a90aec645288bf82fd166d Merged-In: I9588d9f554b0baac94a90aec645288bf82fd166d
-rw-r--r--Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 39f7895..5017185 100644
--- a/Android.mk
+++ b/Android.mk
@@ -26,6 +26,7 @@ LOCAL_PATH := $(call my-dir)
MY_LIBTEXTCLASSIFIER_WARNING_CFLAGS := \
-Wall \
-Werror \
+ -Wno-deprecated-declarations \
-Wno-ignored-qualifiers \
-Wno-missing-field-initializers \
-Wno-sign-compare \