diff options
author | Tasuku Suzuki <tasuku.suzuki@qbc.io> | 2018-12-12 17:12:56 +0900 |
---|---|---|
committer | Tasuku Suzuki <tasuku.suzuki@qbc.io> | 2018-12-12 17:13:40 +0900 |
commit | 02ce71247f30d0499e3d34f335f53a923646e710 (patch) | |
tree | 388964e3b102c01f9563079d843b8e6c911270e6 | |
parent | 2fe96de41a540477d425403cf3a59ec6f5871521 (diff) |
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 <tasuku.suzuki@qbc.io>
-rw-r--r-- | src/aglextras/configure.json | 16 |
1 files changed, 15 insertions, 1 deletions
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" ] } ] |