summaryrefslogtreecommitdiffstats
path: root/i18npool/CustomTarget_breakiterator.mk
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2020-02-10 10:31:26 +0100
committerLuboš Luňák <l.lunak@collabora.com>2020-02-16 14:49:45 +0100
commit0adc9b615f118ebb78f5f2edfe0c1c0e41270d57 (patch)
treeaa84e0793d6e95a94686b6caacc9a0b5e7e8611e /i18npool/CustomTarget_breakiterator.mk
parentdraw sprite bounds in vclcanvas only if explicitly asked for (diff)
downloadcore-0adc9b615f118ebb78f5f2edfe0c1c0e41270d57.tar.gz
core-0adc9b615f118ebb78f5f2edfe0c1c0e41270d57.zip
GBUILD_TRACE, support for finding out where the build time is spent
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 <l.lunak@collabora.com>
Diffstat (limited to 'i18npool/CustomTarget_breakiterator.mk')
-rw-r--r--i18npool/CustomTarget_breakiterator.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/i18npool/CustomTarget_breakiterator.mk b/i18npool/CustomTarget_breakiterator.mk
index 862dcebbd3f3..dee46a31f0b1 100644
--- a/i18npool/CustomTarget_breakiterator.mk
+++ b/i18npool/CustomTarget_breakiterator.mk
@@ -21,8 +21,10 @@ $(i18npool_BIDIR)/dict_%.data : \
$(call gb_Executable_get_runtime_dependencies,gendict) \
| $(i18npool_BIDIR)/.dir
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),DIC,1)
+ $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),DIC)
$(call gb_Helper_abbreviate_dirs,\
$(call gb_Helper_execute,gendict) $< $@ $(patsubst $(i18npool_BIDIR)/dict_%.cxx,%,$@))
+ $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),DIC)
else
$(call gb_CustomTarget_get_target,i18npool/breakiterator) : \
@@ -33,8 +35,10 @@ $(i18npool_BIDIR)/dict_%.cxx : \
$(call gb_Executable_get_runtime_dependencies,gendict) \
| $(i18npool_BIDIR)/.dir
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),DIC,1)
+ $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),DIC)
$(call gb_Helper_abbreviate_dirs,\
$(call gb_Helper_execute,gendict) $< $@ $(patsubst $(i18npool_BIDIR)/dict_%.cxx,%,$@))
+ $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),DIC)
endif
@@ -68,6 +72,7 @@ $(i18npool_BIDIR)/OpenOffice_dat.c : $(SRCDIR)/i18npool/CustomTarget_breakiterat
$(patsubst %.brk,$(i18npool_BIDIR)/%_brk.c,$(i18npool_BRKTXTS)) \
$(call gb_ExternalExecutable_get_dependencies,gencmn)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),CMN,1)
+ $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),CMN)
$(call gb_Helper_abbreviate_dirs,\
RESPONSEFILE=$(shell $(gb_MKTEMP)) && \
$(foreach brk,$(i18npool_BRKTXTS),echo '$(brk)' >> $${RESPONSEFILE} && ) \
@@ -77,19 +82,24 @@ $(i18npool_BIDIR)/OpenOffice_dat.c : $(SRCDIR)/i18npool/CustomTarget_breakiterat
echo '#pragma warning( disable : 4229 )' >> $@ && \
echo '#endif' >> $@ && \
cat $(subst _dat,_tmp,$@) >> $@)
+ $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),CMN)
$(i18npool_BIDIR)/%_brk.c : $(i18npool_BIDIR)/%.brk $(call gb_ExternalExecutable_get_dependencies,genccode)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),CCD,1)
+ $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),CCD)
$(call gb_Helper_abbreviate_dirs,\
$(call gb_ExternalExecutable_get_command,genccode) -n OpenOffice -d $(i18npool_BIDIR)/ $< \
$(if $(findstring s,$(MAKEFLAGS)),> /dev/null))
+ $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),CCD)
$(i18npool_BIDIR)/%.brk : $(i18npool_BIDIR)/%.txt $(call gb_ExternalExecutable_get_dependencies,genbrk)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),BRK,1)
+ $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),BRK)
$(call gb_Helper_abbreviate_dirs,\
$(call gb_ExternalExecutable_get_command,genbrk) \
$(if $(SYSTEM_ICU),,-i $(call gb_UnpackedTarball_get_dir,icu)/source/data/out/tmp) \
-r $< -o $@ $(if $(findstring s,$(MAKEFLAGS)),> /dev/null))
+ $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),BRK)
# fdo#31271 ")" reclassified in more recent Unicode Standards / ICU 4.4
# * Prepend set empty as of Unicode Version 6.1 / ICU 49, which bails out if used.