Skip to content

Commit 6282487

Browse files
authored
fix: exclude crashpad_handler binary on linux (electron#23538)
1 parent e82bb06 commit 6282487

6 files changed

Lines changed: 7 additions & 5 deletions

File tree

build/zip.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
# //chrome/browser/resources/ssl/ssl_error_assistant, but we don't need to
2626
# ship it.
2727
'pyproto',
28+
29+
# On Windows, this binary doesn't exist (the crashpad handler is built-in).
30+
# On MacOS, the binary is called 'chrome_crashpad_handler' and is inside the
31+
# app bundle.
32+
# On Linux, we don't use crashpad, but this binary is still built for some
33+
# reason. Exclude it from the zip.
34+
'./crashpad_handler',
2835
]
2936

3037
def skip_path(dep, dist_zip, target_cpu):

script/lib/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
LINUX_BINARIES = [
3030
'electron',
3131
'chrome-sandbox',
32-
'crashpad_handler',
3332
'libffmpeg.so',
3433
'libGLESv2.so',
3534
'libEGL.so',

script/zip_manifests/dist_zip.linux.arm.manifest

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,5 @@ snapshot_blob.bin
6969
swiftshader/libEGL.so
7070
swiftshader/libGLESv2.so
7171
vk_swiftshader_icd.json
72-
crashpad_handler
7372
v8_context_snapshot.bin
7473
version

script/zip_manifests/dist_zip.linux.arm64.manifest

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,5 @@ snapshot_blob.bin
6969
swiftshader/libEGL.so
7070
swiftshader/libGLESv2.so
7171
vk_swiftshader_icd.json
72-
crashpad_handler
7372
v8_context_snapshot.bin
7473
version

script/zip_manifests/dist_zip.linux.x64.manifest

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,5 @@ snapshot_blob.bin
6969
swiftshader/libEGL.so
7070
swiftshader/libGLESv2.so
7171
vk_swiftshader_icd.json
72-
crashpad_handler
7372
v8_context_snapshot.bin
7473
version

script/zip_manifests/dist_zip.linux.x86.manifest

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,5 @@ snapshot_blob.bin
6969
swiftshader/libEGL.so
7070
swiftshader/libGLESv2.so
7171
vk_swiftshader_icd.json
72-
crashpad_handler
7372
v8_context_snapshot.bin
7473
version

0 commit comments

Comments
 (0)