| 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 # Definitions to be used when building stand-alone PDFium binaries. | 5 # Definitions to be used when building stand-alone PDFium binaries. |
| 6 | 6 |
| 7 { | 7 { |
| 8 'variables': { | 8 'variables': { |
| 9 'component%': 'static_library', | 9 'component%': 'static_library', |
| 10 'chromium_code%': 0, | 10 'chromium_code%': 0, |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 }], | 312 }], |
| 313 ['clang==1', { | 313 ['clang==1', { |
| 314 'AdditionalOptions': [ | 314 'AdditionalOptions': [ |
| 315 # Don't warn about unused function parameters. | 315 # Don't warn about unused function parameters. |
| 316 # (This is also used on other platforms.) | 316 # (This is also used on other platforms.) |
| 317 '-Wno-unused-parameter', | 317 '-Wno-unused-parameter', |
| 318 # Don't warn about the "struct foo f = {0};" initialization | 318 # Don't warn about the "struct foo f = {0};" initialization |
| 319 # pattern. | 319 # pattern. |
| 320 '-Wno-missing-field-initializers', | 320 '-Wno-missing-field-initializers', |
| 321 | 321 |
| 322 # Many files use intrinsics without including this header. | |
| 323 # TODO(hans): Fix those files, or move this to sub-GYPs. | |
| 324 '/FIIntrin.h', | |
| 325 | |
| 326 # TODO(hans): Make this list shorter eventually, http://crbug.com/
504657 | 322 # TODO(hans): Make this list shorter eventually, http://crbug.com/
504657 |
| 327 '-Qunused-arguments', # http://crbug.com/504658 | 323 '-Qunused-arguments', # http://crbug.com/504658 |
| 328 '-Wno-microsoft-enum-value', # http://crbug.com/505296 | 324 '-Wno-microsoft-enum-value', # http://crbug.com/505296 |
| 329 '-Wno-unknown-pragmas', # http://crbug.com/505314 | 325 '-Wno-unknown-pragmas', # http://crbug.com/505314 |
| 330 '-Wno-microsoft-cast', # http://crbug.com/550065 | 326 '-Wno-microsoft-cast', # http://crbug.com/550065 |
| 331 ], | 327 ], |
| 332 }], | 328 }], |
| 333 ['OS=="win" and clang==1 and MSVS_VERSION == "2013"', { | 329 ['OS=="win" and clang==1 and MSVS_VERSION == "2013"', { |
| 334 'AdditionalOptions': [ | 330 'AdditionalOptions': [ |
| 335 '-fmsc-version=1800', | 331 '-fmsc-version=1800', |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 ], | 529 ], |
| 534 }], # OS=="win" | 530 }], # OS=="win" |
| 535 ["use_goma==1", { | 531 ["use_goma==1", { |
| 536 'make_global_settings': [ | 532 'make_global_settings': [ |
| 537 ['CC_wrapper', '<(gomadir)/gomacc'], | 533 ['CC_wrapper', '<(gomadir)/gomacc'], |
| 538 ['CXX_wrapper', '<(gomadir)/gomacc'], | 534 ['CXX_wrapper', '<(gomadir)/gomacc'], |
| 539 ], | 535 ], |
| 540 }], # use_goma==1 | 536 }], # use_goma==1 |
| 541 ], | 537 ], |
| 542 } | 538 } |
| OLD | NEW |