blob: 6669b8c57ed1e03b8c1b36c85cd97a768b5c6cd2 [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: [
Jorge E. Moreirab5a71d72018-07-22 23:01:20 -070037 "libcuttlefish_fs",
38 "libcuttlefish_utils",
Jorge E. Moreirab5a71d72018-07-22 23:01:20 -070039 "libbase",
40 ],
41 static_libs: [
42 "libcuttlefish_host_config",
Jorge E. Moreirab5a71d72018-07-22 23:01:20 -070043 "libgflags",
44 "libjsoncpp",
45 ],
46 defaults: ["cuttlefish_host_only"],
47}