From 9428e080cc72db76594774d03c9250e7bf627fc9 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Wed, 3 Sep 2014 12:40:41 -0700 Subject: [PATCH] Ignore Clang warning on checking address of arrays. BUG: 17356808 Change-Id: I464ffcfb3fc4f44ac8115f9ae98a8c46189b41cd --- Android.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Android.mk b/Android.mk index f804089..5556bdc 100644 --- a/Android.mk +++ b/Android.mk @@ -53,6 +53,11 @@ LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/libSBRdec/include \ $(LOCAL_PATH)/libSBRenc/include +# In tpdec_asc.cpp: address of array 'pPce->FrontElementIsCpe' +# will always evaluate to 'true'. +LOCAL_CPPFLAGS += \ + -Wno-pointer-bool-conversion + LOCAL_MODULE:= libFraunhoferAAC include $(BUILD_STATIC_LIBRARY)