blob: 2222e8b2a20869289d5d3829fb417a1423e14dbf [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001LOCAL_PATH:= $(call my-dir)
2
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08003include $(CLEAR_VARS)
4
5LOCAL_SRC_FILES:= \
6 AudioFlinger.cpp \
7 AudioMixer.cpp.arm \
8 AudioResampler.cpp.arm \
9 AudioResamplerSinc.cpp.arm \
Eric Laurenta553c252009-07-17 12:17:14 -070010 AudioResamplerCubic.cpp.arm \
11 AudioPolicyService.cpp
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080012
13LOCAL_SHARED_LIBRARIES := \
14 libcutils \
15 libutils \
Glenn Kasten871c16c2010-03-05 12:18:01 -080016 libbinder \
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080017 libmedia \
Dima Zavin24fc2fb2011-04-19 22:30:36 -070018 libhardware \
Eric Laurent65b65452010-06-01 23:49:17 -070019 libhardware_legacy \
20 libeffects
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080021
Dima Zavin24fc2fb2011-04-19 22:30:36 -070022LOCAL_STATIC_LIBRARIES := \
23 libmedia_helper
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080024
Eric Laurenta553c252009-07-17 12:17:14 -070025ifeq ($(TARGET_SIMULATOR),true)
26 LOCAL_LDLIBS += -ldl
27else
28 LOCAL_SHARED_LIBRARIES += libdl
29endif
30
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080031LOCAL_MODULE:= libaudioflinger
32
Mathias Agopianfad6c942009-07-14 02:08:27 -070033ifeq ($(TARGET_SIMULATOR),true)
Glenn Kasten871c16c2010-03-05 12:18:01 -080034 ifeq ($(HOST_OS),linux)
35 LOCAL_LDLIBS += -lrt -lpthread
36 endif
37endif
38
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080039include $(BUILD_SHARED_LIBRARY)