blob: 9fac35edc4e93a2e713744145b127a9ba9ef6c51 [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 fxb/36548. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
import("//build/unification/zx_library.gni")
zx_library("ftl-mtd") {
sdk = "source"
sdk_headers = [
"lib/ftl-mtd/nand-volume-driver.h",
"lib/ftl-mtd/ftl-volume-wrapper.h",
]
host = true
sources = [
"ftl-volume-wrapper.cc",
"nand-volume-driver.cc",
]
public_deps = [
"//zircon/public/lib/fbl",
"//zircon/system/ulib/ftl",
]
deps = [
"//zircon/public/lib/fbl",
"//zircon/public/lib/fbl",
"//zircon/system/ulib/ftl",
"//zircon/system/ulib/fvm-host",
"//zircon/system/ulib/mtd",
]
}