| 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 'clang%': 0, | 10 'clang%': 0, |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 # TODO(hans): Make this list shorter eventually, http://crbug.com/
504657 | 334 # TODO(hans): Make this list shorter eventually, http://crbug.com/
504657 |
| 335 '-Qunused-arguments', # http://crbug.com/504658 | 335 '-Qunused-arguments', # http://crbug.com/504658 |
| 336 '-Wno-microsoft-enum-value', # http://crbug.com/505296 | 336 '-Wno-microsoft-enum-value', # http://crbug.com/505296 |
| 337 '-Wno-unknown-pragmas', # http://crbug.com/505314 | 337 '-Wno-unknown-pragmas', # http://crbug.com/505314 |
| 338 '-Wno-microsoft-cast', # http://crbug.com/550065 | 338 '-Wno-microsoft-cast', # http://crbug.com/550065 |
| 339 | 339 |
| 340 # TODO(ochang): Fix these properly eventually. | 340 # TODO(ochang): Fix these properly eventually. |
| 341 '-Wno-inconsistent-missing-override', | 341 '-Wno-inconsistent-missing-override', |
| 342 ], | 342 ], |
| 343 }], | 343 }], |
| 344 ['clang==1 and MSVS_VERSION == "2013"', { | 344 ['OS=="win" and clang==1 and MSVS_VERSION == "2013"', { |
| 345 'VCCLCompilerTool': { | 345 'VCCLCompilerTool': { |
| 346 'AdditionalOptions': [ | 346 'AdditionalOptions': [ |
| 347 '-fmsc-version=1800', | 347 '-fmsc-version=1800', |
| 348 ], | 348 ], |
| 349 }, | 349 }, |
| 350 }], | 350 }], |
| 351 ['clang==1 and MSVS_VERSION == "2015"', { | 351 ['OS=="win" and clang==1 and MSVS_VERSION == "2015"', { |
| 352 'VCCLCompilerTool': { | 352 'VCCLCompilerTool': { |
| 353 'AdditionalOptions': [ | 353 'AdditionalOptions': [ |
| 354 '-fmsc-version=1900', | 354 '-fmsc-version=1900', |
| 355 ], | 355 ], |
| 356 }, | 356 }, |
| 357 }], | 357 }], |
| 358 ], | 358 ], |
| 359 }, | 359 }, |
| 360 'VCLibrarianTool': { | 360 'VCLibrarianTool': { |
| 361 'AdditionalOptions': ['/ignore:4221'], | 361 'AdditionalOptions': ['/ignore:4221'], |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 ], | 501 ], |
| 502 }], # OS=="win" | 502 }], # OS=="win" |
| 503 ["use_goma==1", { | 503 ["use_goma==1", { |
| 504 'make_global_settings': [ | 504 'make_global_settings': [ |
| 505 ['CC_wrapper', '<(gomadir)/gomacc'], | 505 ['CC_wrapper', '<(gomadir)/gomacc'], |
| 506 ['CXX_wrapper', '<(gomadir)/gomacc'], | 506 ['CXX_wrapper', '<(gomadir)/gomacc'], |
| 507 ], | 507 ], |
| 508 }], # use_goma==1 | 508 }], # use_goma==1 |
| 509 ], | 509 ], |
| 510 } | 510 } |
| OLD | NEW |