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 | |
336 '-Wno-microsoft-enum-value', # http://crbug.com/505296 | 335 '-Wno-microsoft-enum-value', # http://crbug.com/505296 |
337 '-Wno-unknown-pragmas', # http://crbug.com/505314 | 336 '-Wno-unknown-pragmas', # http://crbug.com/505314 |
338 '-Wno-microsoft-cast', # http://crbug.com/550065 | 337 '-Wno-microsoft-cast', # http://crbug.com/550065 |
339 ], | 338 ], |
340 }], | 339 }], |
341 ['OS=="win" and clang==1 and MSVS_VERSION == "2013"', { | 340 ['OS=="win" and clang==1 and MSVS_VERSION == "2013"', { |
342 'VCCLCompilerTool': { | 341 'VCCLCompilerTool': { |
343 'AdditionalOptions': [ | 342 'AdditionalOptions': [ |
344 '-fmsc-version=1800', | 343 '-fmsc-version=1800', |
345 ], | 344 ], |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 ], | 497 ], |
499 }], # OS=="win" | 498 }], # OS=="win" |
500 ["use_goma==1", { | 499 ["use_goma==1", { |
501 'make_global_settings': [ | 500 'make_global_settings': [ |
502 ['CC_wrapper', '<(gomadir)/gomacc'], | 501 ['CC_wrapper', '<(gomadir)/gomacc'], |
503 ['CXX_wrapper', '<(gomadir)/gomacc'], | 502 ['CXX_wrapper', '<(gomadir)/gomacc'], |
504 ], | 503 ], |
505 }], # use_goma==1 | 504 }], # use_goma==1 |
506 ], | 505 ], |
507 } | 506 } |
OLD | NEW |