summaryrefslogtreecommitdiff
path: root/desktop/Executable_minidump_upload.mk
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-02 19:15:47 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-04 08:41:56 +0000
commit2d1fc99275315bd6f45c1b73540f2b55e94bef9f (patch)
tree4a8e5c858a086efad4c6c3723f1ac5a5125395b4 /desktop/Executable_minidump_upload.mk
parente95be04a73e977022455335d7cbf56804638f761 (diff)
extract the minidump uploader code into a static lib
The plan for the near future is to still ship the executable but replace the interal use if possible with using the static library. At some point when it is not needed for debugging anymore and everything works correctly we should only build the uploader executable in dev configurations. The huge disadvantage of the interal solution is that it is nearly impossible for a user to upload a crash report if LibO starts working correctly. Also LibO overwrites the file with the information after the upload whereas the executable does not. Change-Id: Ib9854946be3a34e580964c18e1a9c0cce16221d1 Reviewed-on: https://gerrit.libreoffice.org/25862 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'desktop/Executable_minidump_upload.mk')
-rw-r--r--desktop/Executable_minidump_upload.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/Executable_minidump_upload.mk b/desktop/Executable_minidump_upload.mk
index 7fe9546a9624..2c0202371a63 100644
--- a/desktop/Executable_minidump_upload.mk
+++ b/desktop/Executable_minidump_upload.mk
@@ -13,6 +13,10 @@ $(eval $(call gb_Executable_use_libraries,minidump_upload,\
sal \
))
+$(eval $(call gb_Executable_use_static_libraries,minidump_upload,\
+ minidump \
+))
+
$(eval $(call gb_Executable_use_external,minidump_upload,curl))
$(eval $(call gb_Executable_add_exception_objects,minidump_upload,\