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

Unified Diff: testing/libfuzzer/fuzzers/BUILD.gn

Issue 1704653004: libfuzzer: Add pdfium XFA fuzzers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing import Created 4 years, 10 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 | testing/libfuzzer/fuzzers/dicts/pdf_fm2js.dict » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/libfuzzer/fuzzers/BUILD.gn
diff --git a/testing/libfuzzer/fuzzers/BUILD.gn b/testing/libfuzzer/fuzzers/BUILD.gn
index 9b94852a50b8ca0ade1c4d02a4e4c70c53263388..3226c47566d844d475f6b229f32962a58e7a4657 100644
--- a/testing/libfuzzer/fuzzers/BUILD.gn
+++ b/testing/libfuzzer/fuzzers/BUILD.gn
@@ -7,6 +7,7 @@
import("//build/config/features.gni")
import("//media/media_options.gni")
import("//testing/libfuzzer/fuzzer_test.gni")
+import("//third_party/pdfium/pdfium.gni")
# root BUILD depenends on this target. Needed for package discovery
group("fuzzers") {
@@ -226,6 +227,24 @@ fuzzer_test("pdfium_fuzzer") {
dict = "dicts/pdf.dict"
}
+if (pdf_enable_xfa) {
+ fuzzer_test("pdf_fm2js_fuzzer") {
+ sources = []
+ deps = [
+ "//third_party/pdfium/testing/libfuzzer:pdf_fm2js_fuzzer",
+ ]
+ dict = "dicts/pdf_fm2js.dict"
+ }
+
+ fuzzer_test("pdf_xml_fuzzer") {
+ sources = []
+ deps = [
+ "//third_party/pdfium/testing/libfuzzer:pdf_xml_fuzzer",
+ ]
+ dict = "dicts/pdf_xml.dict"
+ }
+}
+
fuzzer_test("websocket_frame_parser_fuzzer") {
sources = [
"websocket_frame_parser_fuzzer.cc",
« no previous file with comments | « no previous file | testing/libfuzzer/fuzzers/dicts/pdf_fm2js.dict » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698