blob: 42ab00231284cc0148439e395a17b8adaaeb8f19 [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("ethernet") {
sources = [
"ethernet.cc",
]
deps = [
"$zx/system/banjo/ddk.protocol.ethernet",
"$zx/system/dev/lib/operation",
"$zx/system/fidl/fuchsia-hardware-ethernet:c",
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/fbl",
"$zx/system/ulib/fidl",
"$zx/system/ulib/fidl-utils",
"$zx/system/ulib/fzl",
"$zx/system/ulib/sync",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zircon-internal",
]
}
test("ethernet-unittest") {
testonly = true
output_name = "ethernet-unittest"
sources = [
"ethernet-test.cc",
"ethernet.cc",
]
deps = [
"$zx/system/banjo/ddk.protocol.ethernet",
"$zx/system/dev/lib/fake_ddk",
"$zx/system/dev/lib/operation",
"$zx/system/fidl/fuchsia-hardware-ethernet:c",
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/fidl-utils",
"$zx/system/ulib/fzl",
"$zx/system/ulib/sync",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zircon-internal",
"$zx/system/ulib/zxtest",
]
}