Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Side by Side Diff: testing/libfuzzer/fuzzers.gyp

Issue 2045613002: Add GIF, BMP, JPEG and TIFF XFA fuzzers (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « testing/libfuzzer/BUILD.gn ('k') | testing/libfuzzer/pdf_codec_bmp_fuzzer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 }, 61 },
62 { 62 {
63 'target_name': 'pdf_codec_png_fuzzer', 63 'target_name': 'pdf_codec_png_fuzzer',
64 'type': 'executable', 64 'type': 'executable',
65 'dependencies': [ 65 'dependencies': [
66 '../../pdfium.gyp:pdfium', 66 '../../pdfium.gyp:pdfium',
67 ], 67 ],
68 'sources': [ 68 'sources': [
69 'pdf_codec_png_fuzzer.cc', 69 'pdf_codec_png_fuzzer.cc',
70 'unittest_main.cc', 70 'unittest_main.cc',
71 'xfa_codec_fuzzer.h',
72 ],
73 },
74 {
75 'target_name': 'pdf_codec_jpeg_fuzzer',
76 'type': 'executable',
77 'dependencies': [
78 '../../pdfium.gyp:pdfium',
79 ],
80 'sources': [
81 'pdf_codec_jpeg_fuzzer.cc',
82 'unittest_main.cc',
83 'xfa_codec_fuzzer.h',
84 ],
85 },
86 {
87 'target_name': 'pdf_codec_gif_fuzzer',
88 'type': 'executable',
89 'dependencies': [
90 '../../pdfium.gyp:pdfium',
91 ],
92 'sources': [
93 'pdf_codec_gif_fuzzer.cc',
94 'unittest_main.cc',
95 'xfa_codec_fuzzer.h',
96 ],
97 },
98 {
99 'target_name': 'pdf_codec_bmp_fuzzer',
100 'type': 'executable',
101 'dependencies': [
102 '../../pdfium.gyp:pdfium',
103 ],
104 'sources': [
105 'pdf_codec_bmp_fuzzer.cc',
106 'unittest_main.cc',
107 'xfa_codec_fuzzer.h',
108 ],
109 },
110 {
111 'target_name': 'pdf_codec_tiff_fuzzer',
112 'type': 'executable',
113 'dependencies': [
114 '../../pdfium.gyp:pdfium',
115 ],
116 'sources': [
117 'pdf_codec_tiff_fuzzer.cc',
118 'unittest_main.cc',
119 'xfa_codec_fuzzer.h',
71 ], 120 ],
72 }, 121 },
73 ], 122 ],
74 }], 123 }],
75 ['OS=="linux"', { 124 ['OS=="linux"', {
76 'targets': [ 125 'targets': [
77 { 126 {
78 'target_name': 'pdf_jpx_fuzzer', 127 'target_name': 'pdf_jpx_fuzzer',
79 'type': 'executable', 128 'type': 'executable',
80 'dependencies': [ 129 'dependencies': [
81 '../../pdfium.gyp:pdfium', 130 '../../pdfium.gyp:pdfium',
82 ], 131 ],
83 'sources': [ 132 'sources': [
84 'pdf_jpx_fuzzer.cc', 133 'pdf_jpx_fuzzer.cc',
85 'unittest_main.cc', 134 'unittest_main.cc',
86 ], 135 ],
87 }, 136 },
88 ], 137 ],
89 }], 138 }],
90 ], 139 ],
91 # Empty target so that nonxfa builds work. 140 # Empty target so that nonxfa builds work.
92 'targets': [ 141 'targets': [
93 { 142 {
94 'target_name': 'empty_target', 143 'target_name': 'empty_target',
95 'type': 'none', 144 'type': 'none',
96 } 145 }
97 ], 146 ],
98 } 147 }
OLDNEW
« no previous file with comments | « testing/libfuzzer/BUILD.gn ('k') | testing/libfuzzer/pdf_codec_bmp_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698