summaryrefslogtreecommitdiff
path: root/libcamera2
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2015-01-06 10:39:24 -0800
committerChih-Hung Hsieh <chh@google.com>2015-01-06 10:52:29 -0800
commita511d6603a05cf120ad02865d75b59af14c3f3aa (patch)
tree8bd187abb35c90d4212ebab98491af45218a4198 /libcamera2
parent35575718dd13c61263b5b1d090cc747b16e160d9 (diff)
downloadexynos5-a511d6603a05cf120ad02865d75b59af14c3f3aa.tar.gz
Suppress or fix clang errors before the fix from upstream.
* Make Exynos_UpdateFrameSize global to link with other modules. * Suppress warnings about int conversion, pointer conversion, implicit function declaration, sign/unsign comparison, and c++11-narrowing. Change-Id: I462902cbc0d1c3442d59a6741c66d8a870a99e8c
Diffstat (limited to 'libcamera2')
-rw-r--r--libcamera2/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcamera2/Android.mk b/libcamera2/Android.mk
index 274dc7a..bf87b18 100644
--- a/libcamera2/Android.mk
+++ b/libcamera2/Android.mk
@@ -2,6 +2,8 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
+LOCAL_CLANG_CFLAGS += -Wno-c++11-narrowing
+
# HAL module implemenation stored in
# hw/<COPYPIX_HARDWARE_MODULE_ID>.<ro.product.board>.so
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/hw