Iliyan Malchev | 6d01645 | 2013-03-27 16:27:56 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | LOCAL_DIR_PATH:= $(call my-dir) |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | MM_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 | |
| 16 | LOCAL_CFLAGS+= -D_ANDROID_ |
| 17 | LOCAL_COPY_HEADERS_TO := mm-camera-interface |
| 18 | LOCAL_COPY_HEADERS += mm_camera_interface2.h |
| 19 | LOCAL_COPY_HEADERS += mm_omx_jpeg_encoder.h |
| 20 | |
| 21 | LOCAL_C_INCLUDES+= $(LOCAL_PATH)/.. |
| 22 | LOCAL_C_INCLUDES+= $(LOCAL_PATH)/../inc |
| 23 | |
| 24 | LOCAL_C_INCLUDES+= hardware/qcom/media/mm-core/inc |
| 25 | LOCAL_CFLAGS += -include bionic/libc/include/sys/socket.h |
| 26 | LOCAL_CFLAGS += -include bionic/libc/include/sys/un.h |
| 27 | |
| 28 | LOCAL_SRC_FILES := $(MM_CAM_FILES) |
| 29 | |
| 30 | LOCAL_MODULE := libmmcamera_interface2 |
| 31 | LOCAL_PRELINK_MODULE := false |
| 32 | LOCAL_SHARED_LIBRARIES := libdl libcutils liblog |
| 33 | LOCAL_MODULE_TAGS := optional |
| 34 | |
| 35 | include $(BUILD_SHARED_LIBRARY) |