blob: c1b7d6709724cee52c18c68909709a4236b91734 [file] [log] [blame]
Antonio Gomes39641ed52024-10-03 00:58:301# Copyright 2024 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5assert(is_win || is_mac || is_linux || is_chromeos)
6
7source_set("hid") {
8 sources = [
Antonio Gomesfdb415882024-10-03 12:42:549 "hid_chooser.cc",
Antonio Gomes39641ed52024-10-03 00:58:3010 "hid_chooser.h",
Antonio Gomesfdb415882024-10-03 12:42:5411 "hid_chooser_controller.cc",
Antonio Gomes39641ed52024-10-03 00:58:3012 "hid_chooser_controller.h",
13 ]
14 public_deps = [
15 "//base",
16 "//chrome/browser/hid",
17 "//components/permissions",
18 "//content/public/browser",
19 "//services/device/public/mojom",
20 "//third_party/blink/public/common",
21 "//url",
22 ]
Antonio Gomes39641ed52024-10-03 00:58:3023
Antonio Gomes39641ed52024-10-03 00:58:3024 deps = [
Antonio Gomes39641ed52024-10-03 00:58:3025 "//chrome/app:generated_resources",
26 "//chrome/browser/profiles:profile",
27 "//chrome/common",
28 "//components/strings:components_strings",
29 "//services/device/public/cpp/hid",
30 "//ui/base",
31 ]
Antonio Gomes39641ed52024-10-03 00:58:3032}
33
34source_set("unit_tests") {
35 testonly = true
36 sources = [ "hid_chooser_controller_unittest.cc" ]
37 deps = [
38 ":hid",
39 "//base/test:test_support",
40 "//chrome/app:generated_resources",
41 "//chrome/test:test_support",
42 "//components/permissions:test_support",
43 "//content/test:test_support",
44 "//services/device/public/cpp:test_support",
45 "//services/device/public/cpp/hid",
46 ]
47}