The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [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 \ |
Eric Laurent | a553c25 | 2009-07-17 12:17:14 -0700 | [diff] [blame] | 10 | AudioResamplerCubic.cpp.arm \ |
| 11 | AudioPolicyService.cpp |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 12 | |
| 13 | LOCAL_SHARED_LIBRARIES := \ |
| 14 | libcutils \ |
| 15 | libutils \ |
Glenn Kasten | 871c16c | 2010-03-05 12:18:01 -0800 | [diff] [blame] | 16 | libbinder \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 17 | libmedia \ |
Dima Zavin | 24fc2fb | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 18 | libhardware \ |
Eric Laurent | 65b6545 | 2010-06-01 23:49:17 -0700 | [diff] [blame] | 19 | libhardware_legacy \ |
| 20 | libeffects |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 21 | |
Dima Zavin | 24fc2fb | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 22 | LOCAL_STATIC_LIBRARIES := \ |
| 23 | libmedia_helper |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 24 | |
Eric Laurent | a553c25 | 2009-07-17 12:17:14 -0700 | [diff] [blame] | 25 | ifeq ($(TARGET_SIMULATOR),true) |
| 26 | LOCAL_LDLIBS += -ldl |
| 27 | else |
| 28 | LOCAL_SHARED_LIBRARIES += libdl |
| 29 | endif |
| 30 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 31 | LOCAL_MODULE:= libaudioflinger |
| 32 | |
Mathias Agopian | fad6c94 | 2009-07-14 02:08:27 -0700 | [diff] [blame] | 33 | ifeq ($(TARGET_SIMULATOR),true) |
Glenn Kasten | 871c16c | 2010-03-05 12:18:01 -0800 | [diff] [blame] | 34 | ifeq ($(HOST_OS),linux) |
| 35 | LOCAL_LDLIBS += -lrt -lpthread |
| 36 | endif |
| 37 | endif |
| 38 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 39 | include $(BUILD_SHARED_LIBRARY) |