summaryrefslogtreecommitdiff
path: root/chromium/components/webusb/BUILD.gn
blob: 44afe3d2fe3caf774908f8d5a97b589da51e3cbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source_set("webusb") {
  sources = [
    "webusb_browser_client.h",
    "webusb_detector.cc",
    "webusb_detector.h",
  ]

  public_deps = [
    "//base",
    "//device/usb",
  ]
  deps = [
    "//device/core",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "webusb_detector_unittest.cc",
  ]

  deps = [
    ":webusb",
    "//base",
    "//device/core",
    "//device/core:mocks",
    "//device/usb",
    "//device/usb:test_support",
    "//testing/gmock",
    "//testing/gtest",
    "//url",
  ]
}