blob: df34c993b31b956b7ae794209cc050bef56f4895 [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.
zx_driver("fvm") {
deps = [ ":shared" ]
# TODO(ZX-2863): This driver violates the allowed shlib deps policy.
deprecated_inhibit_driver_shlib_allowlist = true
}
# Also used by test/.
source_set("shared") {
visibility = [ "./*" ]
sources = [
"fvm.c",
"fvm.cc",
"slice-extent.cc",
"vpartition.cc",
]
public_deps = [
"$zx/system/banjo/ddk.protocol.block",
"$zx/system/banjo/ddk.protocol.block.partition",
"$zx/system/banjo/ddk.protocol.block.volume",
"$zx/system/fidl/fuchsia-hardware-block:c",
"$zx/system/fidl/fuchsia-hardware-block-partition:c",
"$zx/system/fidl/fuchsia-hardware-block-volume:c",
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/digest",
"$zx/system/ulib/fbl",
"$zx/system/ulib/fidl-utils",
"$zx/system/ulib/fs",
"$zx/system/ulib/fvm",
"$zx/system/ulib/fzl",
"$zx/system/ulib/gpt",
"$zx/system/ulib/sync",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zircon-internal",
"$zx/system/ulib/zx",
"$zx/third_party/ulib/uboringssl",
]
}