build/Makefile.comp
changeset 87 1627c337e51e
parent 78 71ad690e91f5
--- a/build/Makefile.comp	Fri Oct 15 12:29:39 2010 +0300
+++ b/build/Makefile.comp	Fri Oct 29 11:49:32 2010 +0300
@@ -21,7 +21,7 @@
 include $(JAVA_SRC_ROOT)/build/Makefile.defs
 
 
-.PHONY: build_clean_java build_qmake build_clean_native really_clean_native clean_qmake qmakehelp emmareport
+.PHONY: build_clean_java build_qmake build_clean_native really_clean_native clean_qmake qmakehelp emmareport coberturareport
 
 
 PRO_FILE = $(wildcard *.pro)
@@ -71,7 +71,7 @@
 build_java:
 	$(PHASEINFO)
 ifndef SBOX_CPUTRANSPARENCY_LOG
-	$(ANT) -Dtarget.platform=$(PLATFORM) -Dtarget.cfg=$(VARIANT) $(ANT_PROJECT_DEFINES) $(ANT_EMMA_DEFINES)
+	$(ANT) -Dtarget.platform=$(PLATFORM) -Dtarget.cfg=$(VARIANT) $(ANT_PROJECT_DEFINES) $(ANT_EMMA_DEFINES) $(ANT_COBERTURA_DEFINES)
 endif
 
 build_clean_java:
@@ -91,6 +91,11 @@
 	$(ANT) -f $(JAVA_SRC_ROOT)/build/emmautilities.xml -Dset.emma.enabled=true emma.report
 endif
 
+coberturareport:
+ifndef SBOX_CPUTRANSPARENCY_LOG
+	$(ANT) -f $(JAVA_SRC_ROOT)/build/coberturautilities.xml -Dset.cobertura.enabled=true cobertura.report
+endif
+
 # Add the pro-file to the subdirs of enclosing component. Must define the file
 # explicitly when directory (==build) is differntly named from pro-file.
 configure_qmake: