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

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

Issue 2417703003: parser fuzzer and parser shell should also work in component builds (Closed)
Patch Set: updates Created 4 years, 2 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
« src/parsing/parser.h ('K') | « src/parsing/parser.cc ('k') | 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 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': [
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_nocomponent', 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 'conditions': [
63 ['component=="shared_library"', {
64 'defines': [ 'BUILDING_V8_SHARED', ]
65 }],
66 ],
67 }, 62 },
68 { 63 {
69 'target_name': 'v8_simple_regexp_fuzzer', 64 'target_name': 'v8_simple_regexp_fuzzer',
70 'type': 'executable', 65 'type': 'executable',
71 'dependencies': [ 66 'dependencies': [
72 'regexp_fuzzer_lib', 67 'regexp_fuzzer_lib',
73 ], 68 ],
74 'include_dirs': [ 69 'include_dirs': [
75 '../..', 70 '../..',
76 ], 71 ],
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 '../../src/v8.gyp:v8_libplatform', 390 '../../src/v8.gyp:v8_libplatform',
396 ], 391 ],
397 'include_dirs': [ 392 'include_dirs': [
398 '../..', 393 '../..',
399 ], 394 ],
400 'sources': [ ### gcmole(all) ### 395 'sources': [ ### gcmole(all) ###
401 'fuzzer-support.cc', 396 'fuzzer-support.cc',
402 'fuzzer-support.h', 397 'fuzzer-support.h',
403 ], 398 ],
404 }, 399 },
405 {
406 'target_name': 'fuzzer_support_nocomponent',
407 'type': 'static_library',
408 'dependencies': [
409 '../../src/v8.gyp:v8_libbase',
410 '../../src/v8.gyp:v8_libplatform',
411 ],
412 'include_dirs': [
413 '../..',
414 ],
415 'sources': [ ### gcmole(all) ###
416 'fuzzer-support.cc',
417 'fuzzer-support.h',
418 ],
419 'conditions': [
420 ['component=="shared_library"', {
421 # fuzzers can't be built against a shared library, so we need to
422 # depend on the underlying static target in that case.
423 'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'],
424 'defines': [ 'BUILDING_V8_SHARED', ]
425 }, {
426 'dependencies': ['../../src/v8.gyp:v8'],
427 }],
428 ],
429 },
430 ], 400 ],
431 'conditions': [ 401 'conditions': [
432 ['test_isolation_mode != "noop"', { 402 ['test_isolation_mode != "noop"', {
433 'targets': [ 403 'targets': [
434 { 404 {
435 'target_name': 'fuzzer_run', 405 'target_name': 'fuzzer_run',
436 'type': 'none', 406 'type': 'none',
437 'dependencies': [ 407 'dependencies': [
438 'v8_simple_json_fuzzer', 408 'v8_simple_json_fuzzer',
439 'v8_simple_parser_fuzzer', 409 'v8_simple_parser_fuzzer',
440 'v8_simple_regexp_fuzzer', 410 'v8_simple_regexp_fuzzer',
441 'v8_simple_wasm_fuzzer', 411 'v8_simple_wasm_fuzzer',
442 'v8_simple_wasm_asmjs_fuzzer', 412 'v8_simple_wasm_asmjs_fuzzer',
443 ], 413 ],
444 'includes': [ 414 'includes': [
445 '../../gypfiles/isolate.gypi', 415 '../../gypfiles/isolate.gypi',
446 ], 416 ],
447 'sources': [ 417 'sources': [
448 'fuzzer.isolate', 418 'fuzzer.isolate',
449 ], 419 ],
450 }, 420 },
451 ], 421 ],
452 }], 422 }],
453 ], 423 ],
454 } 424 }
OLDNEW
« src/parsing/parser.h ('K') | « src/parsing/parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698