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, |
11 'asan%': 0, | 11 'asan%': 0, |
12 'sanitizer_coverage%': 0, | 12 'sanitizer_coverage%': 0, |
13 'use_goma%': 0, | 13 'use_goma%': 0, |
14 'gomadir%': '', | 14 'gomadir%': '', |
15 'msvs_multi_core_compile%': '1', | 15 'msvs_multi_core_compile%': '1', |
| 16 'pdf_enable_xfa%': 1, |
16 'variables': { | 17 'variables': { |
17 'variables': { | 18 'variables': { |
18 'variables': { | 19 'variables': { |
19 'conditions': [ | 20 'conditions': [ |
20 ['OS=="linux" or OS=="mac"', { | 21 ['OS=="linux" or OS=="mac"', { |
21 # This handles the Unix platforms we generally deal with. | 22 # This handles the Unix platforms we generally deal with. |
22 # Anything else gets passed through, which probably won't work | 23 # Anything else gets passed through, which probably won't work |
23 # very well; such hosts should pass an explicit target_arch | 24 # very well; such hosts should pass an explicit target_arch |
24 # to gyp. | 25 # to gyp. |
25 'host_arch%': | 26 'host_arch%': |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 ], | 336 ], |
336 }], # OS=="linux" or OS=="mac" | 337 }], # OS=="linux" or OS=="mac" |
337 ["use_goma==1", { | 338 ["use_goma==1", { |
338 'make_global_settings': [ | 339 'make_global_settings': [ |
339 ['CC_wrapper', '<(gomadir)/gomacc'], | 340 ['CC_wrapper', '<(gomadir)/gomacc'], |
340 ['CXX_wrapper', '<(gomadir)/gomacc'], | 341 ['CXX_wrapper', '<(gomadir)/gomacc'], |
341 ], | 342 ], |
342 }], # use_goma==1 | 343 }], # use_goma==1 |
343 ], | 344 ], |
344 } | 345 } |
OLD | NEW |