Skip to content

Commit

Permalink
amplifier: Disable 32 bit variants of audio libraries for 64 bit audi…
Browse files Browse the repository at this point in the history
…o targets

Change-Id: I80304200efaf1a08566ca45bc5f6c00c6f035968
  • Loading branch information
ArianK16a authored and hellobbn committed Aug 25, 2024
1 parent 910b956 commit 8445815
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion amplifier/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

ifeq ($(SOONG_CONFIG_android_hardware_audio_run_64bit), true)
LOCAL_MULTILIB := 64
endif

LOCAL_SHARED_LIBRARIES := \
audio.primary.$(TARGET_BOARD_PLATFORM) \
libaudioroute \
Expand All @@ -43,4 +48,4 @@ LOCAL_HEADER_LIBRARIES := \
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_VENDOR_MODULE := true

include $(BUILD_SHARED_LIBRARY)
include $(BUILD_SHARED_LIBRARY)

0 comments on commit 8445815

Please sign in to comment.