diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-11-15 04:39:24 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-02-22 18:20:13 +0000 |
commit | a46ef637d5f37962f826969cb2d7eb4cb9ba81c6 (patch) | |
tree | e60a0d3c0e716ace76db0fc71bb343adff0b6f6b /RepositoryExternal.mk | |
parent | e72cd4053676d826ef9a914e62e89e26247bdd5c (diff) |
include breakpad into the build
Change-Id: I1bfd107502332fc86ae5e96bbc1f475b8d669c6c
Reviewed-on: https://gerrit.libreoffice.org/22547
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index d0ee166edf34..8ce914d5ef68 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -3346,6 +3346,43 @@ endif # SYSTEM_NSS endif # DESKTOP +ifeq ($(ENABLE_BREAKPAD),TRUE) + +# ifneq ($(SYSTEM_LIBBREAKPAD),TRUE) + +define gb_LinkTarget__use_breakpad +$(call gb_LinkTarget_set_include,$(1),\ + -I$(call gb_UnpackedTarball_get_dir,breakpad)/src \ + $$(INCLUDE) \ +) + +ifeq ($(COM),MSC) +$(call gb_LinkTarget_add_libs,$(1),\ + $(call gb_UnpackedTarball_get_dir,breakpad)/build/win32/$(wnt_arch_subdir_optional)$(if $(MSVC_USE_DEBUG_RUNTIME),Debug/breakpad.lib,Release/breakpad.lib) \ +) +else +$(call gb_LinkTarget_add_libs,$(1),\ + $(call gb_UnpackedTarball_get_dir,breakpad)/src/client/linux/libbreakpad_client.a \ +) +endif + +$(call gb_LinkTarget_use_external_project,$(1),breakpad) + +endef + +# else # SYSTEM_LIBBREAKPAD +# +# define gb_LinkTarget__use_libgltf +# $(call gb_LinkTarget_set_include,$(1),\ +# $$(INCLUDE) \ +# $(LIBBREAKPAD_CFLAGS) \ +# ) +# $(call gb_LinkTarget_add_libs,$(1),$(LIBBREAKPAD_LIBS)) +# +# endef + +endif # SYSTEN_LIBBREAKPAD + ifeq ($(ENABLE_GLTF),TRUE) ifneq ($(SYSTEM_LIBGLTF),TRUE) |