build: use different directory for generated breakpad symbols (#15716)

This commit is contained in:
John Kleinschmidt 2018-11-14 12:47:01 -08:00 committed by GitHub
parent 511dc9a80b
commit b53a858400
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 8 deletions

View file

@ -72,7 +72,7 @@ def generate_posix_symbols(binary, source_root, build_dir, destination):
'--binary={0}'.format(binary),
]
if is_verbose_mode():
args += ['-v']
args += ['--verbose']
execute([sys.executable, generate_breakpad_symbols] + args)
def parse_args():

View file

@ -14,9 +14,7 @@ RELEASE_DIR = get_out_dir()
PROJECT_NAME = get_electron_branding()['project_name']
PRODUCT_NAME = get_electron_branding()['product_name']
SYMBOLS_DIR = os.path.join(
RELEASE_DIR, '{0}.breakpad.syms'.format(PROJECT_NAME)
)
SYMBOLS_DIR = os.path.join(RELEASE_DIR, 'breakpad_symbols')
PDB_LIST = [
os.path.join(RELEASE_DIR, '{0}.exe.pdb'.format(PROJECT_NAME))

View file

@ -24,7 +24,7 @@ def main():
licenses = ['LICENSE', 'LICENSES.chromium.html', 'version']
with scoped_cwd(args.build_dir):
dirs = ['{0}.breakpad.syms'.format(PROJECT_NAME)]
dirs = ['breakpad_symbols']
print('Making symbol zip: ' + zip_file)
make_zip(zip_file, licenses, dirs)