hal: Enable proxy feature flag
Enable afe proxy feature flag for a2dp src to work
CRs-Fixed: 1081411
Change-Id: I30672f5549c49fcd51ffd6ceed2a11c366e7562f
diff --git a/configure.ac b/configure.ac
index 0db83d0..188bf15 100644
--- a/configure.ac
+++ b/configure.ac
@@ -100,6 +100,7 @@
AM_CONDITIONAL([WMA_SUPPORT], [test x$AUDIO_FEATURE_ENABLED_EXTN_WMA_DECODER = xtrue])
AM_CONDITIONAL([COMPRESS_INPUT], [test x$AUDIO_FEATURE_ENABLED_COMPRESS_INPUT = xtrue])
AM_CONDITIONAL([AUDIO_HW_EXTN_API], [test x$BOARD_SUPPORTS_QAHW = xtrue])
+AM_CONDITIONAL([AFE_PROXY], [test x$AUDIO_FEATURE_ENABLED_PROXY_DEVICE = xtrue])
AC_CONFIG_FILES([ \
Makefile \
diff --git a/hal/Makefile.am b/hal/Makefile.am
index 03b60ce..3274195 100644
--- a/hal/Makefile.am
+++ b/hal/Makefile.am
@@ -133,6 +133,10 @@
c_sources += audio_hw_extn_api.c
endif
+if AFE_PROXY
+AM_CFLAGS += -DAFE_PROXY_ENABLED
+endif
+
h_sources = audio_extn/audio_defs.h \
audio_extn/audio_extn.h \
audio_hw.h \