chore: fix path to dump_syms in the windows breakpad tool
This commit is contained in:
parent
27d363015b
commit
b0b9ebd448
2 changed files with 13 additions and 2 deletions
|
@ -16,10 +16,20 @@ import subprocess
|
|||
import sys
|
||||
import threading
|
||||
|
||||
GN_SRC_DIR = os.path.abspath(os.path.join(__file__, '..', '..', '..', '..'))
|
||||
|
||||
# Duplicated as this script lives in tools not script
|
||||
def get_out_dir():
|
||||
out_dir = 'Debug'
|
||||
override = os.environ.get('ELECTRON_OUT_DIR')
|
||||
if override is not None:
|
||||
out_dir = override
|
||||
return os.path.join(GN_SRC_DIR, 'out', out_dir)
|
||||
|
||||
|
||||
CONCURRENT_TASKS=4
|
||||
SOURCE_ROOT=os.path.abspath(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
|
||||
DUMP_SYMS=os.path.join(SOURCE_ROOT, 'vendor', 'breakpad', 'dump_syms.exe')
|
||||
OUT_DIR=get_out_dir()
|
||||
DUMP_SYMS=os.path.join(OUT_DIR, 'dump_syms.exe')
|
||||
|
||||
|
||||
def GetCommandOutput(command):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue