blob: 9d4b7a7c32d59b45a5e4d4efaf1731aba916ad03 [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/36139. #
##########################################
import("//build/sdk/sdk_host_tool.gni")
executable("minfs") {
sources = [ "main.cc" ]
deps = [
"//src/lib/storage/vfs/cpp/journal",
"//src/storage/minfs",
"//zircon/system/ulib/bitmap",
"//zircon/system/ulib/fbl",
"//zircon/system/ulib/fs-host",
"//zircon/system/ulib/zxc",
]
if (!is_fuchsia) {
deps += [ "//zircon/system/ulib/zx-panic-libc" ]
}
}
sdk_host_tool("minfs_sdk") {
category = "partner"
output_name = "minfs"
deps = [ ":minfs" ]
}