summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Android.mk
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-04-24 10:01:03 -0700
committerGlenn Kasten <gkasten@google.com>2012-04-24 10:52:04 -0700
commit1dc28b794587be22c90a97070d928f94586db638 (patch)
tree81fc99726926ceb84a331350434beb2666695cf1 /services/audioflinger/Android.mk
parent9e786c78898d738b1cb21cd8bdfcc49dbcacfce6 (diff)
downloadframeworks_av-1dc28b794587be22c90a97070d928f94586db638.zip
frameworks_av-1dc28b794587be22c90a97070d928f94586db638.tar.gz
frameworks_av-1dc28b794587be22c90a97070d928f94586db638.tar.bz2
Use scheduling policy service
Change-Id: I3c09da1dc0de5039d0c15ce7fb2bc373fa398712
Diffstat (limited to 'services/audioflinger/Android.mk')
-rw-r--r--services/audioflinger/Android.mk14
1 files changed, 13 insertions, 1 deletions
diff --git a/services/audioflinger/Android.mk b/services/audioflinger/Android.mk
index 4fbc67d..48b35cf 100644
--- a/services/audioflinger/Android.mk
+++ b/services/audioflinger/Android.mk
@@ -3,6 +3,17 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
+ ISchedulingPolicyService.cpp \
+ SchedulingPolicyService.cpp
+
+# FIXME Move this library to frameworks/native
+LOCAL_MODULE := libscheduling_policy
+
+include $(BUILD_STATIC_LIBRARY)
+
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := \
AudioBufferProviderSource.cpp \
AudioStreamOutSink.cpp \
AudioStreamInSource.cpp \
@@ -56,6 +67,7 @@ LOCAL_SHARED_LIBRARIES := \
libpowermanager
LOCAL_STATIC_LIBRARIES := \
+ libscheduling_policy \
libnbaio \
libcpustats \
libmedia_helper
@@ -68,6 +80,6 @@ LOCAL_CFLAGS += -DFAST_MIXER_STATISTICS
LOCAL_CFLAGS += -DSTATE_QUEUE_INSTANTIATIONS='"StateQueueInstantiations.cpp"'
-LOCAL_CFLAGS += -UHAVE_REQUEST_PRIORITY -UFAST_TRACKS_AT_NON_NATIVE_SAMPLE_RATE -USOAKER
+LOCAL_CFLAGS += -DHAVE_REQUEST_PRIORITY -UFAST_TRACKS_AT_NON_NATIVE_SAMPLE_RATE -USOAKER
include $(BUILD_SHARED_LIBRARY)