summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2020-02-01 14:45:33 +0000
committerArian <arian.kulmer@web.de>2021-12-06 15:58:33 +0100
commitc76c5b1fe8f18ad85dde5f1cc333d0d21b99bcba (patch)
tree031a905923c65eaa3b9c349853adcbb2d18593a9
parent997dd662b5ce1fb8b80a050e8bc4c301b7d38f07 (diff)
audio_extn: Allow skipping compilation of audio HAL extensions
In case a device uses a prebuilt HAL it is rather likely that the extensions must match it. Change-Id: I0cb05030c9c7619513810362960a2e2a3306b3aa
-rw-r--r--hal/audio_extn/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/hal/audio_extn/Android.mk b/hal/audio_extn/Android.mk
index f8808237..ee73d170 100644
--- a/hal/audio_extn/Android.mk
+++ b/hal/audio_extn/Android.mk
@@ -1,3 +1,5 @@
+ifneq ($(strip $(TARGET_PROVIDES_AUDIO_EXTNS)),true)
+
#--------------------------------------------
# Build SND_MONITOR LIB
#--------------------------------------------
@@ -964,3 +966,4 @@ ifneq ($(filter kona lahaina holi,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow
endif
include $(BUILD_SHARED_LIBRARY)
+endif