Skip to content

Commit

Permalink
i9500: import camera wrapper
Browse files Browse the repository at this point in the history
* Add camera wrapper only, it does not swap parameters yet.
  • Loading branch information
intervigilium committed Aug 15, 2013
1 parent 4222e30 commit 19abc8f
Show file tree
Hide file tree
Showing 5 changed files with 576 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ BOARD_BLUEDROID_VENDOR_CONF := $(LOCAL_PATH)/bluetooth/libbt_vndcfg.txt
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(LOCAL_PATH)/bluetooth

# Camera
USE_CAMERA_STUB := true
COMMON_GLOBAL_CFLAGS += -DDISABLE_HW_ID_MATCH_CHECK
COMMON_GLOBAL_CFLAGS += -DSAMSUNG_CAMERA_HARDWARE
COMMON_GLOBAL_CFLAGS += -DSAMSUNG_DVFS

Expand Down
15 changes: 15 additions & 0 deletions camera/Android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
CameraWrapper.cpp

LOCAL_SHARED_LIBRARIES := \
libhardware liblog libcamera_client libutils

LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_MODULE := camera.universal5410
LOCAL_MODULE_TAGS := optional

include $(BUILD_SHARED_LIBRARY)
#include $(BUILD_HEAPTRACKED_SHARED_LIBRARY)
Loading

0 comments on commit 19abc8f

Please sign in to comment.