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