QMAA: Add support for HAL module disable

- Disable audio HAL modules compilation
  based on QMAA flag

Change-Id: I3ec8c82bfcf699a3bbf5e7133480a4bda1240a5a
diff --git a/mm-audio/Android.mk b/mm-audio/Android.mk
index 5e46fc1..b02ea48 100644
--- a/mm-audio/Android.mk
+++ b/mm-audio/Android.mk
@@ -1,3 +1,4 @@
+ifneq ($(AUDIO_USE_STUB_HAL), true)
 LOCAL_CFLAGS += -Wno-unused-variable
 LOCAL_CFLAGS += -Wno-sign-compare
 LOCAL_CFLAGS += -Wno-unused-parameter
@@ -12,3 +13,4 @@
 ifeq ($(strip $(TARGET_USES_QCOM_MM_AUDIO)),true)
 include $(call all-subdir-makefiles)
 endif
+endif