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

Unified Diff: pdf/pdfium/fuzzers/BUILD.gn

Issue 1820353002: Move PDFium libfuzzers to pdf/pdfium/fuzzers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « pdf/BUILD.gn ('k') | pdf/pdfium/fuzzers/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdfium/fuzzers/BUILD.gn
diff --git a/pdf/pdfium/fuzzers/BUILD.gn b/pdf/pdfium/fuzzers/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..fce0b8c4eac368cc64e6e4d4dada5332485c80c7
--- /dev/null
+++ b/pdf/pdfium/fuzzers/BUILD.gn
@@ -0,0 +1,54 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# PDFium fuzzers.
+
+import("//third_party/pdfium/pdfium.gni")
+import("//testing/test.gni")
+import("//testing/libfuzzer/fuzzer_test.gni")
+
+group("fuzzers") {
+}
+
+fuzzer_test("pdfium_fuzzer") {
+ sources = [
+ "pdfium_fuzzer.cc",
+ ]
+ deps = [
+ "//third_party/pdfium",
+ "//third_party/pdfium:test_support",
+ "//v8",
+ "//v8:v8_libplatform",
+ ]
+ additional_configs = [
+ "//third_party/pdfium:pdfium_config",
+ "//v8:external_startup_data",
+ ]
+ dict = "dicts/pdf.dict"
+}
+
+fuzzer_test("pdf_jpx_fuzzer") {
+ sources = []
+ deps = [
+ "//third_party/pdfium/testing/libfuzzer:pdf_jpx_fuzzer",
+ ]
+}
+
+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"
+ }
+}
« no previous file with comments | « pdf/BUILD.gn ('k') | pdf/pdfium/fuzzers/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698