summaryrefslogtreecommitdiffstats
path: root/templates/feature/agl-audio-soundmanager-framework/50_bblayers.conf.inc
blob: 2ab00c619fad66812d11f90c92e28504a6362e08 (plain)
1
2
3
4
5
BBLAYERS =+ " \
	${METADIR}/meta-agl-devel/meta-audio-soundmanager-framework \
	"
{ color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"

ENABLE_TEST = "-DBUILD_ILM_API_TESTS:BOOL=TRUE \
    -DINSTALL_ILM_API_TESTS:BOOL=TRUE \
    "

DISABLE_TEST = "-DBUILD_ILM_API_TESTS:BOOL=FALSE \
    -DINSTALL_ILM_API_TESTS:BOOL=FALSE \
    "

PACKAGECONFIG ??= "test"
PACKAGECONFIG[test] = "${ENABLE_TEST},${DISABLE_TEST},gtest"

SRC_URI_append = "\
    file://cmake-find-gtest.patch \
    file://test-path.patch \
    "

PACKAGES =+ "${PN}-test"

FILES_${PN}-test = "${libdir}/${PN}/test/*/CTestTestfile.cmake \
    ${libdir}/${PN}/test/ivi-layermanagement-api-test \
    ${libdir}/${PN}/test/ivi-input-api-test \
    "
FILES_${PN}-dbg += "${libdir}/${PN}/test/.debug"

RDEPENDS_${PN}-test += "cmake"