summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2016-03-30 14:55:42 -0700
committerGlenn Kasten <gkasten@google.com>2016-03-30 15:34:49 -0700
commit093cefff35ed54faab718119252caf7c7c3a33b5 (patch)
tree11892a65bef2d196a0c61df1a27b84b480d61900
parent5dc85971e22d4150db5c42508a58b2a9d2ec934a (diff)
downloadvoip-093cefff35ed54faab718119252caf7c7c3a33b5.tar.gz
Suppress build warning for deprecated getInput()
Bug: 27170398 Bug: 27927835 Change-Id: If5de529000df01ee9d2a7dcb82227ee6ecc6b407
-rw-r--r--src/jni/rtp/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jni/rtp/Android.mk b/src/jni/rtp/Android.mk
index 7d0898b..3401d9e 100644
--- a/src/jni/rtp/Android.mk
+++ b/src/jni/rtp/Android.mk
@@ -53,6 +53,7 @@ LOCAL_C_INCLUDES += \
frameworks/av/media/libstagefright/codecs/amrnb/dec/src \
$(call include-path-for, audio-effects)
-LOCAL_CFLAGS += -fvisibility=hidden -Wall -Wextra
+# getInput() is deprecated but we want to continue to track the usage of it elsewhere
+LOCAL_CFLAGS += -fvisibility=hidden -Wall -Wextra -Wno-deprecated-declarations -Werror
include $(BUILD_SHARED_LIBRARY)