blob: 75d24a196aea047da2425698012ce927d9807cce [file] [log] [blame]
Mathias Agopian65ab4712010-07-14 17:59:35 -07001LOCAL_PATH:= $(call my-dir)
2
Mathias Agopian65ab4712010-07-14 17:59:35 -07003include $(CLEAR_VARS)
4
5LOCAL_SRC_FILES:= \
6 AudioFlinger.cpp \
7 AudioMixer.cpp.arm \
8 AudioResampler.cpp.arm \
9 AudioResamplerSinc.cpp.arm \
10 AudioResamplerCubic.cpp.arm \
11 AudioPolicyService.cpp
12
Eric Laurent6d8b6942011-06-24 07:01:31 -070013LOCAL_C_INCLUDES := \
14 system/media/audio_effects/include
15
Mathias Agopian65ab4712010-07-14 17:59:35 -070016LOCAL_SHARED_LIBRARIES := \
17 libcutils \
18 libutils \
19 libbinder \
20 libmedia \
Dima Zavinfce7a472011-04-19 22:30:36 -070021 libhardware \
Mathias Agopian65ab4712010-07-14 17:59:35 -070022 libhardware_legacy \
23 libeffects
24
Dima Zavinfce7a472011-04-19 22:30:36 -070025LOCAL_STATIC_LIBRARIES := \
26 libmedia_helper
Mathias Agopian65ab4712010-07-14 17:59:35 -070027
28ifeq ($(TARGET_SIMULATOR),true)
29 LOCAL_LDLIBS += -ldl
30else
31 LOCAL_SHARED_LIBRARIES += libdl
32endif
33
34LOCAL_MODULE:= libaudioflinger
35
Mathias Agopian65ab4712010-07-14 17:59:35 -070036ifeq ($(TARGET_SIMULATOR),true)
37 ifeq ($(HOST_OS),linux)
38 LOCAL_LDLIBS += -lrt -lpthread
39 endif
40endif
41
Mathias Agopian65ab4712010-07-14 17:59:35 -070042include $(BUILD_SHARED_LIBRARY)