forked from dkbrown/android_device_samsung_epic
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathAndroid.mk
36 lines (26 loc) · 927 Bytes
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
LOCAL_PATH:= $(call my-dir)
ifeq ($(TARGET_DEVICE),epicmtd)
include $(CLEAR_VARS)
# HAL module implemenation stored in
# hw/<COPYPIX_HARDWARE_MODULE_ID>.<ro.product.board>.so
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../include
LOCAL_C_INCLUDES += hardware/samsung/exynos3/s5pc110/include
LOCAL_C_INCLUDES += hardware/samsung/exynos3/s5pc110/libs3cjpeg
LOCAL_C_INCLUDES += frameworks/native/include/media/hardware
LOCAL_SRC_FILES:= \
SecCamera.cpp \
SecCameraHWInterface.cpp \
SecCameraUtils.cpp \
LOCAL_SHARED_LIBRARIES:= libutils libcutils libbinder liblog libcamera_client libhardware
LOCAL_SHARED_LIBRARIES+= libs3cjpeg
LOCAL_MODULE := camera.s5pc110
LOCAL_MODULE_TAGS := optional
ifdef BOARD_SECOND_CAMERA_DEVICE
LOCAL_CFLAGS += -DFFC_PRESENT
endif
ifeq ($(TARGET_DEVICE),epicmtd)
LOCAL_CFLAGS += -DHAVE_FLASH
endif
include $(BUILD_SHARED_LIBRARY)
endif