mako: enable camera and include camera hal libs
Change-Id: I5a18bc1990eaa7d90bfcb3c16d6354c40c513c9e
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 97db89c..635bdba 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -57,9 +57,6 @@
BOARD_EGL_CFG := device/lge/mako/egl.cfg
-# no hardware camera
-USE_CAMERA_STUB := true
-
#BOARD_USES_HGL := true
#BOARD_USES_OVERLAY := true
USE_OPENGL_RENDERER := true
diff --git a/device.mk b/device.mk
index 06ab840..e701e4c 100644
--- a/device.mk
+++ b/device.mk
@@ -130,6 +130,10 @@
audio_policy.conf
PRODUCT_PACKAGES += \
+ camera.msm8960 \
+ libmmcamera_interface2
+
+PRODUCT_PACKAGES += \
mm-vdec-omx-test \
mm-venc-omx-test720p \
libdivxdrmdecrypt \
diff --git a/init.mako.rc b/init.mako.rc
index ee059e9..e3df170 100644
--- a/init.mako.rc
+++ b/init.mako.rc
@@ -653,3 +653,9 @@
service mpdecision /system/bin/mpdecision --no_sleep --avg_comp
class main
+
+service qcamerasvr /system/bin/mm-qcamera-daemon
+ class late_start
+ user camera
+ group camera system inet input
+