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

Unified Diff: build/config/compiler/BUILD.gn

Issue 1234033005: Add Syzygy support to Windows GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months 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
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index dafc685164173d4e1c3507f7fb606b1eb08a250b..39a47787747ad207ba896940b9760ac849f8f25f 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -143,6 +143,11 @@ config("compiler") {
]
}
}
+
+ if (is_syzyasan) {
+ # SyzyAsan needs /PROFILE turned on to produce appropriate pdbs.
+ ldflags += [ "/PROFILE" ]
+ }
} else {
# Common GCC compiler flags setup.
# --------------------------------

Powered by Google App Engine
This is Rietveld 408576698