summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Cerqueira <cyanogenmod@cerqueira.org>2014-04-06 23:26:19 +0100
committerRicardo Cerqueira <cyanogenmod@cerqueira.org>2014-04-06 23:27:57 +0100
commit5e43572de01fc08b63dab5adec626c1ac7a5ab2b (patch)
treed1fd8e4ab19632994140f2a305c7a98dd12f1675
parent6489a2db93143e1f96e42d9e718584f645ab76c8 (diff)
downloaddevice_samsung_i9300-5e43572de01fc08b63dab5adec626c1ac7a5ab2b.zip
device_samsung_i9300-5e43572de01fc08b63dab5adec626c1ac7a5ab2b.tar.gz
device_samsung_i9300-5e43572de01fc08b63dab5adec626c1ac7a5ab2b.tar.bz2
Switch back to the binary camera HAL
Add compatibility libutils symbols required by it, and use it again. It's much more reliable than the reimplementation Change-Id: Ic837f4688015a956d635f0cf6b9846c24265a4e1
-rw-r--r--BoardConfig.mk2
-rw-r--r--i9300.mk4
-rw-r--r--proprietary-files.txt1
3 files changed, 3 insertions, 4 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 70fac36..c5c4ac7 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -54,5 +54,7 @@ BOARD_SEPOLICY_UNION += \
# assert
TARGET_OTA_ASSERT_DEVICE := m0,i9300,GT-I9300
+COMMON_GLOBAL_CFLAGS += -DNEEDS_VECTORIMPL_SYMBOLS
+
# inherit from the proprietary version
-include vendor/samsung/i9300/BoardConfigVendor.mk
diff --git a/i9300.mk b/i9300.mk
index 4868dc9..c6a4d07 100644
--- a/i9300.mk
+++ b/i9300.mk
@@ -38,10 +38,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/tiny_hw.xml:system/etc/sound/m0
-# Camera
-PRODUCT_PACKAGES += \
- camera.smdk4x12
-
# Sensors
PRODUCT_PACKAGES += \
sensors.smdk4x12
diff --git a/proprietary-files.txt b/proprietary-files.txt
index 56fe3d8..9fb8cb1 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -1,4 +1,5 @@
system/bin/gpsd
+system/lib/hw/camera.smdk4x12.so
system/lib/hw/gps.exynos4.so
system/lib/libsec-ril.so
system/usr/idc/sec_touchscreen.idc