summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Android.mk
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-03-18 00:14:12 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-03-18 00:14:12 +0000
commit314869117d5e3365fc3e43fee01209d18515ca42 (patch)
treea1975d895276c929a5e5a20166124368f2e21eb9 /services/audioflinger/Android.mk
parent37e05edf1cfe297f9c7d382787ecab53d5a2b5c8 (diff)
parentc7e5040aa8b8e4da86814bf560346c7571e48087 (diff)
downloadframeworks_av-314869117d5e3365fc3e43fee01209d18515ca42.zip
frameworks_av-314869117d5e3365fc3e43fee01209d18515ca42.tar.gz
frameworks_av-314869117d5e3365fc3e43fee01209d18515ca42.tar.bz2
Merge "move audio policy service to a separate library"
Diffstat (limited to 'services/audioflinger/Android.mk')
-rw-r--r--services/audioflinger/Android.mk16
1 files changed, 13 insertions, 3 deletions
diff --git a/services/audioflinger/Android.mk b/services/audioflinger/Android.mk
index 24f0d55..de7e3c3 100644
--- a/services/audioflinger/Android.mk
+++ b/services/audioflinger/Android.mk
@@ -13,6 +13,16 @@ include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
+LOCAL_SRC_FILES := \
+ ServiceUtilities.cpp
+
+# FIXME Move this library to frameworks/native
+LOCAL_MODULE := libserviceutility
+
+include $(BUILD_STATIC_LIBRARY)
+
+include $(CLEAR_VARS)
+
LOCAL_SRC_FILES:= \
AudioFlinger.cpp \
Threads.cpp \
@@ -20,8 +30,6 @@ LOCAL_SRC_FILES:= \
Effects.cpp \
AudioMixer.cpp.arm \
AudioResampler.cpp.arm \
- AudioPolicyService.cpp \
- ServiceUtilities.cpp \
AudioResamplerCubic.cpp.arm \
AudioResamplerSinc.cpp.arm \
AudioResamplerDyn.cpp.arm
@@ -29,6 +37,7 @@ LOCAL_SRC_FILES:= \
LOCAL_SRC_FILES += StateQueue.cpp
LOCAL_C_INCLUDES := \
+ $(TOPDIR)frameworks/av/services/audiopolicy \
$(call include-path-for, audio-effects) \
$(call include-path-for, audio-utils)
@@ -50,7 +59,8 @@ LOCAL_SHARED_LIBRARIES := \
LOCAL_STATIC_LIBRARIES := \
libscheduling_policy \
libcpustats \
- libmedia_helper
+ libmedia_helper \
+ libserviceutility
LOCAL_MODULE:= libaudioflinger
LOCAL_32_BIT_ONLY := true