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

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

Issue 2286653002: Remove most things GYP. (Closed)
Patch Set: rebase Created 4 years, 3 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/gtest.gyp ('k') | third_party/third_party.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 'PNG_USE_READ_MACROS',
14 ],
15 'include_dirs': [
16 # This is implicit in GN.
17 '<(DEPTH)',
18 '../../third_party/freetype/include',
19 '../../third_party/freetype/include/freetype',
20 ],
21 'conditions': [
22 ['pdf_enable_v8==1', {
23 'defines': [
24 'PDF_ENABLE_V8',
25 ],
26 'include_dirs': [
27 '<(DEPTH)/v8',
28 '<(DEPTH)/v8/include',
29 ],
30 }],
31 ['pdf_enable_xfa==1', {
32 'defines': [
33 'PDF_ENABLE_XFA',
34 ],
35 }],
36 ],
37 },
38 'conditions': [
39 # FIXME(ochang): Make this work on Mac/Windows.
40 ['pdf_enable_xfa==1 and OS=="linux"', {
41 'targets': [
42 {
43 'target_name': 'pdf_fm2js_fuzzer',
44 'type': 'executable',
45 'dependencies': [
46 '../../pdfium.gyp:pdfium',
47 ],
48 'sources': [
49 'pdf_fm2js_fuzzer.cc',
50 'unittest_main.cc',
51 ],
52 },
53 {
54 'target_name': 'pdf_xml_fuzzer',
55 'type': 'executable',
56 'dependencies': [
57 '../../pdfium.gyp:pdfium',
58 ],
59 'sources': [
60 'pdf_xml_fuzzer.cc',
61 'unittest_main.cc',
62 ],
63 },
64 {
65 'target_name': 'pdf_cfx_saxreader_fuzzer',
66 'type': 'executable',
67 'dependencies': [
68 '../../pdfium.gyp:pdfium',
69 ],
70 'sources': [
71 'pdf_cfx_saxreader_fuzzer.cc',
72 'unittest_main.cc',
73 ],
74 },
75 {
76 'target_name': 'pdf_codec_png_fuzzer',
77 'type': 'executable',
78 'dependencies': [
79 '../../pdfium.gyp:pdfium',
80 ],
81 'sources': [
82 'pdf_codec_png_fuzzer.cc',
83 'unittest_main.cc',
84 'xfa_codec_fuzzer.h',
85 ],
86 },
87 {
88 'target_name': 'pdf_codec_jpeg_fuzzer',
89 'type': 'executable',
90 'dependencies': [
91 '../../pdfium.gyp:pdfium',
92 ],
93 'sources': [
94 'pdf_codec_jpeg_fuzzer.cc',
95 'unittest_main.cc',
96 'xfa_codec_fuzzer.h',
97 ],
98 },
99 {
100 'target_name': 'pdf_codec_gif_fuzzer',
101 'type': 'executable',
102 'dependencies': [
103 '../../pdfium.gyp:pdfium',
104 ],
105 'sources': [
106 'pdf_codec_gif_fuzzer.cc',
107 'unittest_main.cc',
108 'xfa_codec_fuzzer.h',
109 ],
110 },
111 {
112 'target_name': 'pdf_codec_bmp_fuzzer',
113 'type': 'executable',
114 'dependencies': [
115 '../../pdfium.gyp:pdfium',
116 ],
117 'sources': [
118 'pdf_codec_bmp_fuzzer.cc',
119 'unittest_main.cc',
120 'xfa_codec_fuzzer.h',
121 ],
122 },
123 {
124 'target_name': 'pdf_codec_tiff_fuzzer',
125 'type': 'executable',
126 'dependencies': [
127 '../../pdfium.gyp:pdfium',
128 ],
129 'sources': [
130 'pdf_codec_tiff_fuzzer.cc',
131 'unittest_main.cc',
132 'xfa_codec_fuzzer.h',
133 ],
134 },
135 {
136 'target_name': 'pdf_css_fuzzer',
137 'type': 'executable',
138 'dependencies': [
139 '../../pdfium.gyp:pdfium',
140 ],
141 'sources': [
142 'pdf_css_fuzzer.cc',
143 'unittest_main.cc',
144 ],
145 },
146 ],
147 }],
148 ['OS=="linux"', {
149 'targets': [
150 {
151 'target_name': 'pdf_jpx_fuzzer',
152 'type': 'executable',
153 'dependencies': [
154 '../../pdfium.gyp:pdfium',
155 ],
156 'sources': [
157 'pdf_jpx_fuzzer.cc',
158 'unittest_main.cc',
159 ],
160 },
161 ],
162 }],
163 ],
164 # Empty target so that nonxfa builds work.
165 'targets': [
166 {
167 'target_name': 'empty_target',
168 'type': 'none',
169 }
170 ],
171 }
OLDNEW
« no previous file with comments | « testing/gtest.gyp ('k') | third_party/third_party.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698