Chromium Code Reviews

Unified Diff: gni/v8.gni

Issue 2409133002: [build] Disable incremental linking for cctest and unittests (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | test/cctest/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gni/v8.gni
diff --git a/gni/v8.gni b/gni/v8.gni
index 7ff7f6fb89ac3634a2c7ff64030805582d8c8fb9..f36966dc9451863c5c9303980cf8323de00cc122 100644
--- a/gni/v8.gni
+++ b/gni/v8.gni
@@ -95,6 +95,10 @@ template("v8_executable") {
# For enabling ASLR.
ldflags = [ "-pie" ]
}
+ if (defined(no_incremental_linking) && no_incremental_linking && is_win) {
vogelheim 2016/10/11 13:11:37 I thought "defined(X) && X" was an anti-pattern th
Michael Achenbach 2016/10/12 07:32:08 That's how templates seem to be designed. There's
+ configs -= [ "//build/config/win:default_incremental_linking" ]
+ configs += [ "//build/config/win:no_incremental_linking" ]
+ }
}
}
« no previous file with comments | « no previous file | test/cctest/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine