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

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: 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
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 'fuzzer_main',
17 ],
18 'include_dirs': [
19 '../..',
20 ],
21 },
22 {
23 'target_name': 'fuzzer_main',
24 'type': 'static_library',
25 'include_dirs': [
26 '../..',
27 ],
28 'sources': [
29 'fuzzer.cc',
30 ],
31 },
32 {
33 'target_name': 'parser_fuzzer_lib',
34 'type': 'static_library',
35 'dependencies': [
36 'fuzzer_support',
37 ],
38 'include_dirs': [
39 '../..',
40 ],
41 'sources': [ ### gcmole(all) ###
42 'parser.cc',
43 ],
44 },
45 {
46 'target_name': 'fuzzer_support',
47 'type': 'static_library',
48 'dependencies': [
49 '../../tools/gyp/v8.gyp:v8_libplatform',
50 ],
51 'include_dirs': [
52 '../..',
53 ],
54 'sources': [ ### gcmole(all) ###
55 'fuzzer-support.cc',
56 'fuzzer-support.h',
57 ],
58 'conditions': [
59 ['component=="shared_library"', {
60 # fuzzers can't be built against a shared library, so we need to
61 # depend on the underlying static target in that case.
62 'dependencies': ['../../tools/gyp/v8.gyp:v8_maybe_snapshot'],
63 }, {
64 'dependencies': ['../../tools/gyp/v8.gyp:v8'],
65 }],
66 ],
67 },
68 ],
69 'conditions': [
70 ['test_isolation_mode != "noop"', {
71 'targets': [
72 {
73 'target_name': 'parser_fuzzer_run',
74 'type': 'none',
75 'dependencies': [
76 'parser_fuzzer',
77 ],
78 'includes': [
79 '../../build/isolate.gypi',
80 ],
81 'sources': [
82 'parser_fuzzer.isolate',
83 ],
84 },
85 ],
86 }],
87 ],
88 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698