blob: fc9b394a81e8976a763bab3ecdbaba7f9f66e001 [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.
import("$zx/public/gn/fidl.gni")
if (current_toolchain != default_toolchain) {
test_driver("mock-device") {
sources = [
"device.cc",
"fidl.cc",
]
deps = [
":fuchsia.device.mock.c",
"$zx/system/banjo/ddk.protocol.test",
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/fbl",
"$zx/system/ulib/fdio",
"$zx/system/ulib/fidl",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zircon-internal",
"$zx/system/ulib/zx",
]
# TODO(ZX-2863): This driver violates the allowed shlib deps policy.
deprecated_inhibit_driver_shlib_allowlist = true
}
}
fidl_library("fuchsia.device.mock") {
visibility = [ ":*" ]
testonly = true
sources = [
"mock-device.fidl",
]
}