| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//build/split_static_library.gni") | 8 import("//build/split_static_library.gni") |
| 9 import("//testing/libfuzzer/fuzzer_test.gni") | 9 import("//testing/libfuzzer/fuzzer_test.gni") |
| 10 import("//third_party/WebKit/Source/bindings/bindings.gni") | 10 import("//third_party/WebKit/Source/bindings/bindings.gni") |
| (...skipping 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1112 rel_blink_core_gen_dir, | 1112 rel_blink_core_gen_dir, |
| 1113 bison_exe, | 1113 bison_exe, |
| 1114 ] | 1114 ] |
| 1115 | 1115 |
| 1116 deps = make_core_generated_deps | 1116 deps = make_core_generated_deps |
| 1117 } | 1117 } |
| 1118 | 1118 |
| 1119 # Fuzzer for blink::TextResourceDecoder. | 1119 # Fuzzer for blink::TextResourceDecoder. |
| 1120 fuzzer_test("text_resource_decoder_fuzzer") { | 1120 fuzzer_test("text_resource_decoder_fuzzer") { |
| 1121 sources = [ | 1121 sources = [ |
| 1122 "html/parser/TextResourceDecoderForFuzzing.h", |
| 1122 "html/parser/TextResourceDecoderFuzzer.cpp", | 1123 "html/parser/TextResourceDecoderFuzzer.cpp", |
| 1123 ] | 1124 ] |
| 1124 deps = [ | 1125 deps = [ |
| 1125 ":core", | 1126 ":core", |
| 1126 "../platform:test_support", | 1127 "../platform:test_support", |
| 1127 ] | 1128 ] |
| 1128 } | 1129 } |
| 1129 | 1130 |
| 1130 # Fuzzer for blink::StyleSheetContents | 1131 # Fuzzer for blink::StyleSheetContents |
| 1131 fuzzer_test("stylesheet_contents_fuzzer") { | 1132 fuzzer_test("stylesheet_contents_fuzzer") { |
| 1132 sources = [ | 1133 sources = [ |
| 1133 "css/StyleSheetContentsFuzzer.cpp", | 1134 "css/StyleSheetContentsFuzzer.cpp", |
| 1134 ] | 1135 ] |
| 1135 deps = [ | 1136 deps = [ |
| 1136 ":core", | 1137 ":core", |
| 1137 "../platform:blink_fuzzer_test_support", | 1138 "../platform:blink_fuzzer_test_support", |
| 1138 ] | 1139 ] |
| 1139 seed_corpus = "//third_party/WebKit/LayoutTests/fast/css/resources/*.css" | 1140 seed_corpus = "//third_party/WebKit/LayoutTests/fast/css/resources/*.css" |
| 1140 libfuzzer_options = [ "max_len=2048" ] | 1141 libfuzzer_options = [ "max_len=2048" ] |
| 1141 } | 1142 } |
| 1143 |
| 1144 # Fuzzer for blink::HTMLPreloadScanner. |
| 1145 fuzzer_test("html_preload_scanner_fuzzer") { |
| 1146 sources = [ |
| 1147 "html/parser/HTMLPreloadScannerFuzzer.cpp", |
| 1148 "html/parser/TextResourceDecoderForFuzzing.h", |
| 1149 ] |
| 1150 seed_corpus = "//third_party/WebKit/LayoutTests/fast/parser" |
| 1151 deps = [ |
| 1152 ":core", |
| 1153 "../platform:blink_fuzzer_test_support", |
| 1154 ] |
| 1155 } |
| OLD | NEW |