1// 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", 20 "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", 32 ], 33 header_libs: [ 34 "cuttlefish_glog", 35 ], 36 shared_libs: [ 37 "vsoc_lib", 38 "libcuttlefish_fs", 39 "libcuttlefish_utils", 40 "cuttlefish_auto_resources", 41 "libbase", 42 ], 43 static_libs: [ 44 "libcuttlefish_host_config", 45 "libgflags", 46 "libjsoncpp", 47 ], 48 defaults: ["cuttlefish_host_only"], 49} 50