| OLD | NEW |
| 1 # Copyright 2016 PDFium Authors. All rights reserved. | 1 # Copyright 2016 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%': 0, # Set to 1 in standalone builds by standalone.gypi. | 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', | |
| 14 'PNG_USE_READ_MACROS', | 13 'PNG_USE_READ_MACROS', |
| 15 ], | 14 ], |
| 16 'include_dirs': [ | 15 'include_dirs': [ |
| 17 # This is implicit in GN. | 16 # This is implicit in GN. |
| 18 '<(DEPTH)', | 17 '<(DEPTH)', |
| 19 ], | 18 ], |
| 20 'conditions': [ | 19 'conditions': [ |
| 21 ['pdf_enable_v8==1', { | 20 ['pdf_enable_v8==1', { |
| 22 'defines': [ | 21 'defines': [ |
| 23 'PDF_ENABLE_V8', | 22 'PDF_ENABLE_V8', |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 }], | 63 }], |
| 65 ], | 64 ], |
| 66 # Empty target so that nonxfa builds work. | 65 # Empty target so that nonxfa builds work. |
| 67 'targets': [ | 66 'targets': [ |
| 68 { | 67 { |
| 69 'target_name': 'empty_target', | 68 'target_name': 'empty_target', |
| 70 'type': 'none', | 69 'type': 'none', |
| 71 } | 70 } |
| 72 ], | 71 ], |
| 73 } | 72 } |
| OLD | NEW |