| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |