Remove reference to full_wpo_on_official.
This is a GN build flag that no longer exists in Chromium, because of
the switch to Clang/LLD.
Bug: chromium:1053958
Change-Id: I08afd3cd7449acbe79d6f4b348cc24aea002a6c6
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/66873
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
diff --git a/third_party/yasm/BUILD.gn b/third_party/yasm/BUILD.gn
index c6543a5..93ecb0d 100644
--- a/third_party/yasm/BUILD.gn
+++ b/third_party/yasm/BUILD.gn
@@ -335,14 +335,8 @@
":yasm_warnings",
]
- # Disable WPO for yasm: crbug.com/604808
- if (is_official_build && full_wpo_on_official) {
- configs -= [ "//build/config/compiler:default_optimization" ]
- configs += [ "//build/config/compiler:optimize_no_wpo" ]
- } else {
- configs -= configs_to_delete
- configs += configs_to_add
- }
+ configs -= configs_to_delete
+ configs += configs_to_add
# Yasm generates a bunch of .c files which its source file #include. These
# are placed in |yasm_gen_include_dir|.