The HTML5 demo needs additional fixes. Move it into a sublayer and activate with agl-demo-html5.
Bug-AGL: SPEC-5188
Change-Id: I2f1a07dcfbcaf7e09d4d0d3aec1aa8f096336287
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30042
ci-image-build: Jenkins Job builder account
Tested-by: Jenkins Job builder account
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
ci-image-boot-test: Jenkins Job builder account
--- /dev/null
+# We have a conf and classes directory, add to BBPATH
+BBPATH =. "${LAYERDIR}:"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+ ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "agl-html5-demo-layer"
+BBFILE_PATTERN_agl-html5-demo-layer = "^${LAYERDIR}/"
+BBFILE_PRIORITY_agl-html5-demo-layer = "70"
+
+LAYERSERIES_COMPAT_agl-html5-demo-layer = "scarthgap"
+
+LAYERDEPENDS_agl-html5-demo-layer = "agldemo"
+
AGL_APP_ID = "webapps-${BPN}"
AGL_APP_NAME = "HTML5 Background"
-DEPENDS = "nodejs-native"
+DEPENDS = "nodejs-native icu-native"
do_compile[network] = "1"
do_compile() {
AGL_APP_ID = "webapps-dashboard"
AGL_APP_NAME = "HTML5 Dashboard"
-DEPENDS = "nodejs-native"
+DEPENDS = "nodejs-native icu-native"
do_compile[network] = "1"
do_compile() {
inherit systemd
-DEPENDS = "nodejs-native"
+DEPENDS = "nodejs-native icu-native"
do_compile[network] = "1"
do_compile() {
AGL_APP_ID = "webapps-hvac"
AGL_APP_NAME = "HTML5 HVAC"
-DEPENDS = "nodejs-native protobuf-native"
+DEPENDS = "nodejs-native protobuf-native icu-native"
do_compile[network] = "1"
do_compile() {
AGL_APP_ID = "launcher"
AGL_APP_NAME = "HTML5 Launcher"
-DEPENDS = "nodejs-native"
+DEPENDS = "nodejs-native icu-native"
do_compile[network] = "1"
do_compile() {
AGL_APP_ID = "webapps-mediaplayer"
AGL_APP_NAME = "HTML5 Media Player"
-DEPENDS = "nodejs-native"
+DEPENDS = "nodejs-native icu-native"
do_compile[network] = "1"
do_compile() {
AGL_APP_ID = "webapps-mixer"
AGL_APP_NAME = "HTML5 Mixer"
-DEPENDS = "nodejs-native protobuf-native"
+DEPENDS = "nodejs-native protobuf-native icu-native"
do_compile[network] = "1"
do_compile() {
AGL_APP_ID = "webapps-settings"
AGL_APP_NAME = "HTML5 Settings"
-DEPENDS = "nodejs-native"
+DEPENDS = "nodejs-native icu-native"
do_compile[network] = "1"
do_compile() {
-require agl-ivi-image.bb
+require recipes-platform/images/agl-ivi-image.bb
SUMMARY = "AGL IVI demo HTML5 image"
DESCRIPTION = "Contains the web runtime and sample web apps"
--- /dev/null
+BBLAYERS =+ " \
+ ${METADIR}/meta-agl-demo/meta-agl-html5-demo \
+"
+
+# required for WAM and chromium
+AGL_META_CLANG = "${METADIR}/external/meta-clang"
--- /dev/null
+---
+description: Feature agl-demo-html5
+authors: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
+---
+
+### Feature agl-demo-html5
+
+* Enables support for building the WAM-based html5 image
+
+### Dependent features pulled by agl-demo-html5
+
+The following features are pulled:
+
+* agl-demo
+
AGL_META_QT5 = "${METADIR}/external/meta-qt5"
# Needed to build CEF and WAM
-AGL_META_CLANG = "${METADIR}/external/meta-clang"
+#AGL_META_CLANG = "${METADIR}/external/meta-clang"