OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 source_set("webusb") { | 5 source_set("webusb") { |
6 sources = [ | 6 sources = [ |
7 "webusb_browser_client.h", | 7 "webusb_browser_client.h", |
8 "webusb_detector.cc", | 8 "webusb_detector.cc", |
9 "webusb_detector.h", | 9 "webusb_detector.h", |
10 ] | 10 ] |
11 | 11 |
12 public_deps = [ | 12 public_deps = [ |
13 "//base", | 13 "//base", |
14 "//components/webusb/public/interfaces", | |
15 "//device/usb", | 14 "//device/usb", |
16 ] | 15 ] |
17 deps = [ | 16 deps = [ |
18 "//device/core", | 17 "//device/core", |
19 ] | 18 ] |
20 } | 19 } |
21 | 20 |
22 source_set("unit_tests") { | 21 source_set("unit_tests") { |
23 testonly = true | 22 testonly = true |
24 sources = [ | 23 sources = [ |
25 "webusb_detector_unittest.cc", | 24 "webusb_detector_unittest.cc", |
26 ] | 25 ] |
27 | 26 |
28 deps = [ | 27 deps = [ |
29 ":webusb", | 28 ":webusb", |
30 "//base", | 29 "//base", |
31 "//device/core", | 30 "//device/core", |
32 "//device/core:mocks", | 31 "//device/core:mocks", |
33 "//device/usb", | 32 "//device/usb", |
34 "//device/usb:mocks", | 33 "//device/usb:mocks", |
35 "//testing/gmock", | 34 "//testing/gmock", |
36 "//testing/gtest", | 35 "//testing/gtest", |
37 "//url", | 36 "//url", |
38 ] | 37 ] |
39 } | 38 } |
OLD | NEW |