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 \ |
| 18 | libhardware_legacy \ |
| 19 | libeffects |
| 20 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 21 | |
| 22 | ifeq ($(TARGET_SIMULATOR),true) |
| 23 | LOCAL_LDLIBS += -ldl |
| 24 | else |
| 25 | LOCAL_SHARED_LIBRARIES += libdl |
| 26 | endif |
| 27 | |
| 28 | LOCAL_MODULE:= libaudioflinger |
| 29 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 30 | ifeq ($(TARGET_SIMULATOR),true) |
| 31 | ifeq ($(HOST_OS),linux) |
| 32 | LOCAL_LDLIBS += -lrt -lpthread |
| 33 | endif |
| 34 | endif |
| 35 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 36 | include $(BUILD_SHARED_LIBRARY) |