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 static_library("webusb") { | 5 static_library("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 deps = [ | 12 deps = [ |
13 "//base", | 13 "//base", |
| 14 "//components/webusb/public/interfaces", |
14 "//device/core", | 15 "//device/core", |
15 "//device/usb", | 16 "//device/usb", |
16 ] | 17 ] |
17 } | 18 } |
18 | 19 |
19 source_set("unit_tests") { | 20 source_set("unit_tests") { |
20 testonly = true | 21 testonly = true |
21 sources = [ | 22 sources = [ |
22 "webusb_detector_unittest.cc", | 23 "webusb_detector_unittest.cc", |
23 ] | 24 ] |
24 | 25 |
25 deps = [ | 26 deps = [ |
26 ":webusb", | 27 ":webusb", |
27 "//device/usb", | 28 "//device/usb", |
28 "//device/usb:mocks", | 29 "//device/usb:mocks", |
29 "//testing/gmock", | 30 "//testing/gmock", |
30 "//testing/gtest", | 31 "//testing/gtest", |
31 ] | 32 ] |
32 } | 33 } |
OLD | NEW |