Commit a18ff08b authored by machenbach's avatar machenbach Committed by Commit bot

[build] Disable incremental linking for cctest and unittests

BUG=v8:5412

Review-Url: https://codereview.chromium.org/2409133002
Cr-Commit-Position: refs/heads/master@{#40208}
parent bba8024d
...@@ -87,7 +87,15 @@ template("v8_source_set") { ...@@ -87,7 +87,15 @@ template("v8_source_set") {
template("v8_executable") { template("v8_executable") {
executable(target_name) { executable(target_name) {
forward_variables_from(invoker, "*", [ "configs" ]) forward_variables_from(invoker,
"*",
[
"configs",
"remove_configs",
])
if (defined(invoker.remove_configs)) {
configs -= invoker.remove_configs
}
configs += invoker.configs configs += invoker.configs
configs -= v8_remove_configs configs -= v8_remove_configs
configs += v8_add_configs configs += v8_add_configs
......
...@@ -317,6 +317,11 @@ v8_executable("cctest") { ...@@ -317,6 +317,11 @@ v8_executable("cctest") {
"../..:internal_config_base", "../..:internal_config_base",
] ]
if (is_win) {
remove_configs = [ "//build/config/win:default_incremental_linking" ]
configs += [ "//build/config/win:no_incremental_linking" ]
}
# TODO(machenbach): Translate from gyp. # TODO(machenbach): Translate from gyp.
#["OS=="aix"", { #["OS=="aix"", {
# "ldflags": [ "-Wl,-bbigtoc" ], # "ldflags": [ "-Wl,-bbigtoc" ],
......
...@@ -153,6 +153,11 @@ v8_executable("unittests") { ...@@ -153,6 +153,11 @@ v8_executable("unittests") {
"../..:internal_config_base", "../..:internal_config_base",
] ]
if (is_win) {
remove_configs = [ "//build/config/win:default_incremental_linking" ]
configs += [ "//build/config/win:no_incremental_linking" ]
}
# TODO(machenbach): Translate from gyp. # TODO(machenbach): Translate from gyp.
#['OS=="aix"', { #['OS=="aix"', {
# 'ldflags': [ '-Wl,-bbigtoc' ], # 'ldflags': [ '-Wl,-bbigtoc' ],
......
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