Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8bc546ec authored by Ethan Chen's avatar Ethan Chen
Browse files

frameworks/av: Use project pathmap

Change-Id: Icefaaa985a551bb3037f6f457a108fd3fe8c5363
parent dec93485
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ LOCAL_32_BIT_ONLY := true
ifeq ($(TARGET_ENABLE_QC_AV_ENHANCEMENTS),true)
    LOCAL_CFLAGS += -DENABLE_AV_ENHANCEMENTS
    LOCAL_C_INCLUDES += $(TOP)/frameworks/av/include/media
    LOCAL_C_INCLUDES += $(TOP)/hardware/qcom/media/mm-core/inc
    LOCAL_C_INCLUDES += $(TOP)/$(call project-path-for,qcom-media)/$(TARGET_BOARD_PLATFORM)/mm-core/inc
endif

include $(BUILD_SHARED_LIBRARY)
+3 −3
Original line number Diff line number Diff line
@@ -127,13 +127,13 @@ LOCAL_STATIC_LIBRARIES := \
        libmedia_helper

ifeq ($(TARGET_USES_QCOM_BSP), true)
    LOCAL_C_INCLUDES += hardware/qcom/display/libgralloc
    LOCAL_C_INCLUDES += $(call project-path-for,qcom-display)/$(TARGET_BOARD_PLATFORM)/libgralloc
    LOCAL_CFLAGS += -DQCOM_BSP
endif

ifeq ($(TARGET_ENABLE_QC_AV_ENHANCEMENTS),true)
       LOCAL_CFLAGS     += -DENABLE_AV_ENHANCEMENTS
       LOCAL_C_INCLUDES += $(TOP)/hardware/qcom/media/mm-core/inc
       LOCAL_C_INCLUDES += $(TOP)/$(call project-path-for,qcom-media)/$(TARGET_BOARD_PLATFORM)/mm-core/inc
       LOCAL_C_INCLUDES += $(TOP)/frameworks/av/media/libstagefright/include
       LOCAL_SRC_FILES  += ExtendedMediaDefs.cpp
       LOCAL_SRC_FILES  += ExtendedWriter.cpp
@@ -143,7 +143,7 @@ endif #TARGET_ENABLE_AV_ENHANCEMENTS
ifeq ($(call is-vendor-board-platform,QCOM),true)
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PCM_OFFLOAD_24)),true)
       LOCAL_CFLAGS     += -DPCM_OFFLOAD_ENABLED_24
       LOCAL_C_INCLUDES += $(TOP)/hardware/qcom/media/mm-core/inc
       LOCAL_C_INCLUDES += $(TOP)/$(call project-path-for,qcom-media)/$(TARGET_BOARD_PLATFORM)/mm-core/inc
endif
endif