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

Side by Side Diff: content/test/fuzzer/BUILD.gn

Issue 2383623002: Add a fuzzer for the Origin Trial token parser (Closed)
Patch Set: 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
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium 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 # Fuzzers for content/ components. 5 # Fuzzers for content/ components.
6 6
7 import("//testing/libfuzzer/fuzzer_test.gni") 7 import("//testing/libfuzzer/fuzzer_test.gni")
8 8
9 # Empty group for package discovery. 9 # Empty group for package discovery.
10 group("fuzzer") { 10 group("fuzzer") {
11 } 11 }
12 12
13 # gn complains of private dependencies in component build. 13 # gn complains of private dependencies in component build.
14 if (!is_component_build) { 14 if (!is_component_build) {
15 source_set("fuzzer_support") { 15 source_set("fuzzer_support") {
16 sources = [ 16 sources = [
17 "fuzzer_support.cc", 17 "fuzzer_support.cc",
18 ] 18 ]
19 public_deps = [ 19 public_deps = [
20 "//base", 20 "//base",
21 "//content/renderer:for_content_tests", 21 "//content/renderer:for_content_tests",
22 "//content/shell:content_shell_lib", 22 "//content/shell:content_shell_lib",
23 "//content/test:test_support", 23 "//content/test:test_support",
24 "//gin", 24 "//gin",
25 ] 25 ]
26 testonly = true 26 testonly = true
27 } 27 }
28 28
29 fuzzer_test("origin_trial_token_fuzzer") {
30 sources = [
31 "origin_trial_token_fuzzer.cc",
32 ]
33 deps = [
34 ":fuzzer_support",
35 ]
36 dict =
37 "//content/test/data/fuzzer_dictionaries/origin_trial_token_fuzzer.dict"
38 seed_corpus = "//content/test/data/fuzzer_corpus/origin_trial_token_data/"
39 }
40
29 fuzzer_test("renderer_fuzzer") { 41 fuzzer_test("renderer_fuzzer") {
30 sources = [ 42 sources = [
31 "renderer_fuzzer.cc", 43 "renderer_fuzzer.cc",
32 ] 44 ]
33 deps = [ 45 deps = [
34 ":fuzzer_support", 46 ":fuzzer_support",
35 ] 47 ]
36 } 48 }
37 49
38 fuzzer_test("renderer_tree_fuzzer") { 50 fuzzer_test("renderer_tree_fuzzer") {
(...skipping 10 matching lines...) Expand all
49 "clear_site_data_fuzzer.cc", 61 "clear_site_data_fuzzer.cc",
50 ] 62 ]
51 deps = [ 63 deps = [
52 ":fuzzer_support", 64 ":fuzzer_support",
53 "//base", 65 "//base",
54 "//content/browser:for_content_tests", 66 "//content/browser:for_content_tests",
55 ] 67 ]
56 seed_corpus = "//content/test/data/fuzzer_corpus/clear_site_data/" 68 seed_corpus = "//content/test/data/fuzzer_corpus/clear_site_data/"
57 } 69 }
58 } 70 }
OLDNEW
« no previous file with comments | « content/test/data/fuzzer_dictionaries/origin_trial_token_fuzzer.dict ('k') | content/test/fuzzer/origin_trial_token_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698