summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJüri Valdmann <juri.valdmann@qt.io>2020-03-16 16:31:24 +0100
committerJüri Valdmann <juri.valdmann@qt.io>2020-03-26 11:19:46 +0000
commit5c3aa6707fb0f14c70e84778c112ce29edb8e303 (patch)
tree3da6c73b2ad3a3bfe223027b8c4d66ceaa3fb2d9
parent58290082105f311609082f6f3b3738d5c94b8542 (diff)
downloadqtwebengine-chromium-5c3aa6707fb0f14c70e84778c112ce29edb8e303.tar.gz
[Revert] Always strip absolute paths from debug symbols.
Upstream decided to stop exposing the strip_absolute_paths_from_debug_symbols build option because somebody once disabled it for the wrong reason. See also https://chromium-review.googlesource.com/c/chromium/src/+/1898778 Change-Id: I09f86bc5c9ae1686675e45605ae9417792ead752 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r--chromium/build/config/compiler/compiler.gni10
1 files changed, 2 insertions, 8 deletions
diff --git a/chromium/build/config/compiler/compiler.gni b/chromium/build/config/compiler/compiler.gni
index 8f03a29c284..a064a9e44e1 100644
--- a/chromium/build/config/compiler/compiler.gni
+++ b/chromium/build/config/compiler/compiler.gni
@@ -211,14 +211,8 @@ strip_absolute_paths_from_debug_symbols_default =
is_android || is_fuchsia || is_nacl || (is_win && use_lld) || is_linux ||
(is_mac && !enable_dsyms)
-# If the platform uses stripped absolute paths by default, then we don't expose
-# it as a configuration option. If this is causing problems, please file a bug.
-if (strip_absolute_paths_from_debug_symbols_default) {
- strip_absolute_paths_from_debug_symbols = true
-} else {
- declare_args() {
- strip_absolute_paths_from_debug_symbols = false
- }
+declare_args() {
+ strip_absolute_paths_from_debug_symbols = strip_absolute_paths_from_debug_symbols_default
}
# If it wasn't manually set, set to an appropriate default.