1ifneq ($(filter msm8974 msm8226 msm8084 msm8992 msm8994 msm8996,$(TARGET_BOARD_PLATFORM)),) 2 3LOCAL_PATH:= $(call my-dir) 4 5include $(CLEAR_VARS) 6 7LOCAL_SRC_FILES:= \ 8 bundle.c \ 9 equalizer.c \ 10 bass_boost.c \ 11 virtualizer.c \ 12 reverb.c \ 13 effect_api.c 14 15LOCAL_CFLAGS+= -O2 -fvisibility=hidden 16 17LOCAL_SHARED_LIBRARIES := \ 18 libcutils \ 19 liblog \ 20 libtinyalsa 21 22LOCAL_MODULE_TAGS := optional 23 24LOCAL_MODULE_RELATIVE_PATH := soundfx 25LOCAL_MODULE:= libqcompostprocbundle 26 27LOCAL_C_INCLUDES := \ 28 external/tinyalsa/include \ 29 $(call include-path-for, audio-effects) 30 31include $(BUILD_SHARED_LIBRARY) 32endif 33 34################################################################################ 35 36ifneq ($(filter msm8992 msm8994 msm8996,$(TARGET_BOARD_PLATFORM)),) 37 38include $(CLEAR_VARS) 39 40LOCAL_CFLAGS := -DLIB_AUDIO_HAL="/system/lib/hw/audio.primary."$(TARGET_BOARD_PLATFORM)".so" 41 42LOCAL_SRC_FILES:= \ 43 volume_listener.c 44 45LOCAL_CFLAGS+= -O2 -fvisibility=hidden 46 47LOCAL_SHARED_LIBRARIES := \ 48 libcutils \ 49 liblog \ 50 libdl 51 52LOCAL_MODULE_RELATIVE_PATH := soundfx 53LOCAL_MODULE:= libvolumelistener 54 55LOCAL_C_INCLUDES := \ 56 $(call include-path-for, audio-effects) 57 58include $(BUILD_SHARED_LIBRARY) 59 60endif 61