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

Unified 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: use explicit deps Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/BUILD.gn
diff --git a/third_party/WebKit/Source/platform/BUILD.gn b/third_party/WebKit/Source/platform/BUILD.gn
index ce25028fe74fa15fe3f9a24dd4188a6407dc7602..f79beaa8b604c5ff6199ee7d83458658fd4e0081 100644
--- a/third_party/WebKit/Source/platform/BUILD.gn
+++ b/third_party/WebKit/Source/platform/BUILD.gn
@@ -692,6 +692,24 @@ if (current_cpu == "x86" || current_cpu == "x64") {
}
}
+# This source set is used for fuzzers that need an environment similar to unit
+# tests.
+source_set("blink_fuzzer_test_support") {
+ testonly = true
+ visibility = [] # Allow re-assignment of list.
+ visibility = [ "*" ]
+ sources = [
+ "testing/BlinkFuzzerTestSupport.cpp",
+ "testing/BlinkFuzzerTestSupport.h",
+ ]
+ deps = [
+ ":platform",
+ ":test_support",
+ "//content/test:test_support",
+ "//mojo/edk/system:system",
+ ]
+}
+
# Fuzzer for blink::MHTMLParser.
fuzzer_test("mhtml_parser_fuzzer") {
sources = [

Powered by Google App Engine
This is Rietveld 408576698