Skip to content

Commit c3e818f

Browse files
committed
Fix nwjs#5608: use .sym filename extension for linux symbol
1 parent b1f37c3 commit c3e818f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

BUILD.gn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,13 +369,13 @@ if (is_linux && !is_component_build) {
369369
deps += [ "//components/nacl/loader:nacl_helper" ]
370370
}
371371
outputs = [
372-
"$root_build_dir/{{source_name_part}}.breakpad.$target_cpu"
372+
"$root_build_dir/{{source_name_part}}.sym"
373373
]
374374
args = [
375375
"./" + rebase_path("tools/dump_syms", root_build_dir),
376376
"$linux_strip_binary",
377377
"{{source}}",
378-
rebase_path("$root_out_dir/{{source_name_part}}.breakpad.$arch_pkgname", root_build_dir)
378+
rebase_path("$root_out_dir/{{source_name_part}}.sym", root_build_dir)
379379
]
380380
}
381381
}

tools/package_binaries.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,13 +253,13 @@ def generate_target_symbols(platform_name, arch, version):
253253
if platform_name == 'linux':
254254
target['compress'] = 'tar.gz'
255255
target['input'] = [
256-
'nw.breakpad.' + arch,
257-
'libnode.breakpad.' + arch,
258-
'libnw.breakpad.' + arch,
259-
'libffmpeg.breakpad.' + arch
256+
'nw.sym',
257+
'libnode.sym',
258+
'libnw.sym',
259+
'libffmpeg.sym'
260260
]
261261
if flavor in ['sdk', 'nacl']:
262-
target['input'].append('nacl_helper.breakpad.' + arch)
262+
target['input'].append('nacl_helper.sym')
263263

264264
target['folder'] = True
265265
elif platform_name == 'win':

0 commit comments

Comments
 (0)