aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am.coverage
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-02-14 22:25:39 +0000
committerTarmac <Unknown>2013-02-14 22:25:39 +0000
commitd05835eae4e47417fdd41a1d4fcaf6a2bcfd96ea (patch)
tree43995c9938a1039e251512d6f9ed71971b27a476 /Makefile.am.coverage
parente7966480ecd14bd6cb4c4ec5f527cfe10a1a0b0f (diff)
parent40d7c42d5212dc97ce6b07f05828fb62440d0694 (diff)
downloadlibayatana-indicator-d05835eae4e47417fdd41a1d4fcaf6a2bcfd96ea.tar.gz
libayatana-indicator-d05835eae4e47417fdd41a1d4fcaf6a2bcfd96ea.tar.bz2
libayatana-indicator-d05835eae4e47417fdd41a1d4fcaf6a2bcfd96ea.zip
Add IndicatorNg.
IndicatorNg is an indicator object that reads an indicator service file and watches the bus for a corresponding service to appear. It turns the menus and actions exported by the service into an indicator entry. I think this is a good solution for the transition period in which we support both styles of indicators. (It means we don't need to copy templates around.) An indicator service file must have an ".indicator" extension and contents simlilar to this: [Indicator Service] Name=indicator-test BusName=com.canonical.indicator.test ObjectPath=/com/canonical/indicator/test For unity-panel-service, these files will be installed somewhere. The indicator-loader in this branch accepts a path to such a file as the first command line argument (instead of the .so file). This can be tested with the example indicator in lp:~larsu/libunity/add-indicator (examples/indicator.vala). Approved by Charles Kerr, Ted Gould.
Diffstat (limited to 'Makefile.am.coverage')
-rw-r--r--Makefile.am.coverage4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am.coverage b/Makefile.am.coverage
index fb97747..dc3b9c8 100644
--- a/Makefile.am.coverage
+++ b/Makefile.am.coverage
@@ -1,6 +1,8 @@
# Coverage targets
+EXTRA_DIST = trim-lcov.py
+
.PHONY: clean-gcno clean-gcda \
coverage-html generate-coverage-html clean-coverage-html \
coverage-gcovr generate-coverage-gcovr clean-coverage-gcovr
@@ -23,7 +25,7 @@ coverage-html: clean-gcda
generate-coverage-html:
@echo Collecting coverage data
- $(LCOV) --directory $(top_builddir) --capture --output-file coverage.info --no-checksum --compat-libtool
+ $(LCOV) --directory $(top_builddir) --capture --no-checksum --compat-libtool | $(top_srcdir)/trim-lcov.py > coverage.info
LANG=C $(GENHTML) --prefix $(top_builddir) --output-directory coveragereport --title "Code Coverage" --legend --show-details coverage.info
clean-coverage-html: clean-gcda