Eric Laurent | 135ad07 | 2010-05-21 06:05:13 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
Eric Laurent | ffe9c25 | 2010-06-23 17:38:20 -0700 | [diff] [blame] | 3 | # |
| 4 | TEST_EFFECT_LIBRARIES := true |
| 5 | |
Eric Laurent | 135ad07 | 2010-05-21 06:05:13 -0700 | [diff] [blame] | 6 | # Effect factory library |
| 7 | include $(CLEAR_VARS) |
| 8 | |
| 9 | LOCAL_SRC_FILES:= \ |
| 10 | EffectsFactory.c |
| 11 | |
| 12 | LOCAL_SHARED_LIBRARIES := \ |
| 13 | libcutils |
| 14 | |
| 15 | LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES) |
| 16 | LOCAL_MODULE:= libeffects |
| 17 | |
| 18 | ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) |
| 19 | LOCAL_LDLIBS += -ldl |
| 20 | endif |
| 21 | |
| 22 | ifneq ($(TARGET_SIMULATOR),true) |
| 23 | LOCAL_SHARED_LIBRARIES += libdl |
| 24 | endif |
| 25 | |
| 26 | LOCAL_C_INCLUDES := \ |
| 27 | |
| 28 | include $(BUILD_SHARED_LIBRARY) |
| 29 | |
| 30 | |
Eric Laurent | ffe9c25 | 2010-06-23 17:38:20 -0700 | [diff] [blame] | 31 | ifeq ($(TEST_EFFECT_LIBRARIES),true) |
| 32 | # Test Reverb library |
Eric Laurent | 135ad07 | 2010-05-21 06:05:13 -0700 | [diff] [blame] | 33 | include $(CLEAR_VARS) |
| 34 | |
| 35 | LOCAL_SRC_FILES:= \ |
| 36 | EffectReverb.c.arm \ |
| 37 | EffectsMath.c.arm |
| 38 | LOCAL_CFLAGS+= -O2 |
| 39 | |
| 40 | LOCAL_SHARED_LIBRARIES := \ |
| 41 | libcutils |
| 42 | |
| 43 | LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx |
| 44 | LOCAL_MODULE:= libreverb |
| 45 | |
| 46 | ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) |
| 47 | LOCAL_LDLIBS += -ldl |
| 48 | endif |
| 49 | |
| 50 | ifneq ($(TARGET_SIMULATOR),true) |
| 51 | LOCAL_SHARED_LIBRARIES += libdl |
| 52 | endif |
| 53 | |
| 54 | LOCAL_C_INCLUDES := \ |
| 55 | $(call include-path-for, graphics corecg) |
| 56 | |
| 57 | LOCAL_PRELINK_MODULE := false |
| 58 | |
| 59 | include $(BUILD_SHARED_LIBRARY) |
| 60 | |
Eric Laurent | ffe9c25 | 2010-06-23 17:38:20 -0700 | [diff] [blame] | 61 | # Test Equalizer library |
Eric Laurent | 135ad07 | 2010-05-21 06:05:13 -0700 | [diff] [blame] | 62 | include $(CLEAR_VARS) |
| 63 | |
| 64 | LOCAL_SRC_FILES:= \ |
| 65 | EffectsMath.c.arm \ |
| 66 | EffectEqualizer.cpp \ |
| 67 | AudioBiquadFilter.cpp.arm \ |
| 68 | AudioCoefInterpolator.cpp.arm \ |
| 69 | AudioPeakingFilter.cpp.arm \ |
| 70 | AudioShelvingFilter.cpp.arm \ |
| 71 | AudioEqualizer.cpp.arm |
| 72 | |
| 73 | LOCAL_CFLAGS+= -O2 |
| 74 | |
| 75 | LOCAL_SHARED_LIBRARIES := \ |
| 76 | libcutils |
| 77 | |
| 78 | LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx |
| 79 | LOCAL_MODULE:= libequalizer |
| 80 | |
| 81 | ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) |
| 82 | LOCAL_LDLIBS += -ldl |
| 83 | endif |
| 84 | |
| 85 | ifneq ($(TARGET_SIMULATOR),true) |
| 86 | LOCAL_SHARED_LIBRARIES += libdl |
| 87 | endif |
| 88 | |
| 89 | LOCAL_C_INCLUDES := \ |
Jean-Michel Trivi | 98fe12a | 2010-07-09 10:44:29 -0700 | [diff] [blame] | 90 | $(call include-path-for, graphics corecg) \ |
| 91 | system/media/opensles/include |
Eric Laurent | 135ad07 | 2010-05-21 06:05:13 -0700 | [diff] [blame] | 92 | |
| 93 | LOCAL_PRELINK_MODULE := false |
| 94 | |
Eric Laurent | ffe9c25 | 2010-06-23 17:38:20 -0700 | [diff] [blame] | 95 | include $(BUILD_SHARED_LIBRARY) |
| 96 | |
| 97 | endif |
Eric Laurent | da7581b | 2010-07-02 08:12:41 -0700 | [diff] [blame] | 98 | |
| 99 | |
| 100 | # Visualizer library |
| 101 | include $(CLEAR_VARS) |
| 102 | |
| 103 | LOCAL_SRC_FILES:= \ |
| 104 | EffectVisualizer.cpp |
| 105 | |
| 106 | LOCAL_CFLAGS+= -O2 |
| 107 | |
| 108 | LOCAL_SHARED_LIBRARIES := \ |
| 109 | libcutils |
| 110 | |
| 111 | LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx |
| 112 | LOCAL_MODULE:= libvisualizer |
| 113 | |
| 114 | ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) |
| 115 | LOCAL_LDLIBS += -ldl |
| 116 | endif |
| 117 | |
| 118 | ifneq ($(TARGET_SIMULATOR),true) |
| 119 | LOCAL_SHARED_LIBRARIES += libdl |
| 120 | endif |
| 121 | |
| 122 | LOCAL_C_INCLUDES := \ |
| 123 | $(call include-path-for, graphics corecg) |
| 124 | |
| 125 | LOCAL_PRELINK_MODULE := false |
| 126 | |
| 127 | include $(BUILD_SHARED_LIBRARY) |