blob: ec4d3d32c6a8ed3e103af4e69a6e50d38c21b69a [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.
driver("ddk-runcompatibilityhook-test") {
sources = [
"test-driver.cc",
]
deps = [
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/fdio",
"$zx/system/ulib/zircon",
]
# TODO(ZX-2863): This driver violates the allowed shlib deps policy.
# Tests fail when using #"$zx/system/ulib/fdio:static",
deprecated_inhibit_driver_shlib_allowlist = true
}
driver("ddk-runcompatibilityhook-test-child") {
sources = [
"test-driver-child.cc",
]
deps = [
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/fdio",
"$zx/system/ulib/zircon",
]
# TODO(ZX-2863): This driver violates the allowed shlib deps policy.
deprecated_inhibit_driver_shlib_allowlist = true
}
test("ddk-runcompatibilityhook") {
sources = [
"test.cc",
]
deps = [
"$zx/system/fidl/fuchsia-device:c",
"$zx/system/fidl/fuchsia-device-manager:c",
"$zx/system/ulib/ddk",
"$zx/system/ulib/devmgr-integration-test",
"$zx/system/ulib/devmgr-launcher",
"$zx/system/ulib/driver-integration-test",
"$zx/system/ulib/fbl",
"$zx/system/ulib/fdio",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zx",
"$zx/system/ulib/zxtest",
]
}