blob: 9c86b70489998954402f0df680ad2717b9799555 [file] [log] [blame]
Jorge E. Moreirab5a71d72018-07-22 23:01:20 -07001//
2// Copyright (C) 2017 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16cc_binary_host {
17 name: "virtual_usb_manager",
18 srcs: [
19 "main.cc",
Jorge E. Moreirad8430662018-07-22 23:52:33 -070020 "vadb/usb_cmd_attach.cpp",
21 "vadb/usb_cmd_control_transfer.cpp",
22 "vadb/usb_cmd_data_transfer.cpp",
23 "vadb/usb_cmd_device_list.cpp",
24 "vadb/usb_cmd_heartbeat.cpp",
25 "vadb/virtual_adb_client.cpp",
26 "vadb/virtual_adb_server.cpp",
27 "usbip/client.cpp",
28 "usbip/device_pool.cpp",
29 "usbip/messages.cpp",
30 "usbip/server.cpp",
31 "usbip/vhci_instrument.cpp",
Jorge E. Moreirab5a71d72018-07-22 23:01:20 -070032 ],
33 header_libs: [
34 "cuttlefish_glog",
35 ],
36 shared_libs: [
Cody Schuffelen134ff032019-11-22 00:25:32 -080037 "vsoc_lib",
Jorge E. Moreirab5a71d72018-07-22 23:01:20 -070038 "libcuttlefish_fs",
39 "libcuttlefish_utils",
40 "cuttlefish_auto_resources",
41 "libbase",
42 ],
43 static_libs: [
44 "libcuttlefish_host_config",
Jorge E. Moreirab5a71d72018-07-22 23:01:20 -070045 "libgflags",
46 "libjsoncpp",
47 ],
48 defaults: ["cuttlefish_host_only"],
49}