blob: 1392ca80f998c2dce45bebcb7861c18bed765392 [file] [log] [blame]
Mathias Agopian3cf61352010-02-09 17:46:37 -08001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
5 Camera.cpp \
6 CameraParameters.cpp \
7 ICamera.cpp \
8 ICameraClient.cpp \
Wu-cheng Li4ca2c7c2011-06-01 17:22:24 +08009 ICameraService.cpp \
10 ICameraRecordingProxy.cpp \
11 ICameraRecordingProxyListener.cpp
Mathias Agopian3cf61352010-02-09 17:46:37 -080012
13LOCAL_SHARED_LIBRARIES := \
14 libcutils \
15 libutils \
16 libbinder \
17 libhardware \
Jamie Gennisbfa33aa2010-12-20 11:51:31 -080018 libui \
19 libgui
Mathias Agopian3cf61352010-02-09 17:46:37 -080020
codeworkx612842e2012-11-27 01:30:33 +010021ifeq ($(BOARD_CAMERA_HAVE_ISO),true)
22 LOCAL_CFLAGS += -DHAVE_ISO
23endif
24
Ankit Premrajka140a9ac2011-11-21 19:25:02 -080025ifeq ($(BOARD_USES_QCOM_HARDWARE),true)
26 LOCAL_CFLAGS += -DQCOM_HARDWARE
27endif
28
Dorian Snyderb57c3002013-05-31 22:35:41 -070029ifeq ($(BOARD_USES_QCOM_LEGACY_CAM_PARAMS),true)
30 LOCAL_CFLAGS += -DQCOM_LEGACY_CAM_PARAMS
31endif
32
Mathias Agopian3cf61352010-02-09 17:46:37 -080033LOCAL_MODULE:= libcamera_client
34
Mathias Agopian3cf61352010-02-09 17:46:37 -080035include $(BUILD_SHARED_LIBRARY)