blob: a41bf7179ac636a3269c3f9cc1e9dc641bb4077c [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.
if (is_fuchsia) {
driver("usb-peripheral-test") {
sources = [
"driver.cc",
]
deps = [
"$zx/system/banjo/ddk.protocol.usb",
"$zx/system/banjo/ddk.protocol.usb.function",
"$zx/system/banjo/ddk.protocol.usb.request",
"$zx/system/dev/lib/usb",
"$zx/system/ulib/ddk",
"$zx/system/ulib/fbl",
"$zx/system/ulib/sync",
"$zx/system/ulib/zircon",
]
}
} else if (current_os == "linux") {
test("usb-peripheral-test") {
output_name = "usb-peripheral-test"
sources = [
"test.cc",
]
deps = [
"$zx/system/ulib/fbl",
"$zx/system/ulib/zxtest",
"$zx/third_party/ulib/usbhost",
]
}
}