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: test/fuzzer/fuzzer.gyp

Issue 1604203002: Add a library suitable for libfuzzer with a small unit test runner shell (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 4 years, 11 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 | « test/fuzzer/fuzzer.cc ('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
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'v8_code': 1,
8 },
9 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'],
10 'targets': [
11 {
12 'target_name': 'parser_fuzzer',
13 'type': 'executable',
14 'dependencies': [
15 'parser_fuzzer_lib',
16 ],
17 'include_dirs': [
18 '../..',
19 ],
20 'sources': [
21 'fuzzer.cc',
22 ],
23 },
24 {
25 'target_name': 'parser_fuzzer_lib',
26 'type': 'static_library',
27 'dependencies': [
28 'fuzzer_support',
29 ],
30 'include_dirs': [
31 '../..',
32 ],
33 'sources': [ ### gcmole(all) ###
34 'parser.cc',
35 ],
36 },
37 {
38 'target_name': 'fuzzer_support',
39 'type': 'static_library',
40 'dependencies': [
41 '../../tools/gyp/v8.gyp:v8_libplatform',
42 ],
43 'include_dirs': [
44 '../..',
45 ],
46 'sources': [ ### gcmole(all) ###
47 'fuzzer-support.cc',
48 'fuzzer-support.h',
49 ],
50 'conditions': [
51 ['component=="shared_library"', {
52 # fuzzers can't be built against a shared library, so we need to
53 # depend on the underlying static target in that case.
54 'dependencies': ['../../tools/gyp/v8.gyp:v8_maybe_snapshot'],
55 }, {
56 'dependencies': ['../../tools/gyp/v8.gyp:v8'],
57 }],
58 ],
59 },
60 ],
61 'conditions': [
62 ['test_isolation_mode != "noop"', {
63 'targets': [
64 {
65 'target_name': 'fuzzer_run',
66 'type': 'none',
67 'dependencies': [
68 'parser_fuzzer',
69 ],
70 'includes': [
71 '../../build/isolate.gypi',
72 ],
73 'sources': [
74 'fuzzer.isolate',
75 ],
76 },
77 ],
78 }],
79 ],
80 }
OLDNEW
« no previous file with comments | « test/fuzzer/fuzzer.cc ('k') | test/fuzzer/fuzzer.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698