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

Side by Side Diff: test/fuzzer/fuzzer.gyp

Issue 2032363002: [gn] Add fuzzer targets. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixes 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 | « BUILD.gn ('k') | test/fuzzer/fuzzer.isolate » ('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 the V8 project authors. All rights reserved. 1 # Copyright 2016 the V8 project 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 'v8_code': 1, 7 'v8_code': 1,
8 }, 8 },
9 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'], 9 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'],
10 'targets': [ 10 'targets': [
11 { 11 {
12 'target_name': 'json_fuzzer', 12 'target_name': 'v8_simple_json_fuzzer',
13 'type': 'executable', 13 'type': 'executable',
14 'dependencies': [ 14 'dependencies': [
15 'json_fuzzer_lib', 15 'json_fuzzer_lib',
16 ], 16 ],
17 'include_dirs': [ 17 'include_dirs': [
18 '../..', 18 '../..',
19 ], 19 ],
20 'sources': [ 20 'sources': [
21 'fuzzer.cc', 21 'fuzzer.cc',
22 ], 22 ],
23 }, 23 },
24 { 24 {
25 'target_name': 'json_fuzzer_lib', 25 'target_name': 'json_fuzzer_lib',
26 'type': 'static_library', 26 'type': 'static_library',
27 'dependencies': [ 27 'dependencies': [
28 'fuzzer_support', 28 'fuzzer_support',
29 ], 29 ],
30 'include_dirs': [ 30 'include_dirs': [
31 '../..', 31 '../..',
32 ], 32 ],
33 'sources': [ ### gcmole(all) ### 33 'sources': [ ### gcmole(all) ###
34 'json.cc', 34 'json.cc',
35 ], 35 ],
36 }, 36 },
37 { 37 {
38 'target_name': 'parser_fuzzer', 38 'target_name': 'v8_simple_parser_fuzzer',
39 'type': 'executable', 39 'type': 'executable',
40 'dependencies': [ 40 'dependencies': [
41 'parser_fuzzer_lib', 41 'parser_fuzzer_lib',
42 ], 42 ],
43 'include_dirs': [ 43 'include_dirs': [
44 '../..', 44 '../..',
45 ], 45 ],
46 'sources': [ 46 'sources': [
47 'fuzzer.cc', 47 'fuzzer.cc',
48 ], 48 ],
49 }, 49 },
50 { 50 {
51 'target_name': 'parser_fuzzer_lib', 51 'target_name': 'parser_fuzzer_lib',
52 'type': 'static_library', 52 'type': 'static_library',
53 'dependencies': [ 53 'dependencies': [
54 'fuzzer_support', 54 'fuzzer_support',
55 ], 55 ],
56 'include_dirs': [ 56 'include_dirs': [
57 '../..', 57 '../..',
58 ], 58 ],
59 'sources': [ ### gcmole(all) ### 59 'sources': [ ### gcmole(all) ###
60 'parser.cc', 60 'parser.cc',
61 ], 61 ],
62 }, 62 },
63 { 63 {
64 'target_name': 'regexp_fuzzer', 64 'target_name': 'v8_simple_regexp_fuzzer',
65 'type': 'executable', 65 'type': 'executable',
66 'dependencies': [ 66 'dependencies': [
67 'regexp_fuzzer_lib', 67 'regexp_fuzzer_lib',
68 ], 68 ],
69 'include_dirs': [ 69 'include_dirs': [
70 '../..', 70 '../..',
71 ], 71 ],
72 'sources': [ 72 'sources': [
73 'fuzzer.cc', 73 'fuzzer.cc',
74 ], 74 ],
75 }, 75 },
76 { 76 {
77 'target_name': 'regexp_fuzzer_lib', 77 'target_name': 'regexp_fuzzer_lib',
78 'type': 'static_library', 78 'type': 'static_library',
79 'dependencies': [ 79 'dependencies': [
80 'fuzzer_support', 80 'fuzzer_support',
81 ], 81 ],
82 'include_dirs': [ 82 'include_dirs': [
83 '../..', 83 '../..',
84 ], 84 ],
85 'sources': [ ### gcmole(all) ### 85 'sources': [ ### gcmole(all) ###
86 'regexp.cc', 86 'regexp.cc',
87 ], 87 ],
88 }, 88 },
89 { 89 {
90 'target_name': 'wasm_fuzzer', 90 'target_name': 'v8_simple_wasm_fuzzer',
91 'type': 'executable', 91 'type': 'executable',
92 'dependencies': [ 92 'dependencies': [
93 'wasm_fuzzer_lib', 93 'wasm_fuzzer_lib',
94 ], 94 ],
95 'include_dirs': [ 95 'include_dirs': [
96 '../..', 96 '../..',
97 ], 97 ],
98 'sources': [ 98 'sources': [
99 'fuzzer.cc', 99 'fuzzer.cc',
100 ], 100 ],
101 }, 101 },
102 { 102 {
103 'target_name': 'wasm_fuzzer_lib', 103 'target_name': 'wasm_fuzzer_lib',
104 'type': 'static_library', 104 'type': 'static_library',
105 'dependencies': [ 105 'dependencies': [
106 'fuzzer_support', 106 'fuzzer_support',
107 ], 107 ],
108 'include_dirs': [ 108 'include_dirs': [
109 '../..', 109 '../..',
110 ], 110 ],
111 'sources': [ ### gcmole(all) ### 111 'sources': [ ### gcmole(all) ###
112 'wasm.cc', 112 'wasm.cc',
113 ], 113 ],
114 }, 114 },
115 { 115 {
116 'target_name': 'wasm_asmjs_fuzzer', 116 'target_name': 'v8_simple_wasm_asmjs_fuzzer',
117 'type': 'executable', 117 'type': 'executable',
118 'dependencies': [ 118 'dependencies': [
119 'wasm_asmjs_fuzzer_lib', 119 'wasm_asmjs_fuzzer_lib',
120 ], 120 ],
121 'include_dirs': [ 121 'include_dirs': [
122 '../..', 122 '../..',
123 ], 123 ],
124 'sources': [ 124 'sources': [
125 'fuzzer.cc', 125 'fuzzer.cc',
126 ], 126 ],
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 ], 162 ],
163 }, 163 },
164 ], 164 ],
165 'conditions': [ 165 'conditions': [
166 ['test_isolation_mode != "noop"', { 166 ['test_isolation_mode != "noop"', {
167 'targets': [ 167 'targets': [
168 { 168 {
169 'target_name': 'fuzzer_run', 169 'target_name': 'fuzzer_run',
170 'type': 'none', 170 'type': 'none',
171 'dependencies': [ 171 'dependencies': [
172 'json_fuzzer', 172 'v8_simple_json_fuzzer',
173 'parser_fuzzer', 173 'v8_simple_parser_fuzzer',
174 'regexp_fuzzer', 174 'v8_simple_regexp_fuzzer',
175 'v8_simple_wasm_fuzzer',
176 'v8_simple_wasm_asmjs_fuzzer',
175 ], 177 ],
176 'includes': [ 178 'includes': [
177 '../../gypfiles/isolate.gypi', 179 '../../gypfiles/isolate.gypi',
178 ], 180 ],
179 'sources': [ 181 'sources': [
180 'fuzzer.isolate', 182 'fuzzer.isolate',
181 ], 183 ],
182 }, 184 },
183 ], 185 ],
184 }], 186 }],
185 ], 187 ],
186 } 188 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | test/fuzzer/fuzzer.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698