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