mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-25 03:48:43 +00:00
only build dump_syms_mac for x86 hosts
The dump_syms_mac tool only works for the system it is being built for (it doesn't support running on ELFs for a diff target), and it builds only for x86 currently. If you look at the mac header: src/third_party/mac_headers/mach/machine/vm_types.h it will #error for non x86/arm systems, and the arm header is not in our source tree. Tweak the build so it's only compiled when targetting x86 systems. BUG=chromium:579384 TEST=`make check` pass R=ted.mielczarek@gmail.com Review URL: https://codereview.chromium.org/1645673002 .
This commit is contained in:
@@ -347,9 +347,12 @@ bin_PROGRAMS += \
|
||||
src/tools/linux/dump_syms/dump_syms \
|
||||
src/tools/linux/md2core/minidump-2-core \
|
||||
src/tools/linux/symupload/minidump_upload \
|
||||
src/tools/linux/symupload/sym_upload \
|
||||
src/tools/linux/symupload/sym_upload
|
||||
if X86_HOST
|
||||
bin_PROGRAMS += \
|
||||
src/tools/mac/dump_syms/dump_syms_mac
|
||||
endif
|
||||
endif
|
||||
endif LINUX_HOST
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user