From f02808339bb06f3fd243973db18d53089338fd94 Mon Sep 17 00:00:00 2001 From: Nicholas Flintham Date: Sat, 29 Jun 2013 12:46:34 +0100 Subject: Fix includes for media-caf Change-Id: I5d6dedbb9ba03fc313ab27f91bf83376fa20a7a9 --- media/libmediaplayerservice/Android.mk | 9 +++++++-- media/libstagefright/Android.mk | 5 +++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/media/libmediaplayerservice/Android.mk b/media/libmediaplayerservice/Android.mk index d978e90..1683db2 100644 --- a/media/libmediaplayerservice/Android.mk +++ b/media/libmediaplayerservice/Android.mk @@ -53,8 +53,13 @@ LOCAL_C_INCLUDES := \ $(TOP)/external/tremolo/Tremolo ifeq ($(BOARD_USES_QCOM_HARDWARE),true) -LOCAL_C_INCLUDES += \ - $(TOP)/hardware/qcom/media/mm-core/inc + ifeq ($(TARGET_QCOM_MEDIA_VARIANT),caf) + LOCAL_C_INCLUDES += \ + $(TOP)/hardware/qcom/media-caf/mm-core/inc + else + LOCAL_C_INCLUDES += \ + $(TOP)/hardware/qcom/media/mm-core/inc + endif endif LOCAL_MODULE:= libmediaplayerservice diff --git a/media/libstagefright/Android.mk b/media/libstagefright/Android.mk index 766cf5e..a859e4a 100755 --- a/media/libstagefright/Android.mk +++ b/media/libstagefright/Android.mk @@ -95,8 +95,13 @@ LOCAL_SRC_FILES += \ ExtendedExtractor.cpp \ QCUtilityClass.cpp +ifeq ($(TARGET_QCOM_MEDIA_VARIANT),caf) +LOCAL_C_INCLUDES += \ + $(TOP)/hardware/qcom/media-caf/mm-core/inc +else LOCAL_C_INCLUDES += \ $(TOP)/hardware/qcom/media/mm-core/inc +endif ifeq ($(TARGET_QCOM_AUDIO_VARIANT),caf) ifeq ($(call is-board-platform-in-list,msm8660 msm7x27a msm7x30),true) -- cgit v1.1