Chromium Code Reviews| 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 '-Wno-shift-negative-value', | |
|
Nico
2016/03/09 02:30:19
can you add a comment describing why this is neede
Oliver Chang
2016/03/09 17:00:17
Done.
| |
| 245 ], | |
| 246 } | |
| 242 }, | 247 }, |
| 243 { | 248 { |
| 244 'target_name': 'fx_libopenjpeg', | 249 'target_name': 'fx_libopenjpeg', |
| 245 'type': 'static_library', | 250 'type': 'static_library', |
| 246 'sources': [ | 251 'sources': [ |
| 247 'libopenjpeg20/bio.c', | 252 'libopenjpeg20/bio.c', |
| 248 'libopenjpeg20/cio.c', | 253 'libopenjpeg20/cio.c', |
| 249 'libopenjpeg20/dwt.c', | 254 'libopenjpeg20/dwt.c', |
| 250 'libopenjpeg20/event.c', | 255 'libopenjpeg20/event.c', |
| 251 'libopenjpeg20/function_list.c', | 256 'libopenjpeg20/function_list.c', |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 315 'zlib_v128/zutil.c', | 320 'zlib_v128/zutil.c', |
| 316 ], | 321 ], |
| 317 'conditions': [ | 322 'conditions': [ |
| 318 ['os_posix==1', { | 323 ['os_posix==1', { |
| 319 'cflags': [ | 324 'cflags': [ |
| 320 # TODO(dsinclair): Remove if fixed upstream. https://crbug.com/50771 2 | 325 # TODO(dsinclair): Remove if fixed upstream. https://crbug.com/50771 2 |
| 321 '-Wno-shift-negative-value', | 326 '-Wno-shift-negative-value', |
| 322 ], | 327 ], |
| 323 }], | 328 }], |
| 324 ], | 329 ], |
| 325 | 330 'variables': { |
| 331 'clang_warning_flags': [ | |
| 332 '-Wno-shift-negative-value', | |
|
Nico
2016/03/09 02:30:19
likewise
Oliver Chang
2016/03/09 17:00:17
Done.
| |
| 333 ] | |
| 334 }, | |
| 326 }, | 335 }, |
| 327 { | 336 { |
| 328 'target_name': 'pdfium_base', | 337 'target_name': 'pdfium_base', |
| 329 'type': 'none', | 338 'type': 'none', |
| 330 'sources': [ | 339 'sources': [ |
| 331 'base/logging.h', | 340 'base/logging.h', |
| 332 'base/macros.h', | 341 'base/macros.h', |
| 333 'base/numerics/safe_conversions.h', | 342 'base/numerics/safe_conversions.h', |
| 334 'base/numerics/safe_conversions_impl.h', | 343 'base/numerics/safe_conversions_impl.h', |
| 335 'base/numerics/safe_math.h', | 344 'base/numerics/safe_math.h', |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 381 'libtiff/tif_version.c', | 390 'libtiff/tif_version.c', |
| 382 'libtiff/tif_warning.c', | 391 'libtiff/tif_warning.c', |
| 383 'libtiff/tif_write.c', | 392 'libtiff/tif_write.c', |
| 384 'libtiff/tif_zip.c', | 393 'libtiff/tif_zip.c', |
| 385 ], | 394 ], |
| 386 }, | 395 }, |
| 387 ], | 396 ], |
| 388 }], | 397 }], |
| 389 ], | 398 ], |
| 390 } | 399 } |
| OLD | NEW |