OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 PDFium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'pdf_enable_v8%': 1, |
| 8 'pdf_enable_xfa%': 0, # Set to 1 in standalone builds by standalone.gypi. |
| 9 }, |
| 10 'target_defaults': { |
| 11 'defines' : [ |
| 12 'PNG_PREFIX', |
| 13 'PNGPREFIX_H', |
| 14 'PNG_USE_READ_MACROS', |
| 15 ], |
| 16 'include_dirs': [ |
| 17 # This is implicit in GN. |
| 18 '<(DEPTH)', |
| 19 ], |
| 20 'conditions': [ |
| 21 ['pdf_enable_v8==1', { |
| 22 'defines': [ |
| 23 'PDF_ENABLE_V8', |
| 24 ], |
| 25 'include_dirs': [ |
| 26 '<(DEPTH)/v8', |
| 27 '<(DEPTH)/v8/include', |
| 28 ], |
| 29 }], |
| 30 ['pdf_enable_xfa==1', { |
| 31 'defines': [ |
| 32 'PDF_ENABLE_XFA', |
| 33 ], |
| 34 }], |
| 35 ], |
| 36 }, |
| 37 'conditions': [ |
| 38 ['pdf_enable_xfa==1 and OS!="win"', { |
| 39 'targets': [ |
| 40 { |
| 41 'target_name': 'pdf_fm2js_fuzzer', |
| 42 'type': 'executable', |
| 43 'dependencies': [ |
| 44 '../../pdfium.gyp:pdfium', |
| 45 ], |
| 46 'sources': [ |
| 47 'pdf_fm2js_fuzzer.cc', |
| 48 'unittest_main.cc', |
| 49 ], |
| 50 }, |
| 51 { |
| 52 'target_name': 'pdf_xml_fuzzer', |
| 53 'type': 'executable', |
| 54 'dependencies': [ |
| 55 '../../pdfium.gyp:pdfium', |
| 56 ], |
| 57 'sources': [ |
| 58 'pdf_xml_fuzzer.cc', |
| 59 'unittest_main.cc', |
| 60 ], |
| 61 }, |
| 62 ], |
| 63 }], |
| 64 ] |
| 65 } |
OLD | NEW |