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

Unified Diff: third_party/expat/BUILD.gn

Issue 2000993003: [libfuzzer] Add expat_xml_parse_fuzzer for third_party/expat. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/expat/BUILD.gn
diff --git a/third_party/expat/BUILD.gn b/third_party/expat/BUILD.gn
index 533296e55c68f51d7ebb56d322c5565fbb6925c6..e70f31be067f4c0562daa86f364b1048e843d29f 100644
--- a/third_party/expat/BUILD.gn
+++ b/third_party/expat/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/chromecast_build.gni")
+import("//testing/libfuzzer/fuzzer_test.gni")
# Chromecast doesn't ship expat as a system library
if (is_linux && !is_chromecast) {
@@ -37,3 +38,13 @@ if (is_linux && !is_chromecast) {
}
}
}
+
+fuzzer_test("expat_xml_parse_fuzzer") {
+ sources = [
+ "fuzz/expat_xml_parse_fuzzer.cc",
+ ]
+ deps = [
+ ":expat",
+ ]
+ dict = "//testing/libfuzzer/fuzzers/dicts/xml.dict"
+}
« no previous file with comments | « no previous file | third_party/expat/fuzz/expat_xml_parse_fuzzer.cc » ('j') | third_party/expat/fuzz/expat_xml_parse_fuzzer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698