Home | History | Annotate | Download | only in testlibs
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 # Test Reverb library
      4 include $(CLEAR_VARS)
      5 
      6 LOCAL_SRC_FILES:= \
      7 	EffectReverb.c.arm \
      8 	EffectsMath.c.arm
      9 LOCAL_CFLAGS+= -O2
     10 
     11 LOCAL_SHARED_LIBRARIES := \
     12 	libcutils
     13 
     14 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx
     15 LOCAL_MODULE:= libreverbtest
     16 
     17 ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
     18 LOCAL_LDLIBS += -ldl
     19 endif
     20 
     21 ifneq ($(TARGET_SIMULATOR),true)
     22 LOCAL_SHARED_LIBRARIES += libdl
     23 endif
     24 
     25 LOCAL_C_INCLUDES := \
     26 	$(call include-path-for, audio-effects) \
     27 	$(call include-path-for, graphics corecg)
     28 
     29 LOCAL_MODULE_TAGS := optional
     30 
     31 include $(BUILD_SHARED_LIBRARY)
     32 
     33 # Test Equalizer library
     34 include $(CLEAR_VARS)
     35 
     36 LOCAL_SRC_FILES:= \
     37 	EffectsMath.c.arm \
     38 	EffectEqualizer.cpp \
     39 	AudioBiquadFilter.cpp.arm \
     40 	AudioCoefInterpolator.cpp.arm \
     41 	AudioPeakingFilter.cpp.arm \
     42 	AudioShelvingFilter.cpp.arm \
     43 	AudioEqualizer.cpp.arm
     44 
     45 LOCAL_CFLAGS+= -O2
     46 
     47 LOCAL_SHARED_LIBRARIES := \
     48 	libcutils
     49 
     50 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx
     51 LOCAL_MODULE:= libequalizertest
     52 
     53 ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
     54 LOCAL_LDLIBS += -ldl
     55 endif
     56 
     57 ifneq ($(TARGET_SIMULATOR),true)
     58 LOCAL_SHARED_LIBRARIES += libdl
     59 endif
     60 
     61 LOCAL_C_INCLUDES := \
     62 	$(call include-path-for, graphics corecg) \
     63 	$(call include-path-for, audio-effects)
     64 
     65 LOCAL_MODULE_TAGS := optional
     66 
     67 include $(BUILD_SHARED_LIBRARY)
     68 
     69