blob: 2222e8b2a20869289d5d3829fb417a1423e14dbf [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 \
Dima Zavinfce7a472011-04-19 22:30:36 -070018 libhardware \
Mathias Agopian65ab4712010-07-14 17:59:35 -070019 libhardware_legacy \
20 libeffects
21
Dima Zavinfce7a472011-04-19 22:30:36 -070022LOCAL_STATIC_LIBRARIES := \
23 libmedia_helper
Mathias Agopian65ab4712010-07-14 17:59:35 -070024
25ifeq ($(TARGET_SIMULATOR),true)
26 LOCAL_LDLIBS += -ldl
27else
28 LOCAL_SHARED_LIBRARIES += libdl
29endif
30
31LOCAL_MODULE:= libaudioflinger
32
Mathias Agopian65ab4712010-07-14 17:59:35 -070033ifeq ($(TARGET_SIMULATOR),true)
34 ifeq ($(HOST_OS),linux)
35 LOCAL_LDLIBS += -lrt -lpthread
36 endif
37endif
38
Mathias Agopian65ab4712010-07-14 17:59:35 -070039include $(BUILD_SHARED_LIBRARY)