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

Unified Diff: third_party/qcms/BUILD.gn

Issue 2807083002: Add LLVM fuzzer: QCMS color space and color transform (Closed)
Patch Set: Use an in-situ hash function. Created 3 years, 8 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 | « BUILD.gn ('k') | third_party/qcms/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/qcms/BUILD.gn
diff --git a/third_party/qcms/BUILD.gn b/third_party/qcms/BUILD.gn
index 1183569beb9f32776c4d27f5049305bd0730dcab..183ae43d6812500062c2c63d17fceab04b1979dc 100644
--- a/third_party/qcms/BUILD.gn
+++ b/third_party/qcms/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//testing/libfuzzer/fuzzer_test.gni")
+
config("qcms_config") {
include_dirs = [ "src" ]
}
@@ -48,6 +50,23 @@ static_library("qcms") {
}
}
+# fuzzers BUILD depends on this target. Needed for package discovery
+group("fuzzers") {
+}
+
+fuzzer_test("qcms_color_space_fuzzer") {
+ sources = [
+ "//testing/libfuzzer/fuzzers/color_space_data.h",
+ "qcms_color_space_fuzzer.cc",
+ ]
+ deps = [
+ ":qcms",
+ "//base",
+ ]
+ dict = "//testing/libfuzzer/fuzzers/dicts/icc.dict"
+ libfuzzer_options = [ "max_len=4194304" ]
+}
+
if (!disable_qcms) {
executable("qcms_tests") {
if (current_cpu == "x86" || current_cpu == "x64") {
« no previous file with comments | « BUILD.gn ('k') | third_party/qcms/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698