hal: add audio feature flag for ssrec compilation

Add audio feature flag for ssrec library
compilation in audio extn.

Change-Id: Ifa36e523e70ab911d0e6fbd5a339179e34af1c9b
This commit is contained in:
Derek Chen 2019-09-08 15:18:33 -07:00
parent 7a2f2c0669
commit 799148aca0
1 changed files with 2 additions and 1 deletions

View File

@ -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
#--------------------------------------------