#ifeq ($(call is-board-platform,msm8960),true) OLD_LOCAL_PATH := $(LOCAL_PATH) LOCAL_PATH := $(call my-dir) USE_BIONIC_HEADER:=true include $(CLEAR_VARS) MM_CAM_FILES := \ src/mm_camera_interface.c \ src/mm_camera_stream.c \ src/mm_camera_channel.c \ src/mm_camera.c \ src/mm_camera_thread.c \ src/mm_camera_data.c \ src/mm_camera_sock.c \ src/mm_camera_helper.c LOCAL_CFLAGS += -D_ANDROID_ LOCAL_COPY_HEADERS_TO := mm-camera-interface_badger LOCAL_COPY_HEADERS := inc/mm_camera_interface.h LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/inc \ $(LOCAL_PATH)/../common \ $(LOCAL_PATH)/../../../ ifneq ($(strip $(USE_BIONIC_HEADER)),true) LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include/media LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr endif LOCAL_C_INCLUDES+= hardware/qcom/media/mm-core/inc LOCAL_CFLAGS += -include bionic/libc/include/sys/socket.h LOCAL_CFLAGS += -include bionic/libc/include/sys/un.h LOCAL_SRC_FILES := $(MM_CAM_FILES) LOCAL_MODULE := libmmcamera_interface LOCAL_PRELINK_MODULE := false LOCAL_SHARED_LIBRARIES := libdl libcutils liblog LOCAL_MODULE_TAGS := optional include $(BUILD_SHARED_LIBRARY) LOCAL_PATH := $(OLD_LOCAL_PATH) #endif