blob: e25315929035985dc1929e1193baff741b633102 [file] [log] [blame]
Subhash Chandra Bose Naripeddy3eedc002013-11-12 20:45:15 -08001
2LOCAL_PATH:= $(call my-dir)
3
4include $(CLEAR_VARS)
5
Mingming Yina6dad602014-05-16 12:10:55 -07006ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PROXY_DEVICE)),true)
Mingming Yin67e34512014-04-03 17:47:22 -07007 LOCAL_CFLAGS += -DAFE_PROXY_ENABLED
8endif
9
Subhash Chandra Bose Naripeddy3eedc002013-11-12 20:45:15 -080010LOCAL_SRC_FILES:= \
11 bundle.c \
12 equalizer.c \
13 bass_boost.c \
14 virtualizer.c \
15 reverb.c \
Jitendra Naruka1b6513f2014-11-22 19:34:13 -080016 effect_api.c \
Subhash Chandra Bose Naripeddye40a7cd2014-06-03 19:42:41 -070017 effect_util.c \
18 hw_accelerator.c
Subhash Chandra Bose Naripeddy3eedc002013-11-12 20:45:15 -080019
20LOCAL_CFLAGS+= -O2 -fvisibility=hidden
21
Jitendra Naruka1b6513f2014-11-22 19:34:13 -080022ifneq ($(strip $(AUDIO_FEATURE_DISABLED_DTS_EAGLE)),true)
23 LOCAL_CFLAGS += -DDTS_EAGLE
24endif
25
Subhash Chandra Bose Naripeddy3eedc002013-11-12 20:45:15 -080026LOCAL_SHARED_LIBRARIES := \
27 libcutils \
28 liblog \
29 libtinyalsa
30
31LOCAL_MODULE_TAGS := optional
32
Apoorv Raghuvanshi1b555f72014-05-29 12:48:15 -070033LOCAL_MODULE_RELATIVE_PATH := soundfx
Subhash Chandra Bose Naripeddy3eedc002013-11-12 20:45:15 -080034LOCAL_MODULE:= libqcompostprocbundle
35
Subhash Chandra Bose Naripeddye40a7cd2014-06-03 19:42:41 -070036LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
37
Subhash Chandra Bose Naripeddy3eedc002013-11-12 20:45:15 -080038LOCAL_C_INCLUDES := \
39 external/tinyalsa/include \
Subhash Chandra Bose Naripeddy090a2aa2014-01-30 14:03:12 -080040 $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
Subhash Chandra Bose Naripeddy3eedc002013-11-12 20:45:15 -080041 $(call include-path-for, audio-effects)
42
43include $(BUILD_SHARED_LIBRARY)
Subhash Chandra Bose Naripeddye40a7cd2014-06-03 19:42:41 -070044
45
46ifeq ($(strip $(AUDIO_FEATURE_ENABLED_HW_ACCELERATED_EFFECTS)),true)
47include $(CLEAR_VARS)
48
49LOCAL_SRC_FILES := EffectsHwAcc.cpp
50
51LOCAL_C_INCLUDES := \
52 $(call include-path-for, audio-effects)
53
54LOCAL_SHARED_LIBRARIES := \
55 liblog \
56 libeffects
57
58LOCAL_MODULE_TAGS := optional
59
60LOCAL_CFLAGS += -O2 -fvisibility=hidden
61
62LOCAL_MODULE:= libhwacceffectswrapper
63
64include $(BUILD_STATIC_LIBRARY)
65endif