| # 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. |
| |
| executable("fvm-check") { |
| if (is_fuchsia) { |
| configs += [ "//build/unification/config:zircon-migrated" ] |
| fdio_config = [ "//build/config/fuchsia:fdio_config" ] |
| if (configs + fdio_config - fdio_config != configs) { |
| configs -= fdio_config |
| } |
| } |
| sources = [ "main.cc" ] |
| deps = [ |
| "//sdk/lib/fdio", |
| "//src/storage/fvm", |
| "//third_party/boringssl", |
| "//zircon/public/lib/cksum", |
| "//zircon/public/lib/fbl", |
| "//zircon/public/lib/zx", |
| "//zircon/system/ulib/digest", |
| "//zircon/system/ulib/fzl", |
| "//zircon/system/ulib/gpt", |
| "//zircon/system/ulib/ramdevice-client", |
| ] |
| } |