Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e2a7c7a authored by Susan Wang's avatar Susan Wang
Browse files

hal: audio_extn: Build auto_hal only for automotive

Allow auto_hal lib to build only if
"AUDIO_FEATURE_ENABLED_AUTO_HAL" is true
to prevent unneccessary building for mobile.

Change-Id: I0129ead84e6827e8d8ae33bc2fd2ec1e738a3443
parent 36526e72
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -1080,6 +1080,7 @@ include $(BUILD_SHARED_LIBRARY)


#            Build AUTO_HAL LIB
#            Build AUTO_HAL LIB
#-------------------------------------------
#-------------------------------------------
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_AUTO_HAL)), true)
include $(CLEAR_VARS)
include $(CLEAR_VARS)


LOCAL_MODULE := libautohal
LOCAL_MODULE := libautohal
@@ -1137,3 +1138,4 @@ ifneq ($(filter kona lahaina holi,$(TARGET_BOARD_PLATFORM)),)
LOCAL_SANITIZE := integer_overflow
LOCAL_SANITIZE := integer_overflow
endif
endif
include $(BUILD_SHARED_LIBRARY)
include $(BUILD_SHARED_LIBRARY)
endif