summaryrefslogtreecommitdiff
path: root/instsetoo_native/CustomTarget_install.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 /instsetoo_native/CustomTarget_install.mk
parent52c998be025563802a5056a15352e4608311be1d (diff)
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 'instsetoo_native/CustomTarget_install.mk')
-rw-r--r--instsetoo_native/CustomTarget_install.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/instsetoo_native/CustomTarget_install.mk b/instsetoo_native/CustomTarget_install.mk
index ab620d5844ed..b9991d208dd4 100644
--- a/instsetoo_native/CustomTarget_install.mk
+++ b/instsetoo_native/CustomTarget_install.mk
@@ -100,6 +100,7 @@ endef
$(call gb_CustomTarget_get_workdir,instsetoo_native/install)/install.phony:
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2)
+ $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),PRL)
rm -rf $(instsetoo_OUT)
ifeq (TRUE,$(LIBO_TEST_INSTALL))
$(call instsetoo_native_install_command,openoffice,en-US,,,archive)
@@ -130,6 +131,7 @@ ifneq (WNT,$(OS))
endif
endif # LIBO_TEST_INSTALL
touch $@
+ $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),PRL)
TIMESTAMPURL ?= "http://timestamp.globalsign.com/scripts/timestamp.dll"
$(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_signing.done: \
@@ -137,7 +139,9 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_signing.done: \
$(if $(filter ODK,$(BUILD_TYPE)),$(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_sdk_signing.done) \
$(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_main_signing.done
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2)
+ $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),PRL)
touch $@
+ $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),PRL)
$(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_helppack_signing.done \
$(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_sdk_signing.done \
@@ -146,6 +150,7 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_main_signing.do
$(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_main_signing.done:
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2)
+ $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),PRL)
$(PERL) $(SRCDIR)/postprocess/signing/signing.pl \
-l $(subst .done,_log.txt,$@) \
$(if $(verbose),-v) \
@@ -155,9 +160,11 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_main_signing.do
-d $(PRODUCTNAME)\ $(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH) \
$(WORKDIR)/installation/$(PRODUCTNAME)/msi/install/*/*.msi \
&& touch $@
+ $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),PRL)
$(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_helppack_signing.done:
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2)
+ $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),PRL)
$(PERL) $(SRCDIR)/postprocess/signing/signing.pl \
-l $(subst .done,_log.txt,$@) \
$(if $(verbose),-v) \
@@ -167,9 +174,11 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_helppack_signin
-d $(PRODUCTNAME)\ $(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)\ Helppack \
$(WORKDIR)/installation/$(PRODUCTNAME)_helppack/msi/install/*/*.msi \
&& touch $@
+ $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),PRL)
$(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_sdk_signing.done:
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2)
+ $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),PRL)
$(PERL) $(SRCDIR)/postprocess/signing/signing.pl \
-l $(subst .done,_log.txt,$@) \
$(if $(verbose),-v) \
@@ -179,5 +188,6 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/msi_sdk_signing.don
-d $(PRODUCTNAME)\ $(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)\ SDK \
$(WORKDIR)/installation/$(PRODUCTNAME)_SDK/msi/install/*/*.msi \
&& touch $@
+ $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),PRL)
# vim: set noet sw=4 ts=4: