[vala/0.38] vapigen: Add coverage build-flags



commit df76239bd8c92952420793804a685cac0555b86e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Jan 8 10:03:10 2018 +0100

    vapigen: Add coverage build-flags

 vapigen/Makefile.am |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/vapigen/Makefile.am b/vapigen/Makefile.am
index ece0c6c..c457ea5 100644
--- a/vapigen/Makefile.am
+++ b/vapigen/Makefile.am
@@ -7,6 +7,7 @@ SUBDIRS = \
        $(NULL)
 
 AM_CPPFLAGS = \
+       $(COVERAGE_CFLAGS) \
        $(GLIB_CFLAGS) \
        -I$(top_srcdir)/gee \
        -I$(top_srcdir)/ccode \
@@ -42,6 +43,7 @@ vapicheck_SOURCES = \
 
 vapigen.vala.stamp: $(vapigen_VALASOURCES)
        $(VALA_V)$(VALAC) \
+               $(COVERAGE_VALAFLAGS) \
                $(VALAFLAGS) \
                -C \
                --vapidir $(top_srcdir)/vapi \
@@ -54,6 +56,7 @@ vapigen.vala.stamp: $(vapigen_VALASOURCES)
 
 vapicheck.vala.stamp: $(vapicheck_VALASOURCES)
        $(VALA_V)$(VALAC) \
+               $(COVERAGE_VALAFLAGS) \
                $(VALAFLAGS) \
                -C \
                --vapidir $(top_srcdir)/vapi \
@@ -65,12 +68,14 @@ vapicheck.vala.stamp: $(vapicheck_VALASOURCES)
        @touch $@
 
 vapigen_LDADD = \
+       $(COVERAGE_LIBS) \
        $(GLIB_LIBS) \
        $(top_builddir)/vala/libvala@PACKAGE_SUFFIX@.la \
        $(top_builddir)/gobject-introspection/libgidl.la \
        $(NULL)
 
 vapicheck_LDADD = \
+       $(COVERAGE_LIBS) \
        $(GLIB_LIBS) \
        $(top_builddir)/vala/libvala@PACKAGE_SUFFIX@.la \
        $(top_builddir)/gobject-introspection/libgidl.la \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]