Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2620)

Unified Diff: build/config/compiler/compiler.gni

Issue 2570483004: Add support for link repros and use it on net_perftests. (Closed)
Patch Set: Address Scott's comments. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/toolchain/win/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/compiler.gni
diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni
index df12be920b53319190d9b60bb0994165e2000d43..13b450674326fd6ab2f8380563841325a24449c1 100644
--- a/build/config/compiler/compiler.gni
+++ b/build/config/compiler/compiler.gni
@@ -44,6 +44,20 @@ declare_args() {
# Whether or not we should turn on incremental WPO. Only affects the VS
# Windows build.
use_incremental_wpo = false
+
+ # Root directory that will store the MSVC link repro. This should only be
+ # used for debugging purposes on the builders where a MSVC linker flakyness
+ # has been observed. The targets for which a link repro should be generated
+ # should add somethink like this to their configuration:
+ # if (linkrepro_root_dir != "") {
+ # ldflags = ["/LINKREPRO:" + linkrepro_root_dir + "/" + target_name]
+ # }
+ #
+ # Note that doing a link repro uses a lot of disk space and slows down the
+ # build, so this shouldn't be enabled on too many targets.
+ #
+ # See crbug.com/669854.
+ linkrepro_root_dir = ""
}
declare_args() {
« no previous file with comments | « no previous file | build/toolchain/win/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698