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

Unified Diff: third_party/yasm/BUILD.gn

Issue 1880113003: Enable /GL for all targets in Official (behind a flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase - Add a flag to enable this. Created 4 years, 8 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
« third_party/mesa/BUILD.gn ('K') | « third_party/mesa/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/yasm/BUILD.gn
diff --git a/third_party/yasm/BUILD.gn b/third_party/yasm/BUILD.gn
index b744cc45185340cb3b532dfedf6f80b91b0d1119..4858895c950253a164c34b10e71cb5cf0a5a4057 100644
--- a/third_party/yasm/BUILD.gn
+++ b/third_party/yasm/BUILD.gn
@@ -297,6 +297,12 @@ if (current_toolchain == host_toolchain) {
":yasm_warnings",
]
+ # Disable the WPO for yasm: crbug.com/604808
brucedawson 2016/04/29 00:06:13 the WPO -> WPO
Sébastien Marchand 2016/04/29 14:15:39 Done.
+ if (is_official_build && full_wpo_on_official) {
+ configs -= [ "//build/config/compiler:default_optimization" ]
+ configs += [ "//build/config/compiler:optimize_no_wpo" ]
+ }
+
# Yasm generates a bunch of .c files which its source file #include.
# Add the |target_gen_dir| into the include path so it can find them.
# Ideally, these generated .c files would be placed into a separate
« third_party/mesa/BUILD.gn ('K') | « third_party/mesa/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698