blob: 69ef0ef1a7bd858e39902860ae4e262f96a42c68 [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.
##########################################
# Though under //zircon, this build file #
# is meant to be used in the Fuchsia GN #
# build. #
# See fxbug.dev/36548. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
import("//build/unification/zx_library.gni")
group("tests") {
testonly = true
deps = [ "tests" ]
}
zx_library("scsi") {
sdk = "source"
sdk_headers = [
"lib/scsi/scsilib.h",
"lib/scsi/scsilib_controller.h",
]
sources = [ "scsilib.cc" ]
deps = [
"//sdk/banjo/ddk.protocol.block",
"//src/devices/lib/driver",
"//src/lib/ddk",
# TODO(fxb/38132): Migrate to the new bind rules and delete the below
"//src/lib/ddk:ddk-deprecated-binding-headers",
"//src/lib/ddktl",
]
public_deps = [
"//src/devices/lib/driver",
"//src/lib/ddk",
# TODO(fxb/38132): Migrate to the new bind rules and delete the below
"//src/lib/ddk:ddk-deprecated-binding-headers",
"//src/lib/ddktl",
]
}