blob: e32a68d71e8b3cbc5ec8d94fb78dfff1d0283367 [file] [log] [blame]
# 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-peripheral-utils") {
sdk = "shared"
sdk_headers = [ "lib/usb-peripheral-utils/event-watcher.h" ]
shared = true
sources = [ "event-watcher.cc" ]
public_deps = [
"//zircon/public/lib/async-loop-cpp",
"//zircon/public/lib/fidl-async-cpp",
"//zircon/system/fidl/fuchsia-hardware-usb-peripheral:llcpp",
]
deps = [
"//zircon/public/lib/async-loop-cpp",
"//zircon/public/lib/fbl",
"//zircon/public/lib/fdio",
"//zircon/public/lib/fidl-async-cpp",
"//zircon/public/lib/zx",
]
}