qahw: test: Add LE makefile for qahw test app
Add makefile for qhal playback and record test app. Change-Id: I1dcdb217a50e81a7740b48b164314863c8a16d2d
This commit is contained in:
parent
b740f8d9f2
commit
a3cc5d69b4
|
@ -1,2 +1,2 @@
|
|||
SUBDIRS = hal qahw_api
|
||||
SUBDIRS = hal qahw_api qahw_api/test
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
|
|
@ -78,7 +78,8 @@ AM_CONDITIONAL([PM_SUPPORT], [test x$AUDIO_FEATURE_ENABLED_PM_SUPPORT = xtrue])
|
|||
AC_CONFIG_FILES([ \
|
||||
Makefile \
|
||||
hal/Makefile \
|
||||
qahw_api/Makefile
|
||||
qahw_api/Makefile \
|
||||
qahw_api/test/Makefile
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
bin_PROGRAMS = hal_play_test
|
||||
|
||||
PLAY_CPPFLAGS = -Wno-sign-compare
|
||||
PLAY_INCLUDES = -I $(top_srcdir)/qahw_api/inc
|
||||
|
||||
hal_play_test_SOURCES = qahw_playback_test.c
|
||||
hal_play_test_CPPFLAGS = $(PLAY_CPPFLAGS) $(PLAY_INCLUDES)
|
||||
hal_play_test_LDADD = -lutils ../libqahw.la
|
||||
|
||||
|
||||
bin_PROGRAMS += hal_rec_test
|
||||
|
||||
REC_CPPFLAGS = $(PLAY_CPPFLAGS) -Dnullptr=NULL
|
||||
REC_INCLUDES = $(PLAY_INCLUDES)
|
||||
|
||||
hal_rec_test_SOURCES = qahw_multi_record_test.c
|
||||
hal_rec_test_CPPFLAGS = -Dstrlcat=g_strlcat $(GLIB_CFLAGS) -include glib.h
|
||||
hal_rec_test_CPPFLAGS += $(REC_CPPFLAGS) $(REC_INCLUDES)
|
||||
hal_rec_test_LDADD = -lutils ../libqahw.la $(GLIB_LIBS)
|
Loading…
Reference in New Issue