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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# 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.
import("//mojo/public/mojo_application.gni")
source_set("lib") {
sources = [
"devices_app.cc",
"devices_app.h",
"usb/device_impl.cc",
"usb/device_impl.h",
"usb/device_manager_impl.cc",
"usb/device_manager_impl.h",
"usb/type_converters.cc",
"usb/type_converters.h",
]
deps = [
"//device/core",
"//device/devices_app/usb/public/interfaces",
"//device/usb",
"//mojo/public/cpp/bindings",
"//mojo/public/cpp/bindings:callback",
"//net",
"//url",
]
public_deps = [
"//base",
"//mojo/application/public/cpp",
"//mojo/application/public/interfaces",
]
}
if (!is_component_build) {
mojo_native_application("devices") {
sources = [
"main.cc",
]
deps = [
"//base",
"//device/devices_app/public/cpp:factory",
"//mojo/application/public/cpp",
]
public_deps = [
":lib",
]
}
mojo_native_application("apptests") {
output_name = "devices_apptests"
testonly = true
sources = [
"devices_apptest.cc",
]
deps = [
"//base",
"//mojo/application/public/cpp:test_support",
]
public_deps = [
":lib",
"//device/devices_app/usb/public/interfaces",
]
data_deps = [
":devices",
]
}
}
|