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

Unified Diff: skia/BUILD.gn

Issue 2036523002: Implement a fuzzer for skia paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add copyright header 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
« no previous file with comments | « no previous file | skia/tools/path_fuzzer/path_fuzzer.cc » ('j') | skia/tools/path_fuzzer/path_fuzzer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/BUILD.gn
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index 9f0b5827c824fdbfec7f1d3d8d8e9bb1b46afea7..752a59f41fa1b85b47a69f8013f9ade8dd13d9f1 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -4,6 +4,7 @@
import("//build/config/features.gni")
import("//build/config/ui.gni")
+import("//testing/libfuzzer/fuzzer_test.gni")
import("//testing/test.gni")
if (current_cpu == "arm") {
import("//build/config/arm.gni")
@@ -22,6 +23,7 @@ skia_support_pdf = !is_ios && (enable_basic_printing || enable_print_preview)
declare_args() {
skia_whitelist_serialized_typefaces = false
+
# TODO(crbug.com/607933): Once GYP is no longer supported, port iOS to use
# optimised skia.
skia_build_no_opts = is_ios
@@ -758,4 +760,14 @@ if (!is_ios) {
"//build/config/sanitizers:deps",
]
}
+
+ fuzzer_test("path_fuzzer") {
+ sources = [
+ "tools/path_fuzzer/path_fuzzer.cc",
+ ]
+
+ deps = [
+ ":skia",
+ ]
+ }
}
« no previous file with comments | « no previous file | skia/tools/path_fuzzer/path_fuzzer.cc » ('j') | skia/tools/path_fuzzer/path_fuzzer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698