Index: third_party/BUILD.gn |
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn |
index f6358147be3549b1748905237f1e5a5cd580409d..e9e50cd0b9ed2c5535b17be3b75c2dec43322cbb 100644 |
--- a/third_party/BUILD.gn |
+++ b/third_party/BUILD.gn |
@@ -46,6 +46,7 @@ static_library("fx_freetype") { |
configs += [ |
"//build/config/compiler:no_chromium_code", |
"//third_party/pdfium:pdfium_config", |
+ # Must be after no_chromium_code for warning flags to be ordered correctly. |
":fx_freetype_warnings", |
] |
defines = [ "FT2_BUILD_LIBRARY" ] |
@@ -95,6 +96,7 @@ source_set("fx_agg") { |
configs += [ |
"//build/config/compiler:no_chromium_code", |
"//third_party/pdfium:pdfium_config", |
+ # Must be after no_chromium_code for warning flags to be ordered correctly. |
":fx_agg_warnings", |
] |
sources = [ |
@@ -134,6 +136,7 @@ source_set("fx_lcms2") { |
configs += [ |
"//build/config/compiler:no_chromium_code", |
"//third_party/pdfium:pdfium_config", |
+ # Must be after no_chromium_code for warning flags to be ordered correctly. |
":fx_lcms2_warnings", |
] |
sources = [ |