audio: Add support to enable audio over bg

Add support for BG sound card. Add changes to send BG
codec cal stored in ACDB.

Bug: 73666907
Test: Compile test for 8974 platform, manual test for audio
playback/capture on BG.

Change-Id: I425224efdc2e3d43662f4d4bd521c436daa40ee9
diff --git a/hal/Android.mk b/hal/Android.mk
index cbee1d4..aa6a9b5 100644
--- a/hal/Android.mk
+++ b/hal/Android.mk
@@ -194,6 +194,10 @@
     LOCAL_SRC_FILES += audio_extn/maxxaudio.c
 endif
 
+ifeq ($(strip $(AUDIO_FEATURE_ENABLED_BG_CAL)),true)
+    LOCAL_CFLAGS += -DBG_CODEC_CAL
+endif
+
 LOCAL_SHARED_LIBRARIES += libbase libhidlbase libhwbinder libutils android.hardware.power@1.2 liblog
 
 LOCAL_SRC_FILES += audio_perf.cpp