Use libmedia header paths in legacy audio libs

The headers for these libraries include headers from libmedia,
which means they need access to the full libmedia include path.

Bug: 27804373
Test: These libraries compile when libmedia's compilation path changes
      slightly.

Change-Id: I201c82c85a1513b4165c7565dfac4f4371d6fe5c
This commit is contained in:
Christopher Wiley 2016-04-14 10:13:05 -07:00
parent f2f846e795
commit 79a8b313a7

View file

@ -11,6 +11,7 @@ LOCAL_SRC_FILES := \
audio_hw_hal.cpp audio_hw_hal.cpp
LOCAL_MODULE := libaudiohw_legacy LOCAL_MODULE := libaudiohw_legacy
LOCAL_SHARED_LIBRARIES := libmedia
LOCAL_STATIC_LIBRARIES := libmedia_helper LOCAL_STATIC_LIBRARIES := libmedia_helper
LOCAL_CFLAGS := -Wno-unused-parameter -Wno-gnu-designator LOCAL_CFLAGS := -Wno-unused-parameter -Wno-gnu-designator
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include
@ -29,6 +30,7 @@ ifeq ($(AUDIO_POLICY_TEST),true)
LOCAL_CFLAGS += -DAUDIO_POLICY_TEST LOCAL_CFLAGS += -DAUDIO_POLICY_TEST
endif endif
LOCAL_SHARED_LIBRARIES := libmedia
LOCAL_STATIC_LIBRARIES := libmedia_helper LOCAL_STATIC_LIBRARIES := libmedia_helper
LOCAL_MODULE := libaudiopolicy_legacy LOCAL_MODULE := libaudiopolicy_legacy
LOCAL_CFLAGS += -Wno-unused-parameter LOCAL_CFLAGS += -Wno-unused-parameter
@ -46,6 +48,7 @@ LOCAL_SRC_FILES := \
LOCAL_SHARED_LIBRARIES := \ LOCAL_SHARED_LIBRARIES := \
libcutils \ libcutils \
libmedia \
libutils \ libutils \
liblog liblog