| # 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. |
| |
| library("fvm-host") { |
| host = true |
| sources = [ |
| "container/container.cpp", |
| "container/fvm.cpp", |
| "container/sparse.cpp", |
| "file-wrapper.cpp", |
| "format.cpp", |
| "format/blobfs.cpp", |
| "format/format.cpp", |
| "format/minfs.cpp", |
| "fvm-info.cpp", |
| "sparse-paver.cpp", |
| ] |
| public_deps = [ |
| # <fvm/format.h> has #include <fs-management/mount.h> though that |
| # library is not really meant for host code. |
| "$zx/system/ulib/fs-management:headers", |
| |
| # <fvm-host/format.h> has #include <blobfs/format.h>. |
| "$zx/system/ulib/blobfs:headers", |
| |
| # <fvm-host/format.h> has #include <minfs/bcache.h>. |
| "$zx/system/ulib/minfs:headers", |
| |
| # <fvm-host/container.h> has #include <fvm/sparse-reader.h>. |
| "$zx/system/ulib/fvm:headers", |
| ] |
| deps = [ |
| "$zx/system/ulib/blobfs", |
| "$zx/system/ulib/digest", |
| "$zx/system/ulib/fbl", |
| "$zx/system/ulib/fit", |
| "$zx/system/ulib/fs", |
| "$zx/system/ulib/fvm", |
| "$zx/system/ulib/minfs", |
| "$zx/system/ulib/zircon:headers", |
| "$zx/third_party/ulib/lz4", |
| "$zx/third_party/ulib/safemath", |
| "$zx/third_party/ulib/uboringssl", |
| ] |
| } |