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

Unified Diff: testing/libfuzzer/BUILD.gn

Issue 2068513002: Add fuzzer for FDE CSS syntax parser. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Make freetype headers visible to fuzzers Created 4 years, 6 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 | « testing/DEPS ('k') | testing/libfuzzer/fuzzers.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/libfuzzer/BUILD.gn
diff --git a/testing/libfuzzer/BUILD.gn b/testing/libfuzzer/BUILD.gn
index 5382313e0163e23d8d143f3b749ccf8e3c1c7fe6..3659c362257f2f86f01d834b43720d8058abc4a0 100644
--- a/testing/libfuzzer/BUILD.gn
+++ b/testing/libfuzzer/BUILD.gn
@@ -5,6 +5,8 @@
import("../../pdfium.gni")
config("libfuzzer_config") {
+ configs = [ "//third_party/pdfium:pdfium_core_config" ]
+
defines = [
"PNG_PREFIX",
"PNG_USE_READ_MACROS",
@@ -122,6 +124,20 @@ if (pdf_enable_xfa) {
":libfuzzer_config",
]
}
+ source_set("pdf_css_fuzzer") {
+ testonly = true
+ sources = [
+ "pdf_css_fuzzer.cc",
+ ]
+ deps = [
+ "//third_party/pdfium:pdfium",
+ ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [
+ "//build/config/compiler:no_chromium_code",
+ ":libfuzzer_config",
+ ]
+ }
}
source_set("pdf_jpx_fuzzer") {
« no previous file with comments | « testing/DEPS ('k') | testing/libfuzzer/fuzzers.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698