summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-08-25 22:23:21 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-08-25 22:23:21 +0200
commit4b1fd8093a30653119a41ecb25a18f8b4ff3350b (patch)
tree3ba7fb3ed7886de6768dab29cb43f319b3c1a4cd
parent5fe9b2c621b08a16b00e7080c30b9875155fdc43 (diff)
downloaddevice_samsung_smdk4412-common-4b1fd8093a30653119a41ecb25a18f8b4ff3350b.zip
device_samsung_smdk4412-common-4b1fd8093a30653119a41ecb25a18f8b4ff3350b.tar.gz
device_samsung_smdk4412-common-4b1fd8093a30653119a41ecb25a18f8b4ff3350b.tar.bz2
camera: new build flags from CyanogenMod
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rwxr-xr-xBoardCommonConfig.mk3
-rw-r--r--common.mk1
2 files changed, 3 insertions, 1 deletions
diff --git a/BoardCommonConfig.mk b/BoardCommonConfig.mk
index d257b34..28f76d7 100755
--- a/BoardCommonConfig.mk
+++ b/BoardCommonConfig.mk
@@ -16,6 +16,7 @@
# This variable is set first, so it can be overridden
# by BoardConfigVendor.mk
+USE_CAMERA_STUB := true
BOARD_USES_GENERIC_AUDIO := false
TARGET_BOOTANIMATION_PRELOAD := true
@@ -91,6 +92,8 @@ BOARD_USE_SYSFS_VSYNC_NOTIFICATION := true
BOARD_CAMERA_HAVE_ISO := true
COMMON_GLOBAL_CFLAGS += -DHAVE_ISO
COMMON_GLOBAL_CFLAGS += -DSAMSUNG_CAMERA_HARDWARE
+COMMON_GLOBAL_CFLAGS += -DSAMSUNG_DVFS
+BOARD_CAMERA_MSG_MGMT := true
# OMX
BOARD_USE_SAMSUNG_COLORFORMAT := true
diff --git a/common.mk b/common.mk
index 05585f4..45a3e8a 100644
--- a/common.mk
+++ b/common.mk
@@ -64,7 +64,6 @@ PRODUCT_PACKAGES := \
audio.primary.smdk4x12 \
audio.r_submix.default \
audio.usb.default \
- camera.smdk4x12 \
Camera \
com.android.future.usb.accessory \
hwcomposer.exynos4 \