| 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 'conditions': [ | 232 'conditions': [ |
| 233 ['os_posix==1', { | 233 ['os_posix==1', { |
| 234 'cflags': [ | 234 'cflags': [ |
| 235 '-Wno-main', | 235 '-Wno-main', |
| 236 '-Wno-missing-braces', | 236 '-Wno-missing-braces', |
| 237 '-Wno-shift-negative-value', | 237 '-Wno-shift-negative-value', |
| 238 '-Wno-unused', | 238 '-Wno-unused', |
| 239 ], | 239 ], |
| 240 }], | 240 }], |
| 241 ], | 241 ], |
| 242 'variables': { |
| 243 'clang_warning_flags': [ |
| 244 # Avoid warning for undefined behaviour. |
| 245 '-Wno-shift-negative-value', |
| 246 ], |
| 247 } |
| 242 }, | 248 }, |
| 243 { | 249 { |
| 244 'target_name': 'fx_libopenjpeg', | 250 'target_name': 'fx_libopenjpeg', |
| 245 'type': 'static_library', | 251 'type': 'static_library', |
| 246 'sources': [ | 252 'sources': [ |
| 247 'libopenjpeg20/bio.c', | 253 'libopenjpeg20/bio.c', |
| 248 'libopenjpeg20/cio.c', | 254 'libopenjpeg20/cio.c', |
| 249 'libopenjpeg20/dwt.c', | 255 'libopenjpeg20/dwt.c', |
| 250 'libopenjpeg20/event.c', | 256 'libopenjpeg20/event.c', |
| 251 'libopenjpeg20/function_list.c', | 257 'libopenjpeg20/function_list.c', |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 'zlib_v128/zutil.c', | 321 'zlib_v128/zutil.c', |
| 316 ], | 322 ], |
| 317 'conditions': [ | 323 'conditions': [ |
| 318 ['os_posix==1', { | 324 ['os_posix==1', { |
| 319 'cflags': [ | 325 'cflags': [ |
| 320 # TODO(dsinclair): Remove if fixed upstream. https://crbug.com/50771
2 | 326 # TODO(dsinclair): Remove if fixed upstream. https://crbug.com/50771
2 |
| 321 '-Wno-shift-negative-value', | 327 '-Wno-shift-negative-value', |
| 322 ], | 328 ], |
| 323 }], | 329 }], |
| 324 ], | 330 ], |
| 325 | 331 'variables': { |
| 332 'clang_warning_flags': [ |
| 333 # Avoid warning for undefined behaviour. https://crbug.com/507712 |
| 334 '-Wno-shift-negative-value', |
| 335 ] |
| 336 }, |
| 326 }, | 337 }, |
| 327 { | 338 { |
| 328 'target_name': 'pdfium_base', | 339 'target_name': 'pdfium_base', |
| 329 'type': 'none', | 340 'type': 'none', |
| 330 'sources': [ | 341 'sources': [ |
| 331 'base/logging.h', | 342 'base/logging.h', |
| 332 'base/macros.h', | 343 'base/macros.h', |
| 333 'base/numerics/safe_conversions.h', | 344 'base/numerics/safe_conversions.h', |
| 334 'base/numerics/safe_conversions_impl.h', | 345 'base/numerics/safe_conversions_impl.h', |
| 335 'base/numerics/safe_math.h', | 346 'base/numerics/safe_math.h', |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 'libtiff/tif_version.c', | 392 'libtiff/tif_version.c', |
| 382 'libtiff/tif_warning.c', | 393 'libtiff/tif_warning.c', |
| 383 'libtiff/tif_write.c', | 394 'libtiff/tif_write.c', |
| 384 'libtiff/tif_zip.c', | 395 'libtiff/tif_zip.c', |
| 385 ], | 396 ], |
| 386 }, | 397 }, |
| 387 ], | 398 ], |
| 388 }], | 399 }], |
| 389 ], | 400 ], |
| 390 } | 401 } |
| OLD | NEW |