1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_SRC_FILES := \ 6 QCamera2Factory.cpp \ 7 QCamera2Hal.cpp \ 8 QCamera2HWI.cpp \ 9 QCameraMem.cpp \ 10 ../util/QCameraQueue.cpp \ 11 ../util/QCameraCmdThread.cpp \ 12 QCameraStateMachine.cpp \ 13 QCameraChannel.cpp \ 14 QCameraStream.cpp \ 15 QCameraPostProc.cpp \ 16 QCamera2HWICallbacks.cpp \ 17 QCameraParameters.cpp \ 18 QCameraThermalAdapter.cpp 19 20LOCAL_CFLAGS = -Wall -Werror -DDEFAULT_ZSL_MODE_ON -DDEFAULT_DENOISE_MODE_ON 21#Debug logs are enabled 22#LOCAL_CFLAGS += -DDISABLE_DEBUG_LOG 23 24LOCAL_C_INCLUDES := \ 25 $(LOCAL_PATH)/../stack/common \ 26 frameworks/native/include/media/hardware \ 27 frameworks/native/include/media/openmax \ 28 hardware/qcom/media/libstagefrighthw \ 29 system/media/camera/include \ 30 $(LOCAL_PATH)/../../mm-image-codec/qexif \ 31 $(LOCAL_PATH)/../../mm-image-codec/qomx_core \ 32 $(LOCAL_PATH)/../util 33 34LOCAL_C_INCLUDES += \ 35 hardware/qcom/display/msm8974/libgralloc 36 37LOCAL_SHARED_LIBRARIES := libcamera_client liblog libhardware libutils libcutils libdl 38LOCAL_SHARED_LIBRARIES += libmmcamera_interface libmmjpeg_interface 39 40LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw 41LOCAL_MODULE := camera.$(TARGET_BOARD_PLATFORM) 42#LOCAL_MODULE := camera.$(TARGET_DEVICE) 43LOCAL_MODULE_TAGS := optional 44 45include $(BUILD_SHARED_LIBRARY) 46 47#include $(LOCAL_PATH)/test/Android.mk 48 49