fix: exclude crashpad_handler binary on linux (#23575)

* fix: exclude crashpad_handler binary on linux

* Update build/zip.py

Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net>
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org>
This commit is contained in:
trop[bot]
2020-05-18 10:30:30 +09:00
committed by GitHub
parent fcf50849f3
commit c084b128dc
6 changed files with 7 additions and 5 deletions

View File

@@ -25,6 +25,13 @@ PATHS_TO_SKIP = [
# //chrome/browser/resources/ssl/ssl_error_assistant, but we don't need to
# ship it.
'pyproto',
# On Windows, this binary doesn't exist (the crashpad handler is built-in).
# On MacOS, the binary is called 'chrome_crashpad_handler' and is inside the
# app bundle.
# On Linux, we don't use crashpad, but this binary is still built for some
# reason. Exclude it from the zip.
'./crashpad_handler',
]
def skip_path(dep, dist_zip, target_cpu):

View File

@@ -29,7 +29,6 @@ PLATFORM = {
LINUX_BINARIES = [
'electron',
'chrome-sandbox',
'crashpad_handler',
'libffmpeg.so',
'libGLESv2.so',
'libEGL.so',

View File

@@ -69,6 +69,5 @@ snapshot_blob.bin
swiftshader/libEGL.so
swiftshader/libGLESv2.so
vk_swiftshader_icd.json
crashpad_handler
v8_context_snapshot.bin
version

View File

@@ -69,6 +69,5 @@ snapshot_blob.bin
swiftshader/libEGL.so
swiftshader/libGLESv2.so
vk_swiftshader_icd.json
crashpad_handler
v8_context_snapshot.bin
version

View File

@@ -69,6 +69,5 @@ snapshot_blob.bin
swiftshader/libEGL.so
swiftshader/libGLESv2.so
vk_swiftshader_icd.json
crashpad_handler
v8_context_snapshot.bin
version

View File

@@ -69,6 +69,5 @@ snapshot_blob.bin
swiftshader/libEGL.so
swiftshader/libGLESv2.so
vk_swiftshader_icd.json
crashpad_handler
v8_context_snapshot.bin
version