Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: third_party/third_party.gyp

Issue 1740103002: Silence shift-negative-value warnings only on POSIX/Clang. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 PDFium Authors. All rights reserved. 1 # Copyright 2014 PDFium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in standalone builds. 7 'pdf_enable_xfa%': 0, # Set to 1 by standalone.gypi in standalone builds.
8 }, 8 },
9 'target_defaults': { 9 'target_defaults': {
10 'defines': [ 10 'defines': [
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 'libjpeg/jdhuff.h', 223 'libjpeg/jdhuff.h',
224 'libjpeg/jerror.h', 224 'libjpeg/jerror.h',
225 'libjpeg/jinclude.h', 225 'libjpeg/jinclude.h',
226 'libjpeg/jmemsys.h', 226 'libjpeg/jmemsys.h',
227 'libjpeg/jmorecfg.h', 227 'libjpeg/jmorecfg.h',
228 'libjpeg/jpegint.h', 228 'libjpeg/jpegint.h',
229 'libjpeg/jpeglib.h', 229 'libjpeg/jpeglib.h',
230 'libjpeg/jversion.h', 230 'libjpeg/jversion.h',
231 'libjpeg/transupp.h', 231 'libjpeg/transupp.h',
232 ], 232 ],
233 'cflags': [
234 '-Wno-shift-negative-value',
235 ],
236 'conditions': [ 233 'conditions': [
237 ['os_posix==1', { 234 ['os_posix==1', {
238 'cflags': [ 235 'cflags': [
239 '-Wno-main', 236 '-Wno-main',
240 '-Wno-missing-braces', 237 '-Wno-missing-braces',
238 '-Wno-shift-negative-value',
241 '-Wno-unused', 239 '-Wno-unused',
242 ], 240 ],
243 }], 241 }],
244 ], 242 ],
245 }, 243 },
246 { 244 {
247 'target_name': 'fx_libopenjpeg', 245 'target_name': 'fx_libopenjpeg',
248 'type': 'static_library', 246 'type': 'static_library',
249 'sources': [ 247 'sources': [
250 'libopenjpeg20/bio.c', 248 'libopenjpeg20/bio.c',
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 'zlib_v128/gzread.c', 307 'zlib_v128/gzread.c',
310 'zlib_v128/gzwrite.c', 308 'zlib_v128/gzwrite.c',
311 'zlib_v128/infback.c', 309 'zlib_v128/infback.c',
312 'zlib_v128/inffast.c', 310 'zlib_v128/inffast.c',
313 'zlib_v128/inflate.c', 311 'zlib_v128/inflate.c',
314 'zlib_v128/inftrees.c', 312 'zlib_v128/inftrees.c',
315 'zlib_v128/trees.c', 313 'zlib_v128/trees.c',
316 'zlib_v128/uncompr.c', 314 'zlib_v128/uncompr.c',
317 'zlib_v128/zutil.c', 315 'zlib_v128/zutil.c',
318 ], 316 ],
319 'cflags': [ 317 'conditions': [
320 # TODO(dsinclair): Remove if fixed upstream. https://crbug.com/507712 318 ['os_posix==1', {
321 '-Wno-shift-negative-value', 319 'cflags': [
320 # TODO(dsinclair): Remove if fixed upstream. https://crbug.com/50771 2
321 '-Wno-shift-negative-value',
322 ],
323 }],
322 ], 324 ],
323 325
324 }, 326 },
325 { 327 {
326 'target_name': 'pdfium_base', 328 'target_name': 'pdfium_base',
327 'type': 'none', 329 'type': 'none',
328 'sources': [ 330 'sources': [
329 'base/logging.h', 331 'base/logging.h',
330 'base/macros.h', 332 'base/macros.h',
331 'base/numerics/safe_conversions.h', 333 'base/numerics/safe_conversions.h',
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 'libtiff/tif_version.c', 381 'libtiff/tif_version.c',
380 'libtiff/tif_warning.c', 382 'libtiff/tif_warning.c',
381 'libtiff/tif_write.c', 383 'libtiff/tif_write.c',
382 'libtiff/tif_zip.c', 384 'libtiff/tif_zip.c',
383 ], 385 ],
384 }, 386 },
385 ], 387 ],
386 }], 388 }],
387 ], 389 ],
388 } 390 }
OLDNEW
« no previous file with comments | « third_party/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698