Commit 50ec3d69 authored by Vladimir Levin's avatar Vladimir Levin Committed by Commit Bot

[PE] Fixup Blink build file when requesting blink_symbol_level = 2.

Blink relies on //build/config/compiler configs for the symbol level
selection. "full_symbols" is not a valid config, it was renamed to
"symbols". This patch updates the Blink build to use that.

R=chrishtr@chromium.org

Change-Id: I0187a3192a6c931062fd752e61dc298043150d37
Reviewed-on: https://chromium-review.googlesource.com/923104Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
Commit-Queue: vmpstr <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537168}
parent c2c43737
......@@ -76,8 +76,9 @@ if (use_default_render_theme) {
feature_defines_list += [ "WTF_USE_DEFAULT_RENDER_THEME=1" ]
}
assert(blink_symbol_level == -1 || !remove_webcore_debug_symbols,
"blink_symbol_level and remove_webcore_debug_symbols cannot both be set.")
assert(
blink_symbol_level == -1 || !remove_webcore_debug_symbols,
"blink_symbol_level and remove_webcore_debug_symbols cannot both be set.")
if (remove_webcore_debug_symbols) {
if (is_win && symbol_level != 0) {
......@@ -94,7 +95,7 @@ if (remove_webcore_debug_symbols) {
}
if (blink_symbol_level == 2) {
blink_symbols_config = [ "//build/config/compiler:full_symbols" ]
blink_symbols_config = [ "//build/config/compiler:symbols" ]
} else if (blink_symbol_level == 1) {
blink_symbols_config = [ "//build/config/compiler:minimal_symbols" ]
} else if (blink_symbol_level == 0) {
......
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