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

Side by Side Diff: ui/display/util/BUILD.gn

Issue 2252643003: ui: Add a libfuzzer based fuzzer for EDID parser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | ui/display/util/edid_parser_fuzzer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/libfuzzer/fuzzer_test.gni")
6 7
7 component("util") { 8 component("util") {
8 output_name = "display_util" 9 output_name = "display_util"
9 sources = [ 10 sources = [
10 "display_util.cc", 11 "display_util.cc",
11 "display_util.h", 12 "display_util.h",
12 "display_util_export.h", 13 "display_util_export.h",
13 "edid_parser.cc", 14 "edid_parser.cc",
14 "edid_parser.h", 15 "edid_parser.h",
15 ] 16 ]
(...skipping 14 matching lines...) Expand all
30 configs += [ 31 configs += [
31 "//build/config/linux:x11", 32 "//build/config/linux:x11",
32 "//build/config/linux:xrandr", 33 "//build/config/linux:xrandr",
33 ] 34 ]
34 deps += [ "//ui/gfx/x" ] 35 deps += [ "//ui/gfx/x" ]
35 } 36 }
36 if (is_chromeos) { 37 if (is_chromeos) {
37 deps += [ "//ui/display/types" ] 38 deps += [ "//ui/display/types" ]
38 } 39 }
39 } 40 }
41
42 fuzzer_test("edid_parser_fuzzer") {
43 sources = [
44 "edid_parser_fuzzer.cc",
45 ]
46 deps = [
47 ":util",
48 "//ui/gfx/geometry",
49 ]
50 seed_corpus = "fuzz_corpus"
51 libfuzzer_options = [ "max_len=300" ]
52 }
OLDNEW
« no previous file with comments | « no previous file | ui/display/util/edid_parser_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698