Commit 4ebba0d5 authored by Geoff Lang's avatar Geoff Lang Committed by Commit Bot

Extract ANGLE's symbols for Linux builds.

ANGLE's libGLESv2.so and libEGL.so have started shipping on Linux but
symbols were not available to help debug crashes.

BUG=988444

Change-Id: I89edc315c05cfe0dad785e386c643e44b56af72d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1724491Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681869}
parent c4650ad0
......@@ -1983,6 +1983,34 @@ if (is_linux) {
"//third_party/swiftshader/src/OpenGL/libGLESv2:swiftshader_libGLESv2",
]
}
extract_symbols("angle_egl_symbols") {
binary = "$root_out_dir/libEGL.so"
if (current_cpu == "x86") {
# GYP used "ia32" so keep that naming for back-compat.
symbol_file = "$root_out_dir/angle_libegl.breakpad.ia32"
} else {
symbol_file = "$root_out_dir/angle_libegl.breakpad.$current_cpu"
}
deps = [
"//third_party/angle:libEGL",
]
}
extract_symbols("angle_gles_symbols") {
binary = "$root_out_dir/libGLESv2.so"
if (current_cpu == "x86") {
# GYP used "ia32" so keep that naming for back-compat.
symbol_file = "$root_out_dir/angle_libgles.breakpad.ia32"
} else {
symbol_file = "$root_out_dir/angle_libgles.breakpad.$current_cpu"
}
deps = [
"//third_party/angle:libGLESv2",
]
}
}
# Copies some scripts and resources that are used for desktop integration.
......
......@@ -179,6 +179,18 @@ FILES = [
'buildtype': ['official'],
'archive': 'breakpad-info.zip',
},
{
'filename': 'angle_libegl.breakpad.x64',
'arch': ['64bit'],
'buildtype': ['official'],
'archive': 'breakpad-info.zip',
},
{
'filename': 'angle_libgles.breakpad.x64',
'arch': ['64bit'],
'buildtype': ['official'],
'archive': 'breakpad-info.zip',
},
{
'filename': 'nacl_irt_x86_64.nexe.debug',
'arch': ['64bit'],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment