fix: exclude crashpad_handler binary on linux (#23538)

This commit is contained in:
Jeremy Apthorp 2020-05-13 15:28:12 -07:00 committed by GitHub
parent e82bb06336
commit 6282487245
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 # //chrome/browser/resources/ssl/ssl_error_assistant, but we don't need to
# ship it. # ship it.
'pyproto', '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): def skip_path(dep, dist_zip, target_cpu):

View file

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

View file

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

View file

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

View file

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

View file

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