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

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: rebase 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 c7094af2514515e0eeb0d77e904fb49ff19fbae9..2f14bbe90fdda97a2597c19ed4ff7c5f477c20e8 100644
--- a/third_party/WebKit/Source/platform/BUILD.gn
+++ b/third_party/WebKit/Source/platform/BUILD.gn
@@ -668,6 +668,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