summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-03-28 19:11:30 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-03-29 10:14:41 +0000
commit21362ee6370e6ef0f5a8275af5afde3f127887c9 (patch)
tree52c4c66b44507b5f94cb0b77b15a9449b27a0697
parent7b70189491e211a0340a110eceddc06a307ac820 (diff)
downloadpdfium-21362ee6370e6ef0f5a8275af5afde3f127887c9.tar.xz
Enable Wshift-negative-value in PDFium.
BUG=chromium:507717 Change-Id: If0030640497ce103de7713f8497570602950a2b6 Reviewed-on: https://pdfium-review.googlesource.com/3270 Commit-Queue: Nico Weber <thakis@chromium.org> Reviewed-by: Nico Weber <thakis@chromium.org>
-rw-r--r--third_party/BUILD.gn10
1 files changed, 0 insertions, 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",