From 799148aca05037473aa19aff9ae781d83a2fdf18 Mon Sep 17 00:00:00 2001 From: Derek Chen Date: Sun, 8 Sep 2019 15:18:33 -0700 Subject: [PATCH] hal: add audio feature flag for ssrec compilation Add audio feature flag for ssrec library compilation in audio extn. Change-Id: Ifa36e523e70ab911d0e6fbd5a339179e34af1c9b --- hal/audio_extn/Android.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hal/audio_extn/Android.mk b/hal/audio_extn/Android.mk index ccc1b2e6..35080152 100644 --- a/hal/audio_extn/Android.mk +++ b/hal/audio_extn/Android.mk @@ -114,6 +114,7 @@ include $(BUILD_SHARED_LIBRARY) #------------------------------------------- # Build SSREC LIB #------------------------------------------- +ifeq ($(strip $(AUDIO_FEATURE_ENABLED_SSR)),true) include $(CLEAR_VARS) LOCAL_MODULE := libssrec @@ -170,7 +171,7 @@ endif LOCAL_HEADER_LIBRARIES += libhardware_headers LOCAL_HEADER_LIBRARIES += libsystem_headers include $(BUILD_SHARED_LIBRARY) - +endif #-------------------------------------------- # Build HDMI_EDID LIB #--------------------------------------------