Policy config parser: migrate to BP and drop legacy format
Migrate to android.bp as test need to use the library.
As bp do not support conditional statement, and this format has been
deprecated for 3 years, drop the pre-treble .conf parser.
AUDIOSERVER_MULTILIB is no longer use as it does not make sense for a
static lib.
Bug: 114303641
Bug: 111681420
Test: compile, boots
Change-Id: I9f429b306ecfbb80116445ba6297a4b3d6dc57f6
Signed-off-by: Kevin Rocard <krocard@google.com>
diff --git a/services/audiopolicy/Android.mk b/services/audiopolicy/Android.mk
index f23e426..02ab8ad 100644
--- a/services/audiopolicy/Android.mk
+++ b/services/audiopolicy/Android.mk
@@ -81,9 +81,9 @@
LOCAL_SHARED_LIBRARIES += libmedia_helper
LOCAL_SHARED_LIBRARIES += libmediametrics
-ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1)
LOCAL_SHARED_LIBRARIES += libhidlbase libicuuc libxml2
+ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1)
LOCAL_CFLAGS += -DUSE_XML_AUDIO_POLICY_CONF
endif #ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1)