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

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

Issue 1701103002: Add initial libfuzzers for fm2js transpiling and XML parsing. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: don't build fuzzers on windows Created 4 years, 10 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_fm2js_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
(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 }
OLDNEW
« no previous file with comments | « testing/libfuzzer/BUILD.gn ('k') | testing/libfuzzer/pdf_fm2js_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698