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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'pdf_enable_v8%': 1, | 7 'pdf_enable_v8%': 1, |
8 'pdf_enable_xfa%': 1, | 8 'pdf_enable_xfa%': 0, # Set to 1 in standalone builds by standalone.gypi. |
9 }, | 9 }, |
10 'target_defaults': { | 10 'target_defaults': { |
11 'defines' : [ | 11 'defines' : [ |
12 'PNG_PREFIX', | 12 'PNG_PREFIX', |
13 'PNGPREFIX_H', | 13 'PNGPREFIX_H', |
14 'PNG_USE_READ_MACROS', | 14 'PNG_USE_READ_MACROS', |
15 ], | 15 ], |
16 'include_dirs': [ | 16 'include_dirs': [ |
17 # This is implicit in GN. | 17 # This is implicit in GN. |
18 '<(DEPTH)', | 18 '<(DEPTH)', |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 'conditions': [ | 85 'conditions': [ |
86 ['pdf_enable_xfa==0', { | 86 ['pdf_enable_xfa==0', { |
87 'dependencies': [ | 87 'dependencies': [ |
88 '../third_party/third_party.gyp:fx_lpng', | 88 '../third_party/third_party.gyp:fx_lpng', |
89 ], | 89 ], |
90 }], | 90 }], |
91 ], | 91 ], |
92 }, | 92 }, |
93 ], | 93 ], |
94 } | 94 } |
OLD | NEW |