add build system part for upload crashreport symbols
Change-Id: Ib8dc0267034716740ba6d7f60cf635adc4bd1561
This commit is contained in:
parent
d586e3bf04
commit
1e4e503a53
4 changed files with 24 additions and 0 deletions
|
@ -20,4 +20,7 @@ include $(SRCDIR)/solenv/gbuild/gbuild.mk
|
|||
|
||||
$(eval $(call gb_Module_make_global_targets,$(SRCDIR)/RepositoryModule_$(gb_Side).mk))
|
||||
|
||||
upload-symbols:
|
||||
bin/upload_symbols.py $(WORKDIR)/symbols.zip $(BREAKPAD_SYMBOL_CONFIG) "$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)$(LIBO_VERSION_SUFFIX)$(LIBO_VERSION_SUFFIX_SUFFIX)"
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
|
|
@ -386,6 +386,9 @@ symbols:
|
|||
$(SRCDIR)/bin/symbolstore.py $(WORKDIR)/UnpackedTarball/breakpad/src/tools/linux/dump_syms/dump_syms $(WORKDIR)/symbols/ $(INSTDIR)/program/*
|
||||
cd $(WORKDIR)/symbols/ && zip -r $(WORKDIR)/symbols.zip *
|
||||
|
||||
upload-symbols:
|
||||
$(MAKE) -f $(SRCDIR)/Makefile.gbuild upload-symbols
|
||||
|
||||
dump-deps:
|
||||
@$(SRCDIR)/bin/module-deps.pl $(MAKE) $(SRCDIR)/Makefile.gbuild
|
||||
|
||||
|
|
|
@ -42,6 +42,7 @@ export BOOST_IOSTREAMS_LIB=@BOOST_IOSTREAMS_LIB@
|
|||
export BOOST_LDFLAGS=@BOOST_LDFLAGS@
|
||||
export BOOST_SYSTEM_LIB=@BOOST_SYSTEM_LIB@
|
||||
export BRAND_INTRO_IMAGES=@BRAND_INTRO_IMAGES@
|
||||
export BREAKPAD_SYMBOL_CONFIG=@BREAKPAD_SYMBOL_CONFIG@
|
||||
export BSH_JAR=@BSH_JAR@
|
||||
export BUILD_PLATFORM=@build@
|
||||
export BUILD_POSTGRESQL_SDBC=@BUILD_POSTGRESQL_SDBC@
|
||||
|
|
17
configure.ac
17
configure.ac
|
@ -2023,6 +2023,12 @@ AC_ARG_WITH(ant-home,
|
|||
of the entire distribution.]),
|
||||
,)
|
||||
|
||||
AC_ARG_WITH(symbol-config,
|
||||
AS_HELP_STRING([--with-symbol-config],
|
||||
[Configuration for the crashreport symbol upload]),
|
||||
[],
|
||||
[$with_symbol_config=no])
|
||||
|
||||
AC_ARG_WITH(export-validation,
|
||||
AS_HELP_STRING([--with-export-validation],
|
||||
[If you want the exported files to be validated. Right now limited to OOXML and ODF files.
|
||||
|
@ -9135,6 +9141,17 @@ else
|
|||
AC_DEFINE(ENABLE_BREAKPAD)
|
||||
AC_DEFINE(HAVE_FEATURE_BREAKPAD, 1)
|
||||
BUILD_TYPE="$BUILD_TYPE BREAKPAD"
|
||||
|
||||
AC_MSG_CHECKING([for crashreport config])
|
||||
if test "$with_symbol_config" = "no"; then
|
||||
BREAKPAD_SYMBOL_CONFIG="invalid"
|
||||
AC_MSG_RESULT([no])
|
||||
else
|
||||
BREAKPAD_SYMBOL_CONFIG="$with_symbol_config"
|
||||
AC_DEFINE(BREAKPAD_SYMBOL_CONFIG)
|
||||
AC_MSG_RESULT([yes])
|
||||
fi
|
||||
AC_SUBST(BREAKPAD_SYMBOL_CONFIG)
|
||||
fi
|
||||
AC_SUBST(ENABLE_BREAKPAD)
|
||||
|
||||
|
|
Loading…
Reference in a new issue