summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2020-02-01 14:45:33 +0000
committeralk3pInjection <webmaster@raspii.tech>2022-09-05 19:30:35 +0800
commit058497245dc2f0d351a2d42a46916c7e23a2e542 (patch)
tree11b3eddabcddc2344b6adc8eab69bc1c2135cbf2
parent33ac851a49b7eaa5a196902af2ce4d386e046989 (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 a873eef6..56c56613 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
#--------------------------------------------
@@ -961,3 +963,4 @@ ifneq ($(filter kona lahaina holi,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow
endif
include $(BUILD_SHARED_LIBRARY)
+endif