blob: 499b5c866550aa33a24b43cd322c8690208a62a6 [file] [log] [blame]
# Copyright 2023 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.
import("//build/components.gni")
import("//build/test.gni")
group("tests") {
testonly = true
deps = [ ":usb-phy-tests" ]
}
test("usb-phy-test-bin") {
output_name = "usb-phy-test"
sources = [ "usb-phy-test.cc" ]
deps = [
"//sdk/lib/async_patterns/testing/cpp",
"//src/devices/testing/mock-ddk:mock-ddk",
"//src/devices/usb/lib/usb-phy",
"//zircon/system/ulib/zxtest",
]
}
fuchsia_unittest_component("usb-phy-test") {
deps = [ ":usb-phy-test-bin" ]
}
fuchsia_test_package("usb-phy-tests") {
test_components = [ ":usb-phy-test" ]
}