blob: 7cb1b1195fad936552ff3e5e2328d244163cb999 [file] [log] [blame]
# Copyright 2020 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")
test("device-protocol-pdev-test") {
sources = [ "pdev-test.cc" ]
deps = [
"//sdk/fidl/fuchsia.hardware.platform.device:fuchsia.hardware.platform.device_cpp_testing",
"//sdk/lib/async_patterns/testing/cpp",
"//src/devices/bus/lib/device-protocol-pdev",
"//src/devices/bus/testing/fake-pdev",
"//src/devices/lib/mmio:test_helper",
"//src/devices/testing/fake-bti",
"//src/devices/testing/fake-resource",
"//zircon/system/ulib/async-default",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
"//zircon/system/ulib/zxtest",
]
}
fuchsia_unittest_package("package") {
package_name = "device-protocol-pdev-test"
deps = [ ":device-protocol-pdev-test" ]
}
group("tests") {
testonly = true
deps = [ ":package" ]
}