blob: 6d78614f570b26a729cc9a022f703e7e93a05757 [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
13LOCAL_SHARED_LIBRARIES := \
14 libcutils \
15 libutils \
16 libbinder \
17 libmedia \
18 libhardware_legacy \
19 libeffects
20
Mathias Agopian65ab4712010-07-14 17:59:35 -070021
22ifeq ($(TARGET_SIMULATOR),true)
23 LOCAL_LDLIBS += -ldl
24else
25 LOCAL_SHARED_LIBRARIES += libdl
26endif
27
28LOCAL_MODULE:= libaudioflinger
29
Mathias Agopian65ab4712010-07-14 17:59:35 -070030ifeq ($(TARGET_SIMULATOR),true)
31 ifeq ($(HOST_OS),linux)
32 LOCAL_LDLIBS += -lrt -lpthread
33 endif
34endif
35
Mathias Agopian65ab4712010-07-14 17:59:35 -070036include $(BUILD_SHARED_LIBRARY)