| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |