LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES := \ QCamera2Factory.cpp \ QCamera2Hal.cpp \ QCamera2HWI.cpp \ QCameraMem.cpp \ ../util/QCameraQueue.cpp \ ../util/QCameraCmdThread.cpp \ QCameraStateMachine.cpp \ QCameraChannel.cpp \ QCameraStream.cpp \ QCameraPostProc.cpp \ QCamera2HWICallbacks.cpp \ QCameraParameters.cpp \ QCameraThermalAdapter.cpp LOCAL_CFLAGS = -Wall -Werror -DDEFAULT_ZSL_MODE_ON -DDEFAULT_DENOISE_MODE_ON #Debug logs are enabled #LOCAL_CFLAGS += -DDISABLE_DEBUG_LOG LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/../stack/common \ frameworks/native/include/media/hardware \ frameworks/native/include/media/openmax \ 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 LOCAL_SHARED_LIBRARIES += libmmcamera_interface libmmjpeg_interface 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