hal: Add support for audio feature manager

Fetch feature flags from audio config store.
Provide an interface for audio_extn, platform
and hal code to check if a feature is enabled
or disabled at runtime.

Change-Id: I35d873c787258aee75481de343fcbcbc51cb9e91
diff --git a/hal/Android.mk b/hal/Android.mk
index a67ce7c..c39900e 100644
--- a/hal/Android.mk
+++ b/hal/Android.mk
@@ -102,7 +102,8 @@
 	voice.c \
 	platform_info.c \
 	$(AUDIO_PLATFORM)/platform.c \
-        acdb.c
+        acdb.c \
+        ahal_config_helper.cpp
 
 LOCAL_SRC_FILES += audio_extn/audio_extn.c \
                    audio_extn/audio_feature_manager.c \
@@ -343,13 +344,15 @@
     libaudioroute \
     libdl \
     libaudioutils \
-    libexpat
+    libexpat \
+    libqti_vndfwk_detect
 
 LOCAL_C_INCLUDES += \
     external/tinyalsa/include \
     external/tinycompress/include \
     system/media/audio_utils/include \
     external/expat/lib \
+    vendor/qcom/opensource/core-utils/fwk-detect \
     $(call include-path-for, audio-route) \
     $(call include-path-for, audio-effects) \
     $(LOCAL_PATH)/$(AUDIO_PLATFORM) \