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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 '-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 }], | 340 }], |
341 ['OS=="win" and clang==1 and MSVS_VERSION == "2013"', { | 341 ['OS=="win" and clang==1 and MSVS_VERSION == "2013"', { |
342 'VCCLCompilerTool': { | 342 'AdditionalOptions': [ |
343 'AdditionalOptions': [ | 343 '-fmsc-version=1800', |
344 '-fmsc-version=1800', | 344 ], |
345 ], | |
346 }, | |
347 }], | 345 }], |
348 ['OS=="win" and clang==1 and MSVS_VERSION == "2015"', { | 346 ['OS=="win" and clang==1 and MSVS_VERSION == "2015"', { |
349 'VCCLCompilerTool': { | 347 'AdditionalOptions': [ |
350 'AdditionalOptions': [ | 348 '-fmsc-version=1900', |
351 '-fmsc-version=1900', | 349 ], |
352 ], | |
353 }, | |
354 }], | 350 }], |
355 ], | 351 ], |
356 }, | 352 }, |
357 'VCLibrarianTool': { | 353 'VCLibrarianTool': { |
358 'AdditionalOptions': ['/ignore:4221'], | 354 'AdditionalOptions': ['/ignore:4221'], |
359 }, | 355 }, |
360 'VCLinkerTool': { | 356 'VCLinkerTool': { |
361 'GenerateDebugInformation': 'true', | 357 'GenerateDebugInformation': 'true', |
362 'LinkIncremental': '1', | 358 'LinkIncremental': '1', |
363 # SubSystem values: | 359 # SubSystem values: |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 ], | 497 ], |
502 }], # OS=="win" | 498 }], # OS=="win" |
503 ["use_goma==1", { | 499 ["use_goma==1", { |
504 'make_global_settings': [ | 500 'make_global_settings': [ |
505 ['CC_wrapper', '<(gomadir)/gomacc'], | 501 ['CC_wrapper', '<(gomadir)/gomacc'], |
506 ['CXX_wrapper', '<(gomadir)/gomacc'], | 502 ['CXX_wrapper', '<(gomadir)/gomacc'], |
507 ], | 503 ], |
508 }], # use_goma==1 | 504 }], # use_goma==1 |
509 ], | 505 ], |
510 } | 506 } |
OLD | NEW |