From 21362ee6370e6ef0f5a8275af5afde3f127887c9 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 28 Mar 2017 19:11:30 -0700 Subject: Enable Wshift-negative-value in PDFium. BUG=chromium:507717 Change-Id: If0030640497ce103de7713f8497570602950a2b6 Reviewed-on: https://pdfium-review.googlesource.com/3270 Commit-Queue: Nico Weber Reviewed-by: Nico Weber --- third_party/BUILD.gn | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn index cabd7af798..e1076ee223 100644 --- a/third_party/BUILD.gn +++ b/third_party/BUILD.gn @@ -195,21 +195,11 @@ static_library("fx_lcms2") { } # This is only used for standalone builds. -config("jpeg_warnings") { - visibility = [ ":*" ] - if (is_clang) { - cflags = [ "-Wno-shift-negative-value" ] - } -} - static_library("jpeg") { configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code", ":pdfium_third_party_config", - - # Must be after no_chromium_code for warning flags to be ordered correctly. - ":jpeg_warnings", ] sources = [ "libjpeg/cderror.h", -- cgit v1.2.3