1LOCAL_PATH:= $(call my-dir) 2 3# music bundle wrapper 4LOCAL_PATH:= $(call my-dir) 5include $(CLEAR_VARS) 6 7LOCAL_ARM_MODE := arm 8 9LOCAL_SRC_FILES:= \ 10 Bundle/EffectBundle.cpp 11 12LOCAL_MODULE:= libbundlewrapper 13 14LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx 15 16LOCAL_PRELINK_MODULE := false 17 18LOCAL_STATIC_LIBRARIES += libmusicbundle 19 20LOCAL_SHARED_LIBRARIES := \ 21 libcutils \ 22 23ifeq ($(TARGET_SIMULATOR),true) 24LOCAL_LDLIBS += -ldl 25else 26LOCAL_SHARED_LIBRARIES += libdl 27endif 28 29 30LOCAL_C_INCLUDES += \ 31 $(LOCAL_PATH)/Bundle \ 32 $(LOCAL_PATH)/../lib/Common/lib/ \ 33 $(LOCAL_PATH)/../lib/Bundle/lib/ 34 35 36include $(BUILD_SHARED_LIBRARY) 37 38# reverb wrapper 39include $(CLEAR_VARS) 40 41LOCAL_ARM_MODE := arm 42 43LOCAL_SRC_FILES:= \ 44 Reverb/EffectReverb.cpp 45 46LOCAL_MODULE:= libreverbwrapper 47 48LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx 49 50LOCAL_PRELINK_MODULE := false 51 52LOCAL_STATIC_LIBRARIES += libreverb 53 54LOCAL_SHARED_LIBRARIES := \ 55 libcutils \ 56 57ifeq ($(TARGET_SIMULATOR),true) 58LOCAL_LDLIBS += -ldl 59else 60LOCAL_SHARED_LIBRARIES += libdl 61endif 62 63LOCAL_C_INCLUDES += \ 64 $(LOCAL_PATH)/Reverb \ 65 $(LOCAL_PATH)/../lib/Common/lib/ \ 66 $(LOCAL_PATH)/../lib/Reverb/lib/ \ 67 68 69include $(BUILD_SHARED_LIBRARY)