| 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 22 matching lines...) Expand all Loading... |
| 33 "hid_service_mac.h", | 33 "hid_service_mac.h", |
| 34 "hid_service_win.cc", | 34 "hid_service_win.cc", |
| 35 "hid_service_win.h", | 35 "hid_service_win.h", |
| 36 "hid_usage_and_page.cc", | 36 "hid_usage_and_page.cc", |
| 37 "hid_usage_and_page.h", | 37 "hid_usage_and_page.h", |
| 38 ] | 38 ] |
| 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/base", |
| 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 "fake_input_service_linux.cc", | 49 "fake_input_service_linux.cc", |
| 50 "fake_input_service_linux.h", | 50 "fake_input_service_linux.h", |
| 51 "hid_service_linux.cc", | 51 "hid_service_linux.cc", |
| 52 "hid_service_linux.h", | 52 "hid_service_linux.h", |
| 53 "input_service_linux.cc", | 53 "input_service_linux.cc", |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 fuzzer_test("hid_report_descriptor_fuzzer") { | 85 fuzzer_test("hid_report_descriptor_fuzzer") { |
| 86 sources = [ | 86 sources = [ |
| 87 "hid_report_descriptor_fuzzer.cc", | 87 "hid_report_descriptor_fuzzer.cc", |
| 88 ] | 88 ] |
| 89 deps = [ | 89 deps = [ |
| 90 ":hid", | 90 ":hid", |
| 91 ] | 91 ] |
| 92 seed_corpus = "fuzz_corpus" | 92 seed_corpus = "fuzz_corpus" |
| 93 libfuzzer_options = [ "max_len=2048" ] | 93 libfuzzer_options = [ "max_len=2048" ] |
| 94 } | 94 } |
| OLD | NEW |