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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 '-Wno-unused-parameter', | 325 '-Wno-unused-parameter', |
326 # Don't warn about the "struct foo f = {0};" initialization | 326 # Don't warn about the "struct foo f = {0};" initialization |
327 # pattern. | 327 # pattern. |
328 '-Wno-missing-field-initializers', | 328 '-Wno-missing-field-initializers', |
329 | 329 |
330 # Many files use intrinsics without including this header. | 330 # Many files use intrinsics without including this header. |
331 # TODO(hans): Fix those files, or move this to sub-GYPs. | 331 # TODO(hans): Fix those files, or move this to sub-GYPs. |
332 '/FIIntrin.h', | 332 '/FIIntrin.h', |
333 | 333 |
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 '-Wno-microsoft-enum-value', # http://crbug.com/505296 | 336 '-Wno-microsoft-enum-value', # http://crbug.com/505296 |
336 '-Wno-unknown-pragmas', # http://crbug.com/505314 | 337 '-Wno-unknown-pragmas', # http://crbug.com/505314 |
337 '-Wno-microsoft-cast', # http://crbug.com/550065 | 338 '-Wno-microsoft-cast', # http://crbug.com/550065 |
338 ], | 339 ], |
339 }], | 340 }], |
340 ['OS=="win" and clang==1 and MSVS_VERSION == "2013"', { | 341 ['OS=="win" and clang==1 and MSVS_VERSION == "2013"', { |
341 'VCCLCompilerTool': { | 342 'VCCLCompilerTool': { |
342 'AdditionalOptions': [ | 343 'AdditionalOptions': [ |
343 '-fmsc-version=1800', | 344 '-fmsc-version=1800', |
344 ], | 345 ], |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 ], | 498 ], |
498 }], # OS=="win" | 499 }], # OS=="win" |
499 ["use_goma==1", { | 500 ["use_goma==1", { |
500 'make_global_settings': [ | 501 'make_global_settings': [ |
501 ['CC_wrapper', '<(gomadir)/gomacc'], | 502 ['CC_wrapper', '<(gomadir)/gomacc'], |
502 ['CXX_wrapper', '<(gomadir)/gomacc'], | 503 ['CXX_wrapper', '<(gomadir)/gomacc'], |
503 ], | 504 ], |
504 }], # use_goma==1 | 505 }], # use_goma==1 |
505 ], | 506 ], |
506 } | 507 } |
OLD | NEW |