Includes changes needed to make the application start using gRPC-WEB
Bug-AGL: SPEC-4599
Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: I96cd5f5a9b56180eb44c157c0af705a67d406b92
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29657
ci-image-boot-test: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
Tested-by: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
SRC_URI = " \
git://gerrit.automotivelinux.org/gerrit/apps/html5-hvac;protocol=https;branch=master \
"
-SRCREV = "5f1b6075982b872b5db4e2195e53d19529278d5c"
+SRCREV = "c323ab8fde212120d8d1914d453afeb55b3576e5"
inherit pythonnative agl-app
AGL_APP_ID = "webapps-hvac"
AGL_APP_NAME = "HTML5 HVAC"
-DEPENDS = "nodejs-native"
+DEPENDS = "nodejs-native protobuf-native"
do_compile[network] = "1"
do_compile() {
cd ${S}
rm -rf package node_modules package-lock.json
npm install
+ npm run generate-grpc
npm run build
}