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

Commit a3cc5d69 authored by Yamit Mehta's avatar Yamit Mehta Committed by Gerrit - the friendly Code Review server
Browse files

qahw: test: Add LE makefile for qahw test app

Add makefile for qhal playback and record test app.

Change-Id: I1dcdb217a50e81a7740b48b164314863c8a16d2d
parent b740f8d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
SUBDIRS = hal qahw_api
SUBDIRS = hal qahw_api qahw_api/test
ACLOCAL_AMFLAGS = -I m4
+2 −1
Original line number Diff line number Diff line
@@ -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
+19 −0
Original line number Diff line number Diff line
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)