summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2016-02-03 09:05:28 -0800
committerAndreas Gampe <agampe@google.com>2016-02-03 09:05:28 -0800
commitb35dda27ecb4351ef33ab78fb316fac76c463c67 (patch)
treed29c7d643eb35876283ad50de2ccbffc089eb423
parent6579353b8ee5d8aa1f1a96ae22798de9b41e19b8 (diff)
downloaddng_sdk-b35dda27ecb4351ef33ab78fb316fac76c463c67.tar.gz
Dng_sdk: Ignore some warnings
Ignore unused-parameter warnings. Ignore ignored-qualifiers warnings. Some integral return types are annotated with const. This is benign. Bug: 18632512 Bug: 26936282 Change-Id: I3ef49dc0c06c711a6d2eab496b7299139637b20f
-rw-r--r--Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 5af8655..597425b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -78,6 +78,11 @@ LOCAL_SRC_FILES := $(dng_sdk_files)
LOCAL_CFLAGS := -DUNIX_ENV=1 -DqDNGBigEndian=0 -DqDNGThreadSafe=1 -DqDNGUseLibJPEG=1 -DqDNGUseXMP=0 -DqDNGValidate=0 -DqDNGValidateTarget=1 -DqAndroid=1 -fexceptions -Wsign-compare -Wno-reorder -Wframe-larger-than=20000 -frtti
+# Ignore unused parameters.
+LOCAL_CFLAGS += -Wno-unused-parameter
+# Some integral return types are annotated with "const."
+LOCAL_CFLAGS += -Wno-ignored-qualifiers
+
LOCAL_CLANG := true
LOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow