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

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

Issue 1703623002: Fix GYP for nonxfa builds from last commit. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: comment 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 | « no previous file | no next file » | 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 17 matching lines...) Expand all
28 ], 28 ],
29 }], 29 }],
30 ['pdf_enable_xfa==1', { 30 ['pdf_enable_xfa==1', {
31 'defines': [ 31 'defines': [
32 'PDF_ENABLE_XFA', 32 'PDF_ENABLE_XFA',
33 ], 33 ],
34 }], 34 }],
35 ], 35 ],
36 }, 36 },
37 'conditions': [ 37 'conditions': [
38 ['pdf_enable_xfa==1 and OS!="win"', { 38 # FIXME(ochang): Make this work on Mac/Windows.
39 ['pdf_enable_xfa==1 and OS=="linux"', {
39 'targets': [ 40 'targets': [
40 { 41 {
41 'target_name': 'pdf_fm2js_fuzzer', 42 'target_name': 'pdf_fm2js_fuzzer',
42 'type': 'executable', 43 'type': 'executable',
43 'dependencies': [ 44 'dependencies': [
44 '../../pdfium.gyp:pdfium', 45 '../../pdfium.gyp:pdfium',
45 ], 46 ],
46 'sources': [ 47 'sources': [
47 'pdf_fm2js_fuzzer.cc', 48 'pdf_fm2js_fuzzer.cc',
48 'unittest_main.cc', 49 'unittest_main.cc',
49 ], 50 ],
50 }, 51 },
51 { 52 {
52 'target_name': 'pdf_xml_fuzzer', 53 'target_name': 'pdf_xml_fuzzer',
53 'type': 'executable', 54 'type': 'executable',
54 'dependencies': [ 55 'dependencies': [
55 '../../pdfium.gyp:pdfium', 56 '../../pdfium.gyp:pdfium',
56 ], 57 ],
57 'sources': [ 58 'sources': [
58 'pdf_xml_fuzzer.cc', 59 'pdf_xml_fuzzer.cc',
59 'unittest_main.cc', 60 'unittest_main.cc',
60 ], 61 ],
61 }, 62 },
62 ], 63 ],
63 }], 64 }],
64 ] 65 ],
66 # Empty target so that nonxfa builds work.
67 'targets': [
68 {
69 'target_name': 'empty_target',
70 'type': 'none',
71 }
72 ],
65 } 73 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698