summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Android.mk
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@android.com>2014-03-19 09:05:08 -0700
committerGlenn Kasten <gkasten@android.com>2014-03-19 10:53:13 -0700
commitddf887c08b58382920effb7f0b2049e471960b4a (patch)
treea1f2797399f967b46ec2d823f6f520f5b8426684 /services/audioflinger/Android.mk
parentb2ecad7f079f4f852d334e67fd7a72ff1696a78e (diff)
downloadframeworks_av-ddf887c08b58382920effb7f0b2049e471960b4a.zip
frameworks_av-ddf887c08b58382920effb7f0b2049e471960b4a.tar.gz
frameworks_av-ddf887c08b58382920effb7f0b2049e471960b4a.tar.bz2
Add libaudioresampler
libaudioresampler is available in both 32-bit and 64-bit, unlike libaudioflinger which is currently 32-bit only. Bug: 8141282 Change-Id: I839f7b4e6aaed6984012ca6d514323f927669df6
Diffstat (limited to 'services/audioflinger/Android.mk')
-rw-r--r--services/audioflinger/Android.mk29
1 files changed, 18 insertions, 11 deletions
diff --git a/services/audioflinger/Android.mk b/services/audioflinger/Android.mk
index 5fcc9ba..b895027 100644
--- a/services/audioflinger/Android.mk
+++ b/services/audioflinger/Android.mk
@@ -19,11 +19,8 @@ LOCAL_SRC_FILES:= \
Tracks.cpp \
Effects.cpp \
AudioMixer.cpp.arm \
- AudioResampler.cpp.arm \
AudioPolicyService.cpp \
ServiceUtilities.cpp \
- AudioResamplerCubic.cpp.arm \
- AudioResamplerSinc.cpp.arm
LOCAL_SRC_FILES += StateQueue.cpp
@@ -32,6 +29,7 @@ LOCAL_C_INCLUDES := \
$(call include-path-for, audio-utils)
LOCAL_SHARED_LIBRARIES := \
+ libaudioresampler \
libaudioutils \
libcommon_time_client \
libcutils \
@@ -43,7 +41,6 @@ LOCAL_SHARED_LIBRARIES := \
libhardware \
libhardware_legacy \
libeffects \
- libdl \
libpowermanager
LOCAL_STATIC_LIBRARIES := \
@@ -76,15 +73,9 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
test-resample.cpp \
- AudioResampler.cpp.arm \
- AudioResamplerCubic.cpp.arm \
- AudioResamplerSinc.cpp.arm
LOCAL_SHARED_LIBRARIES := \
- libdl \
- libcutils \
- libutils \
- liblog
+ libaudioresampler \
LOCAL_MODULE:= test-resample
@@ -92,4 +83,20 @@ LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:= \
+ AudioResampler.cpp.arm \
+ AudioResamplerCubic.cpp.arm \
+ AudioResamplerSinc.cpp.arm
+
+LOCAL_SHARED_LIBRARIES := \
+ libcutils \
+ libdl \
+ liblog
+
+LOCAL_MODULE := libaudioresampler
+
+include $(BUILD_SHARED_LIBRARY)
+
include $(call all-makefiles-under,$(LOCAL_PATH))