hal: add feature flag to enable instance id support

Add feature flag to enable instance id support for
non-android builds.

Change-Id: I4ab3ab854f557ba63dae60eada8ef951e9d2dced
This commit is contained in:
Dhananjay Kumar 2018-07-11 22:49:01 +05:30
parent fa269ad65a
commit 6085bd1279
2 changed files with 5 additions and 0 deletions

View File

@ -136,6 +136,7 @@ AM_CONDITIONAL([QAP], [test x$AUDIO_FEATURE_ENABLED_QAP = xtrue])
AM_CONDITIONAL([AUDIO_HW_FFV], [test x$AUDIO_FEATURE_ENABLED_FFV = xtrue])
AM_CONDITIONAL([CUSTOM_STEREO], [test x$AUDIO_FEATURE_ENABLED_CUSTOM_STEREO = xtrue])
AM_CONDITIONAL([RUN_KEEP_ALIVE_IN_ARM_FFV], [test x$AUDIO_FEATURE_ENABLED_KEEP_ALIVE_ARM_FFV = xtrue])
AM_CONDITIONAL([INSTANCE_ID], [test x$AUDIO_FEATURE_ENABLED_INSTANCE_ID = xtrue])
AC_CONFIG_FILES([ \
Makefile \

View File

@ -204,6 +204,10 @@ if CUSTOM_STEREO
AM_CFLAGS += -DCUSTOM_STEREO_ENABLED
endif
if INSTANCE_ID
AM_CFLAGS += -DINSTANCE_ID_ENABLED
endif
h_sources = audio_extn/audio_defs.h \
audio_extn/audio_extn.h \
audio_hw.h \