From 0adc9b615f118ebb78f5f2edfe0c1c0e41270d57 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Mon, 10 Feb 2020 10:31:26 +0100 Subject: GBUILD_TRACE, support for finding out where the build time is spent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See instructions in solenv/gbuild/Trace.mk . This generates a file than can be viewed e.g. in the Chromium tracing view. Change-Id: I5f90647c58ca729375525b6daed2d4918adc8188 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88754 Tested-by: Jenkins Reviewed-by: Luboš Luňák --- solenv/gbuild/AllLangMoTarget.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'solenv/gbuild/AllLangMoTarget.mk') diff --git a/solenv/gbuild/AllLangMoTarget.mk b/solenv/gbuild/AllLangMoTarget.mk index 63789f768ec0..e1fbdc732f7c 100644 --- a/solenv/gbuild/AllLangMoTarget.mk +++ b/solenv/gbuild/AllLangMoTarget.mk @@ -37,6 +37,7 @@ $(call gb_MoTarget_get_target,%) : \ $(gb_Helper_MISCDUMMY) \ $(call gb_ExternalExecutable_get_dependencies,python) $(call gb_Output_announce,$*,$(true),MO ,2) + $(call gb_Trace_StartRange,$*,MO ) $(call gb_Helper_abbreviate_dirs,\ mkdir -p $(dir $@) && \ if test -e $(gb_POLOCATION)/$(LANGUAGE)/$(POLOCATION)/messages.po; then \ @@ -45,6 +46,7 @@ $(call gb_MoTarget_get_target,%) : \ echo missing $(gb_POLOCATION)/$(LANGUAGE)/$(POLOCATION)/messages.po && \ $(MSGUNIQ) --force-po $(SRCDIR)/solenv/bin/dummy.po | $(MSGFMT) - -o $@; \ fi) + $(call gb_Trace_EndRange,$*,MO ) #$(info $(call gb_MoTarget_get_target,$(1))) define gb_MoTarget_MoTarget -- cgit