| 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/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//build/split_static_library.gni") | 7 import("//build/split_static_library.gni") |
| 8 import("//testing/libfuzzer/fuzzer_test.gni") | 8 import("//testing/libfuzzer/fuzzer_test.gni") |
| 9 import("//third_party/WebKit/Source/bindings/bindings.gni") | 9 import("//third_party/WebKit/Source/bindings/bindings.gni") |
| 10 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") | 10 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") |
| (...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 930 "/wd4065", | 930 "/wd4065", |
| 931 "/wd4701", | 931 "/wd4701", |
| 932 "/wd4702", | 932 "/wd4702", |
| 933 ] | 933 ] |
| 934 } | 934 } |
| 935 } | 935 } |
| 936 | 936 |
| 937 # Fuzzer for blink::TextResourceDecoder. | 937 # Fuzzer for blink::TextResourceDecoder. |
| 938 fuzzer_test("text_resource_decoder_fuzzer") { | 938 fuzzer_test("text_resource_decoder_fuzzer") { |
| 939 sources = [ | 939 sources = [ |
| 940 "html/parser/TextResourceDecoderForFuzzing.h", |
| 940 "html/parser/TextResourceDecoderFuzzer.cpp", | 941 "html/parser/TextResourceDecoderFuzzer.cpp", |
| 941 ] | 942 ] |
| 942 deps = [ | 943 deps = [ |
| 943 ":core", | 944 ":core", |
| 944 "../platform:test_support", | 945 "../platform:test_support", |
| 945 ] | 946 ] |
| 946 } | 947 } |
| 947 | 948 |
| 948 source_set("unit_tests") { | 949 source_set("unit_tests") { |
| 949 testonly = true | 950 testonly = true |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1247 sources = [ | 1248 sources = [ |
| 1248 "css/StyleSheetContentsFuzzer.cpp", | 1249 "css/StyleSheetContentsFuzzer.cpp", |
| 1249 ] | 1250 ] |
| 1250 deps = [ | 1251 deps = [ |
| 1251 ":core", | 1252 ":core", |
| 1252 "../platform:blink_fuzzer_test_support", | 1253 "../platform:blink_fuzzer_test_support", |
| 1253 ] | 1254 ] |
| 1254 seed_corpus = "//third_party/WebKit/LayoutTests/fast/css/resources" | 1255 seed_corpus = "//third_party/WebKit/LayoutTests/fast/css/resources" |
| 1255 libfuzzer_options = [ "max_len=2048" ] | 1256 libfuzzer_options = [ "max_len=2048" ] |
| 1256 } | 1257 } |
| 1258 |
| 1259 # Fuzzer for blink::HTMLPreloadScanner. |
| 1260 fuzzer_test("html_preload_scanner_fuzzer") { |
| 1261 sources = [ |
| 1262 "html/parser/HTMLPreloadScannerFuzzer.cpp", |
| 1263 "html/parser/TextResourceDecoderForFuzzing.h", |
| 1264 ] |
| 1265 seed_corpus = "//third_party/WebKit/LayoutTests/fast/parser" |
| 1266 deps = [ |
| 1267 ":core", |
| 1268 "../platform:blink_fuzzer_test_support", |
| 1269 ] |
| 1270 } |
| OLD | NEW |