blob: 1b4c5e598cfb89d0e3f8730b9320ca394bebe99b [file] [log] [blame]
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
# QCamera3Factory.cpp has unused parameters.
# QCamera3Channel.cpp compares array 'str' to a null pointer.
LOCAL_CLANG_CFLAGS += -Wno-unused-parameter -Wno-tautological-pointer-compare
LOCAL_SRC_FILES := \
QCamera3Factory.cpp \
QCamera3Hal.cpp \
QCamera3HWI.cpp \
QCamera3Mem.cpp \
QCamera3Stream.cpp \
QCamera3Channel.cpp \
QCamera3PostProc.cpp \
QCamera3VendorTags.cpp \
../util/QCameraCmdThread.cpp \
../util/QCameraQueue.cpp
LOCAL_CFLAGS := -Wall -Werror
LOCAL_CFLAGS += -DHAS_MULTIMEDIA_HINTS
LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/../stack/common \
frameworks/native/include/media/openmax \
frameworks/native/include \
frameworks/av/include \
hardware/qcom/media/libstagefrighthw \
system/media/camera/include \
$(LOCAL_PATH)/../../mm-image-codec/qexif \
$(LOCAL_PATH)/../../mm-image-codec/qomx_core \
$(LOCAL_PATH)/../util
LOCAL_C_INCLUDES += \
hardware/qcom/display/msm8974/libgralloc
LOCAL_SHARED_LIBRARIES := libcamera_client liblog libhardware libutils libcutils libdl libsync
LOCAL_SHARED_LIBRARIES += libmmcamera_interface libmmjpeg_interface libui libcamera_metadata
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
#LOCAL_MODULE := camera.$(TARGET_BOARD_PLATFORM)
LOCAL_MODULE := camera.$(TARGET_DEVICE)
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
#include $(LOCAL_PATH)/test/Android.mk