Weiyin Jiang | a3719ac | 2016-11-23 19:29:35 +0800 | [diff] [blame] | 1 | AM_CFLAGS = -I ${WORKSPACE}/external/tinyalsa/include \ |
Sachin Mohan Gadag | 0d2d39a | 2018-03-19 12:18:26 +0530 | [diff] [blame] | 2 | -I $(PKG_CONFIG_SYSROOT_DIR)/usr/include/audio-kernel \ |
Weiyin Jiang | a3719ac | 2016-11-23 19:29:35 +0800 | [diff] [blame] | 3 | -I ${WORKSPACE}/system/media/audio_effects/include |
| 4 | |
| 5 | c_sources = bundle.c \ |
| 6 | equalizer.c \ |
| 7 | bass_boost.c \ |
| 8 | virtualizer.c \ |
| 9 | reverb.c \ |
| 10 | effect_api.c \ |
| 11 | effect_util.c |
| 12 | |
| 13 | if AFE_PROXY |
| 14 | AM_CFLAGS += -DAFE_PROXY_ENABLED |
| 15 | endif |
| 16 | |
| 17 | if HW_ACC_EFFECT |
| 18 | AM_CFLAGS += -DHW_ACCELERATED_EFFECTS |
| 19 | c_sources += hw_accelerator.c |
| 20 | endif |
| 21 | |
Weiyin Jiang | a3719ac | 2016-11-23 19:29:35 +0800 | [diff] [blame] | 22 | library_include_HEADERS = $(h_sources) |
| 23 | library_includedir = $(includedir) |
| 24 | |
| 25 | lib_LTLIBRARIES = libqcompostprocbundle.la |
| 26 | libqcompostprocbundle_la_SOURCES = $(c_sources) |
| 27 | libqcompostprocbundle_la_LIBADD = $(GLIB_LIBS) -llog -lcutils -ltinyalsa -ldl |
| 28 | libqcompostprocbundle_la_CFLAGS = $(AM_CFLAGS) $(GLIB_CFLAGS) |
| 29 | libqcompostprocbundle_la_CFLAGS += -D__unused=__attribute__\(\(__unused__\)\) |
| 30 | libqcompostprocbundle_la_LDFLAGS = -module -shared -avoid-version |