Chromium Code Reviews| 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 |