From bf4502e660e0b17597bae2eaba639d8bad8cf87a Mon Sep 17 00:00:00 2001 From: Ricardo Cerqueira Date: Tue, 20 May 2014 10:09:52 +0100 Subject: [PATCH] Exclude generic camera implementation if TARGET_PROVIDES_CAMERA_HAL Change-Id: I91066dfa3d271aa7f909fc8751adb74b622173d2 --- exynos4/hal/libcamera/Android.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/exynos4/hal/libcamera/Android.mk b/exynos4/hal/libcamera/Android.mk index 9523db98..02215cb1 100644 --- a/exynos4/hal/libcamera/Android.mk +++ b/exynos4/hal/libcamera/Android.mk @@ -1,3 +1,5 @@ +ifneq ($(TARGET_PROVIDES_CAMERA_HAL),true) + LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) @@ -36,3 +38,5 @@ LOCAL_MODULE := camera.$(TARGET_BOARD_PLATFORM) LOCAL_MODULE_TAGS := optional include $(BUILD_SHARED_LIBRARY) + +endif