blob: 0a5c3f5aa6a3678b1d966c66cb22b051350b5356 [file] [log] [blame]
Iliyan Malchev6d016452013-03-27 16:27:56 -07001LOCAL_PATH:= $(call my-dir)
2LOCAL_DIR_PATH:= $(call my-dir)
3include $(CLEAR_VARS)
4
5MM_CAM_FILES:= \
6 mm_camera_interface2.c \
7 mm_camera_stream.c \
8 mm_camera_channel.c \
9 mm_camera.c \
10 mm_camera_poll_thread.c \
11 mm_camera_notify.c \
12 mm_camera_sock.c \
13 mm_camera_helper.c \
14 mm_omx_jpeg_encoder.c
15
16LOCAL_CFLAGS+= -D_ANDROID_
17LOCAL_COPY_HEADERS_TO := mm-camera-interface
18LOCAL_COPY_HEADERS += mm_camera_interface2.h
19LOCAL_COPY_HEADERS += mm_omx_jpeg_encoder.h
20
21LOCAL_C_INCLUDES+= $(LOCAL_PATH)/..
22LOCAL_C_INCLUDES+= $(LOCAL_PATH)/../inc
23
24LOCAL_C_INCLUDES+= hardware/qcom/media/mm-core/inc
25LOCAL_CFLAGS += -include bionic/libc/include/sys/socket.h
26LOCAL_CFLAGS += -include bionic/libc/include/sys/un.h
27
28LOCAL_SRC_FILES := $(MM_CAM_FILES)
29
30LOCAL_MODULE := libmmcamera_interface2
31LOCAL_PRELINK_MODULE := false
32LOCAL_SHARED_LIBRARIES := libdl libcutils liblog
33LOCAL_MODULE_TAGS := optional
34
35include $(BUILD_SHARED_LIBRARY)