mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-26 21:50:42 -10:00
fix_stack_using_bpsyms.py locates a .sym file based on file name only, not uuid or full path, which causes a failure if a duplicate leaf file name is introduced. This patch introduces a small utility program on mac and linux to extract a breakpad guid from a shared library or executable to identify the correct symbol file when this ambiguity occurs. A subsequent commit implements this for windows.
30 lines
818 B
INI
30 lines
818 B
INI
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
if CONFIG['OS_ARCH'] == 'Linux':
|
|
USE_LIBS += [
|
|
'breakpad_linux_common_s',
|
|
]
|
|
SOURCES += ['linux_fileid.cpp']
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'Darwin':
|
|
USE_LIBS += [
|
|
'breakpad_mac_common_s',
|
|
]
|
|
SOURCES += ['mac_fileid.cpp']
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'Linux' or CONFIG['OS_ARCH'] == 'Darwin':
|
|
USE_LIBS += [
|
|
'breakpad_common_s',
|
|
'breakpad_logging',
|
|
]
|
|
LOCAL_INCLUDES += [
|
|
'/toolkit/crashreporter/google-breakpad/src',
|
|
]
|
|
Program('fileid')
|