Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_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 | |
| 13 | LOCAL_SHARED_LIBRARIES := \ |
| 14 | libcutils \ |
| 15 | libutils \ |
| 16 | libbinder \ |
| 17 | libmedia \ |
Dima Zavin | fce7a47 | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 18 | libhardware \ |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 19 | libhardware_legacy \ |
| 20 | libeffects |
| 21 | |
Dima Zavin | fce7a47 | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 22 | LOCAL_STATIC_LIBRARIES := \ |
Glenn Kasten | 4d8d0c3 | 2011-07-08 15:26:12 -0700 | [diff] [blame^] | 23 | libcpustats \ |
Dima Zavin | fce7a47 | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 24 | libmedia_helper |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 25 | |
| 26 | ifeq ($(TARGET_SIMULATOR),true) |
| 27 | LOCAL_LDLIBS += -ldl |
| 28 | else |
| 29 | LOCAL_SHARED_LIBRARIES += libdl |
| 30 | endif |
| 31 | |
| 32 | LOCAL_MODULE:= libaudioflinger |
| 33 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 34 | ifeq ($(TARGET_SIMULATOR),true) |
| 35 | ifeq ($(HOST_OS),linux) |
| 36 | LOCAL_LDLIBS += -lrt -lpthread |
| 37 | endif |
| 38 | endif |
| 39 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 40 | include $(BUILD_SHARED_LIBRARY) |