From 53615e29c99c5e9d2ca77aaefd7bf5c770513120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Gaffie?= Date: Thu, 19 Mar 2015 09:24:12 +0100 Subject: Migrate helper functions from managerdefault to common MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch moves from manager to common: -parse helper functions of the policy configuration file -collection helper function on -output / input descriptors -DeviceDescriptor -AudioPatch / Audio Port -IO Profile -HwModule Change-Id: If45e53418db75af1af198f43c4ef27884499055f Signed-off-by: François Gaffie --- services/audiopolicy/Android.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'services/audiopolicy/Android.mk') diff --git a/services/audiopolicy/Android.mk b/services/audiopolicy/Android.mk index fb56fd8..334967e 100644 --- a/services/audiopolicy/Android.mk +++ b/services/audiopolicy/Android.mk @@ -16,13 +16,13 @@ else LOCAL_SRC_FILES += \ service/AudioPolicyInterfaceImpl.cpp \ service/AudioPolicyClientImpl.cpp - endif LOCAL_C_INCLUDES := \ $(TOPDIR)frameworks/av/services/audioflinger \ $(call include-path-for, audio-effects) \ - $(call include-path-for, audio-utils) + $(call include-path-for, audio-utils) \ + $(TOPDIR)frameworks/av/services/audiopolicy/common/include LOCAL_SHARED_LIBRARIES := \ libcutils \ @@ -63,6 +63,9 @@ LOCAL_SHARED_LIBRARIES := \ liblog \ libsoundtrigger +LOCAL_C_INCLUDES += \ + $(TOPDIR)frameworks/av/services/audiopolicy/common/include \ + LOCAL_STATIC_LIBRARIES := \ libmedia_helper \ libaudiopolicycomponents @@ -84,6 +87,9 @@ LOCAL_SHARED_LIBRARIES := \ LOCAL_STATIC_LIBRARIES := \ libaudiopolicycomponents +LOCAL_C_INCLUDES += \ + $(TOPDIR)frameworks/av/services/audiopolicy/common/include \ + LOCAL_MODULE:= libaudiopolicymanager include $(BUILD_SHARED_LIBRARY) -- cgit v1.1