Partial revert of commit c6d8683 to fix a GN + Win/Clang build warning.
authorLei Zhang <thestig@chromium.org>
Tue, 27 Oct 2015 00:00:46 +0000 (17:00 -0700)
committerLei Zhang <thestig@chromium.org>
Tue, 27 Oct 2015 00:00:46 +0000 (17:00 -0700)
BUG=547906
TBR=thakis@chromium.org

Review URL: https://codereview.chromium.org/1420503012 .

BUILD.gn

index a2ddbad..7302863 100644 (file)
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -554,9 +554,11 @@ static_library("fxge") {
 
   configs -= [ "//build/config/compiler:chromium_code" ]
   configs += [
-    ":fxge_warnings",
     ":pdfium_config",
     "//build/config/compiler:no_chromium_code",
+    # As of this writing, this needs to be last to suppress a -Wswitch warning.
+    # https://crbug.com/547906
+    ":fxge_warnings",
   ]
 
   if (pdf_use_skia) {