wam: add AGL_DEVEL flag if 'agl-devel' distro feature is on 76/21876/1
authorAntia Puentes <apuentes@igalia.com>
Fri, 21 Jun 2019 14:38:37 +0000 (16:38 +0200)
committerAntia Puentes <apuentes@igalia.com>
Sat, 13 Jul 2019 10:36:52 +0000 (12:36 +0200)
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>
meta-html5-framework/recipes-wam/wam/wam_git.bb

index 80ae1c5..2606ca5 100644 (file)
@@ -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"