mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-17 16:43:53 +00:00
win, gn: use new lists when using templated targets
The crashpad_{executable, loadable_module} templates won't have pre-existing configs lists to modify. Use configs and remove_configs to merge changes into default configs when using the templates. Change-Id: Id7c0b1991c9d0ac55022b427feb59df28668b959 Reviewed-on: https://chromium-review.googlesource.com/981778 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
5754f608cb
commit
58e4bbecc2
@ -539,8 +539,8 @@ if (crashpad_is_win) {
|
|||||||
if (symbol_level == 0) {
|
if (symbol_level == 0) {
|
||||||
# The tests that use this executable rely on at least minimal debug
|
# The tests that use this executable rely on at least minimal debug
|
||||||
# info.
|
# info.
|
||||||
configs -= [ "//build/config/compiler:default_symbols" ]
|
remove_configs = [ "//build/config/compiler:default_symbols" ]
|
||||||
configs += [ "//build/config/compiler:minimal_symbols" ]
|
configs = [ "//build/config/compiler:minimal_symbols" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -557,8 +557,8 @@ if (crashpad_is_win) {
|
|||||||
if (crashpad_is_in_chromium) {
|
if (crashpad_is_in_chromium) {
|
||||||
if (symbol_level == 0) {
|
if (symbol_level == 0) {
|
||||||
# The tests that use this module rely on at least minimal debug info.
|
# The tests that use this module rely on at least minimal debug info.
|
||||||
configs -= [ "//build/config/compiler:default_symbols" ]
|
remove_configs = [ "//build/config/compiler:default_symbols" ]
|
||||||
configs += [ "//build/config/compiler:minimal_symbols" ]
|
configs = [ "//build/config/compiler:minimal_symbols" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user