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

Unified Diff: third_party/WebKit/Source/platform/BUILD.gn

Issue 2762763002: Reland "Fuzzer for TextCodecs" (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/TextCodecFuzzer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 358bd51b8a6007bb2c0a2d08d0b60a741f540347..34941a8f6ba1b9b40e2379f22045bc7e8d72d3f9 100644
--- a/third_party/WebKit/Source/platform/BUILD.gn
+++ b/third_party/WebKit/Source/platform/BUILD.gn
@@ -2036,6 +2036,31 @@ fuzzer_test("feature_policy_fuzzer") {
seed_corpus = "//testing/libfuzzer/fuzzers/feature_policy_corpus"
}
+# Fuzzer template for WTF::TextCodec.
+template("blink_text_codec_fuzzer") {
+ forward_variables_from(invoker, "*")
+ config(target_name + "_config") {
+ defines = [ "$target_name" ]
+ }
+ name = target_name
+ fuzzer_test("blink_text_codec_" + name + "_fuzzer") {
+ sources = [
+ "TextCodecFuzzer.cpp",
+ ]
+ deps = [
+ ":blink_fuzzer_test_support",
+ ":platform",
+ ]
+ additional_configs = [ ":" + name + "_config" ]
+ seed_corpus = "text_codec_fuzzer_seed_corpus"
+ }
+}
+
+blink_text_codec_fuzzer("UTF_8") {
+}
+blink_text_codec_fuzzer("WINDOWS_1252") {
+}
+
# NOTE: These are legacy unit tests and tests that require a Platform
# object. Do not add more unless the test requires a Platform object.
# These tests are a part of the webkit_unit_tests binary.
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/TextCodecFuzzer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698