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 | |
Eric Laurent | 6d8b694 | 2011-06-24 07:01:31 -0700 | [diff] [blame^] | 13 | LOCAL_C_INCLUDES := \ |
| 14 | system/media/audio_effects/include |
| 15 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 16 | LOCAL_SHARED_LIBRARIES := \ |
| 17 | libcutils \ |
| 18 | libutils \ |
| 19 | libbinder \ |
| 20 | libmedia \ |
Dima Zavin | fce7a47 | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 21 | libhardware \ |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 22 | libhardware_legacy \ |
| 23 | libeffects |
| 24 | |
Dima Zavin | fce7a47 | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 25 | LOCAL_STATIC_LIBRARIES := \ |
| 26 | libmedia_helper |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 27 | |
| 28 | ifeq ($(TARGET_SIMULATOR),true) |
| 29 | LOCAL_LDLIBS += -ldl |
| 30 | else |
| 31 | LOCAL_SHARED_LIBRARIES += libdl |
| 32 | endif |
| 33 | |
| 34 | LOCAL_MODULE:= libaudioflinger |
| 35 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 36 | ifeq ($(TARGET_SIMULATOR),true) |
| 37 | ifeq ($(HOST_OS),linux) |
| 38 | LOCAL_LDLIBS += -lrt -lpthread |
| 39 | endif |
| 40 | endif |
| 41 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 42 | include $(BUILD_SHARED_LIBRARY) |