diff options
author | Haibo Huang <hhb@google.com> | 2019-03-13 12:21:30 -0700 |
---|---|---|
committer | Haibo Huang <hhb@google.com> | 2019-03-16 06:05:08 +0000 |
commit | dc7cb71ab679c30022098fb96061acd145157f40 (patch) | |
tree | 3143c18d9053dc3c87bd243617d38174a8a01eb9 | |
parent | fbc233e169ed87603a0fc89062de923d5b59f633 (diff) | |
download | libtextclassifier-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.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 \ |