From: Antia Puentes <apuentes@igalia.com>
Date: Fri, 21 Jun 2019 14:38:37 +0000 (+0200)
Subject: wam: add AGL_DEVEL flag if 'agl-devel' distro feature is on
X-Git-Tag: 7.99.3~1
X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F76%2F21876%2F1;p=AGL%2Fmeta-agl-devel.git

wam: add AGL_DEVEL flag if 'agl-devel' distro feature is on

We want the remote inspector to be available only in debug mode, i.e.
when the 'agl-devel' feature is on.  We will use this flag to check
if that is the case.

AGL-bug: SPEC-2327

Change-Id: Ib22c5f21bc79afa4544b884238ca971d7bef6991
Signed-off-by: Antia Puentes <apuentes@igalia.com>
---

diff --git a/meta-html5-framework/recipes-wam/wam/wam_git.bb b/meta-html5-framework/recipes-wam/wam/wam_git.bb
index 80ae1c54..2606ca5d 100644
--- a/meta-html5-framework/recipes-wam/wam/wam_git.bb
+++ b/meta-html5-framework/recipes-wam/wam/wam_git.bb
@@ -44,3 +44,4 @@ pkg_postinst_${PN}_append() {
 RDEPENDS_${PN} += "wam-tinyproxy"
 FILES_${PN} += "${sysconfdir}/init ${sysconfdir}/wam ${libdir}/webappmanager/plugins/*.so ${systemd_user_unitdir}"
 
+CXXFLAGS_append_agl-devel = " -DAGL_DEVEL"