| # Copyright 2019 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| ########################################## |
| # Though under //zircon, this build file # |
| # is meant to be used in the Fuchsia GN # |
| # build. # |
| # See fxb/36548. # |
| ########################################## |
| |
| assert(!defined(zx) || zx != "/", |
| "This file can only be used in the Fuchsia GN build.") |
| |
| import("//build/unification/zx_library.gni") |
| |
| zx_library("usb-virtual-bus-launcher") { |
| sdk = "shared" |
| sdk_headers = [ |
| "lib/usb-virtual-bus-launcher/usb-virtual-bus-launcher.h", |
| "lib/usb-virtual-bus-launcher-helper/usb-virtual-bus-launcher-helper.h", |
| ] |
| testonly = true |
| shared = true |
| sources = [ |
| "usb-virtual-bus-launcher-helper.cc", |
| "usb-virtual-bus-launcher.cc", |
| ] |
| public_deps = [ |
| "//sdk/fidl/fuchsia.hardware.usb.virtual.bus:fuchsia.hardware.usb.virtual.bus_llcpp", |
| "//zircon/public/lib/zxtest", |
| "//zircon/system/fidl/fuchsia-hardware-usb-peripheral:llcpp", |
| "//zircon/system/ulib/devmgr-integration-test", |
| "//zircon/system/ulib/driver-integration-test", |
| ] |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.usb.virtual.bus:fuchsia.hardware.usb.virtual.bus_llcpp", |
| "//zircon/public/lib/async-loop-cpp", |
| "//zircon/public/lib/ddk", |
| "//zircon/public/lib/fbl", |
| "//zircon/public/lib/fdio", |
| "//zircon/public/lib/fidl-async-cpp", |
| "//zircon/public/lib/zx", |
| "//zircon/public/lib/zxtest", |
| "//zircon/system/fidl/fuchsia-hardware-usb-peripheral:llcpp", |
| "//zircon/system/ulib/devmgr-integration-test", |
| "//zircon/system/ulib/driver-integration-test", |
| "//zircon/system/ulib/usb-peripheral-utils", |
| ] |
| } |