summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/wayland-ivi-extension_1.1%.bbappend
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-11-21 15:37:49 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-11-22 10:06:54 +0000
commitc9fe976adc3688cf7c4e38f740bd88b03ace2f34 (patch)
tree7774a53fb04b4de7a4d856ff720ed4a19ddb04e1 /recipes-graphics/wayland/wayland-ivi-extension_1.1%.bbappend
parent9a5412bb96782920e313c997340617d98fa671aa (diff)
Upgrade to 1.x for ivi-extensions
Bugs-AGL: SPEC-1096 Change-Id: I19cd92742d7808cb3d5cd94860051b4e7fb01d10 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'recipes-graphics/wayland/wayland-ivi-extension_1.1%.bbappend')
-rw-r--r--recipes-graphics/wayland/wayland-ivi-extension_1.1%.bbappend27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-graphics/wayland/wayland-ivi-extension_1.1%.bbappend b/recipes-graphics/wayland/wayland-ivi-extension_1.1%.bbappend
new file mode 100644
index 000000000..9c29dee47
--- /dev/null
+++ b/recipes-graphics/wayland/wayland-ivi-extension_1.1%.bbappend
@@ -0,0 +1,27 @@
+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"