diff options
author | Bruno Martins <bgcngm@gmail.com> | 2020-02-01 14:45:33 +0000 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2022-02-11 00:46:41 +0200 |
commit | 8586f43c2aaf5ec42ecdde6a05933cb45bbc7086 (patch) | |
tree | da79526c18c5ba395dd6a5f1d887c2a893d2caa8 | |
parent | 7e3422e89288987cd5a5c71673b2b77f71c5c97b (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.mk | 3 |
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 |