| 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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 '-fno-strict-aliasing', | 387 '-fno-strict-aliasing', |
| 388 ], | 388 ], |
| 389 'WARNING_CFLAGS': [ | 389 'WARNING_CFLAGS': [ |
| 390 '-Wall', | 390 '-Wall', |
| 391 '-Wendif-labels', | 391 '-Wendif-labels', |
| 392 '-W', | 392 '-W', |
| 393 '-Wno-unused-parameter', | 393 '-Wno-unused-parameter', |
| 394 ], | 394 ], |
| 395 }, | 395 }, |
| 396 'variables': { | 396 'variables': { |
| 397 'clang_warning_flags': [], | 397 'clang_warning_flags': [ |
| 398 # TODO(thakis): https://crbug.com/604888 |
| 399 '-Wno-undefined-var-template', |
| 400 ], |
| 398 }, | 401 }, |
| 399 'includes': [ 'set_clang_warning_flags.gypi', ], | 402 'includes': [ 'set_clang_warning_flags.gypi', ], |
| 400 'conditions': [ | 403 'conditions': [ |
| 401 ['component=="shared_library"', { | 404 ['component=="shared_library"', { |
| 402 'cflags': [ | 405 'cflags': [ |
| 403 '-fPIC', | 406 '-fPIC', |
| 404 ], | 407 ], |
| 405 }], | 408 }], |
| 406 ['asan==1', { | 409 ['asan==1', { |
| 407 'defines': [ | 410 'defines': [ |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 ], | 501 ], |
| 499 }], # OS=="win" | 502 }], # OS=="win" |
| 500 ["use_goma==1", { | 503 ["use_goma==1", { |
| 501 'make_global_settings': [ | 504 'make_global_settings': [ |
| 502 ['CC_wrapper', '<(gomadir)/gomacc'], | 505 ['CC_wrapper', '<(gomadir)/gomacc'], |
| 503 ['CXX_wrapper', '<(gomadir)/gomacc'], | 506 ['CXX_wrapper', '<(gomadir)/gomacc'], |
| 504 ], | 507 ], |
| 505 }], # use_goma==1 | 508 }], # use_goma==1 |
| 506 ], | 509 ], |
| 507 } | 510 } |
| OLD | NEW |