From 02ce71247f30d0499e3d34f335f53a923646e710 Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Wed, 12 Dec 2018 17:12:56 +0900 Subject: Add a public feature for wgtpkg-pack When it is not available, app can skip the packaging process. The toplevel project file will be as below. ------------------------------ TEMPLATE = subdirs SUBDIRS = app QT_FOR_CONFIG += aglextras qtConfig(wgtpkg-pack) { SUBDIRS += package package.depends += app } ------------------------------ Change-Id: I418b5b5620a34a491fda0814e2544b86c7c1706f Signed-off-by: Tasuku Suzuki --- src/aglextras/configure.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/aglextras/configure.json b/src/aglextras/configure.json index 513c237..a3d4511 100644 --- a/src/aglextras/configure.json +++ b/src/aglextras/configure.json @@ -31,6 +31,14 @@ } }, + "tests": { + "wgtpkg-pack": { + "label": "wgtpkg-pack", + "type": "files", + "files": [ "wgtpkg-pack" ] + } + }, + "features": { "libhomescreen": { "label": "LibHomeScreen", @@ -46,6 +54,11 @@ "label": "AGL HMI Framework", "condition": "features.libhomescreen && features.libwindowmanager", "output": [ "feature", "privateFeature" ] + }, + "wgtpkg-pack": { + "label": "wgtpkg-pack", + "condition": "tests.wgtpkg-pack", + "output": [ "feature", "publicFeature" ] } }, @@ -58,7 +71,8 @@ "entries": [ "libhomescreen", "libwindowmanager", - "agl_hmi_framework" + "agl_hmi_framework", + "wgtpkg-pack" ] } ] -- cgit 1.2.3-korg