| LOCAL_PATH:= $(call my-dir) |
| |
| include $(CLEAR_VARS) |
| |
| LOCAL_SRC_FILES:= \ |
| AudioFlinger.cpp \ |
| AudioMixer.cpp.arm \ |
| AudioResampler.cpp.arm \ |
| AudioResamplerSinc.cpp.arm \ |
| AudioResamplerCubic.cpp.arm \ |
| AudioPolicyService.cpp |
| |
| LOCAL_SHARED_LIBRARIES := \ |
| libcutils \ |
| libutils \ |
| libbinder \ |
| libmedia \ |
| libhardware \ |
| libhardware_legacy \ |
| libeffects |
| |
| LOCAL_STATIC_LIBRARIES := \ |
| libmedia_helper |
| |
| ifeq ($(TARGET_SIMULATOR),true) |
| LOCAL_LDLIBS += -ldl |
| else |
| LOCAL_SHARED_LIBRARIES += libdl |
| endif |
| |
| LOCAL_MODULE:= libaudioflinger |
| |
| ifeq ($(TARGET_SIMULATOR),true) |
| ifeq ($(HOST_OS),linux) |
| LOCAL_LDLIBS += -lrt -lpthread |
| endif |
| endif |
| |
| include $(BUILD_SHARED_LIBRARY) |