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

Side by Side Diff: third_party/WebKit/Source/platform/BUILD.gn

Issue 2274563002: Add fuzzer infra to blink and fuzz CSS parser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 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 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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/libfuzzer/fuzzer_test.gni") 7 import("//testing/libfuzzer/fuzzer_test.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 import("//third_party/WebKit/Source/build/scripts/scripts.gni") 9 import("//third_party/WebKit/Source/build/scripts/scripts.gni")
10 import("//third_party/WebKit/Source/config.gni") 10 import("//third_party/WebKit/Source/config.gni")
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 661
662 if (current_cpu == "x86" || current_cpu == "x64") { 662 if (current_cpu == "x86" || current_cpu == "x64") {
663 source_set("blink_x86_sse") { 663 source_set("blink_x86_sse") {
664 sources = blink_platform_sse_files 664 sources = blink_platform_sse_files
665 deps = [ 665 deps = [
666 ":blink_common", 666 ":blink_common",
667 ] 667 ]
668 } 668 }
669 } 669 }
670 670
671 # This source set is used for fuzzers that need an environment similar to unit
672 # tests.
673 source_set("blink_fuzzer_test_support") {
674 testonly = true
675 visibility = [] # Allow re-assignment of list.
676 visibility = [ "*" ]
677 sources = [
678 "testing/BlinkFuzzerTestSupport.cpp",
679 "testing/BlinkFuzzerTestSupport.h",
680 ]
681 deps = [
682 ":platform",
683 ":test_support",
684 "//content/test:test_support",
685 "//mojo/edk/system:system",
686 ]
687 }
688
671 # Fuzzer for blink::MHTMLParser. 689 # Fuzzer for blink::MHTMLParser.
672 fuzzer_test("mhtml_parser_fuzzer") { 690 fuzzer_test("mhtml_parser_fuzzer") {
673 sources = [ 691 sources = [
674 "mhtml/MHTMLFuzzer.cpp", 692 "mhtml/MHTMLFuzzer.cpp",
675 ] 693 ]
676 deps = [ 694 deps = [
677 ":blink_common", 695 ":blink_common",
678 ":platform", 696 ":platform",
679 ":test_support", 697 ":test_support",
680 ] 698 ]
681 dict = "//testing/libfuzzer/fuzzers/dicts/mhtml.dict" 699 dict = "//testing/libfuzzer/fuzzers/dicts/mhtml.dict"
682 seed_corpus = "//third_party/WebKit/LayoutTests/mhtml" 700 seed_corpus = "//third_party/WebKit/LayoutTests/mhtml"
683 additional_configs = [ 701 additional_configs = [
684 "//third_party/WebKit/Source/wtf:wtf_config", 702 "//third_party/WebKit/Source/wtf:wtf_config",
685 "//third_party/WebKit/Source:config", 703 "//third_party/WebKit/Source:config",
686 ] 704 ]
687 } 705 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698