| 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//testing/libfuzzer/fuzzer_test.gni") | 6 import("//testing/libfuzzer/fuzzer_test.gni") |
| 7 | 7 |
| 8 source_set("hid") { | 8 source_set("hid") { |
| 9 sources = [ | 9 sources = [ |
| 10 "hid_collection_info.cc", | 10 "hid_collection_info.cc", |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 deps = [ | 40 deps = [ |
| 41 "//base", | 41 "//base", |
| 42 "//components/device_event_log", | 42 "//components/device_event_log", |
| 43 "//device/core", | 43 "//device/core", |
| 44 "//net", | 44 "//net", |
| 45 ] | 45 ] |
| 46 | 46 |
| 47 if (is_linux && use_udev) { | 47 if (is_linux && use_udev) { |
| 48 sources += [ | 48 sources += [ |
| 49 "device_monitor_linux.cc", | |
| 50 "device_monitor_linux.h", | |
| 51 "fake_input_service_linux.cc", | 49 "fake_input_service_linux.cc", |
| 52 "fake_input_service_linux.h", | 50 "fake_input_service_linux.h", |
| 53 "hid_service_linux.cc", | 51 "hid_service_linux.cc", |
| 54 "hid_service_linux.h", | 52 "hid_service_linux.h", |
| 55 "input_service_linux.cc", | 53 "input_service_linux.cc", |
| 56 "input_service_linux.h", | 54 "input_service_linux.h", |
| 57 ] | 55 ] |
| 58 deps += [ "//device/udev_linux" ] | 56 deps += [ "//device/udev_linux" ] |
| 59 } | 57 } |
| 60 | 58 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 87 fuzzer_test("hid_report_descriptor_fuzzer") { | 85 fuzzer_test("hid_report_descriptor_fuzzer") { |
| 88 sources = [ | 86 sources = [ |
| 89 "hid_report_descriptor_fuzzer.cc", | 87 "hid_report_descriptor_fuzzer.cc", |
| 90 ] | 88 ] |
| 91 deps = [ | 89 deps = [ |
| 92 ":hid", | 90 ":hid", |
| 93 ] | 91 ] |
| 94 seed_corpus = "fuzz_corpus" | 92 seed_corpus = "fuzz_corpus" |
| 95 libfuzzer_options = [ "max_len=2048" ] | 93 libfuzzer_options = [ "max_len=2048" ] |
| 96 } | 94 } |
| OLD | NEW |