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': { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 'target_name': 'pdf_xml_fuzzer', | 52 'target_name': 'pdf_xml_fuzzer', |
53 'type': 'executable', | 53 'type': 'executable', |
54 'dependencies': [ | 54 'dependencies': [ |
55 '../../pdfium.gyp:pdfium', | 55 '../../pdfium.gyp:pdfium', |
56 ], | 56 ], |
57 'sources': [ | 57 'sources': [ |
58 'pdf_xml_fuzzer.cc', | 58 'pdf_xml_fuzzer.cc', |
59 'unittest_main.cc', | 59 'unittest_main.cc', |
60 ], | 60 ], |
61 }, | 61 }, |
| 62 { |
| 63 'target_name': 'pdf_codec_png_fuzzer', |
| 64 'type': 'executable', |
| 65 'dependencies': [ |
| 66 '../../pdfium.gyp:pdfium', |
| 67 ], |
| 68 'sources': [ |
| 69 'pdf_codec_png_fuzzer.cc', |
| 70 'unittest_main.cc', |
| 71 ], |
| 72 }, |
62 ], | 73 ], |
63 }], | 74 }], |
64 ['OS=="linux"', { | 75 ['OS=="linux"', { |
65 'targets': [ | 76 'targets': [ |
66 { | 77 { |
67 'target_name': 'pdf_jpx_fuzzer', | 78 'target_name': 'pdf_jpx_fuzzer', |
68 'type': 'executable', | 79 'type': 'executable', |
69 'dependencies': [ | 80 'dependencies': [ |
70 '../../pdfium.gyp:pdfium', | 81 '../../pdfium.gyp:pdfium', |
71 ], | 82 ], |
72 'sources': [ | 83 'sources': [ |
73 'pdf_jpx_fuzzer.cc', | 84 'pdf_jpx_fuzzer.cc', |
74 'unittest_main.cc', | 85 'unittest_main.cc', |
75 ], | 86 ], |
76 }, | 87 }, |
77 ], | 88 ], |
78 }], | 89 }], |
79 ], | 90 ], |
80 # Empty target so that nonxfa builds work. | 91 # Empty target so that nonxfa builds work. |
81 'targets': [ | 92 'targets': [ |
82 { | 93 { |
83 'target_name': 'empty_target', | 94 'target_name': 'empty_target', |
84 'type': 'none', | 95 'type': 'none', |
85 } | 96 } |
86 ], | 97 ], |
87 } | 98 } |
OLD | NEW |