1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 LOCAL_SRC_FILES := \ 6 QCamera3Factory.cpp \ 7 QCamera3Hal.cpp \ 8 QCamera3HWI.cpp \ 9 QCamera3Mem.cpp \ 10 QCamera3Stream.cpp \ 11 QCamera3Channel.cpp \ 12 QCamera3PostProc.cpp \ 13 ../util/QCameraCmdThread.cpp \ 14 ../util/QCameraQueue.cpp 15 16 LOCAL_CFLAGS := -Wall 17 LOCAL_CFLAGS += -DHAS_MULTIMEDIA_HINTS 18 19 LOCAL_C_INCLUDES := \ 20 $(LOCAL_PATH)/../stack/common \ 21 frameworks/native/include/media/openmax \ 22 frameworks/native/include \ 23 frameworks/av/include \ 24 hardware/qcom/media/libstagefrighthw \ 25 system/media/camera/include \ 26 $(LOCAL_PATH)/../../mm-image-codec/qexif \ 27 $(LOCAL_PATH)/../../mm-image-codec/qomx_core \ 28 $(LOCAL_PATH)/../util 29 30 ifneq ($(filter msm8974 msm8x74,$(TARGET_BOARD_PLATFORM)),) 31 LOCAL_C_INCLUDES += \ 32 hardware/qcom/display/msm8974/libgralloc 33 else 34 LOCAL_C_INCLUDES += \ 35 hardware/qcom/display/msm8960/libgralloc 36 endif 37 38 LOCAL_SHARED_LIBRARIES := libcamera_client liblog libhardware libutils libcutils libdl 39 LOCAL_SHARED_LIBRARIES += libmmcamera_interface libmmjpeg_interface libui libcamera_metadata 40 41 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw 42 #LOCAL_MODULE := camera.$(TARGET_BOARD_PLATFORM) 43 LOCAL_MODULE := camera.$(TARGET_DEVICE) 44 LOCAL_MODULE_TAGS := optional 45 46 include $(BUILD_SHARED_LIBRARY) 47 48 #include $(LOCAL_PATH)/test/Android.mk 49