| # 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. |
| |
| import("//build/assembly/bootfs_files_for_assembly.gni") |
| |
| executable("nand-loader") { |
| visibility = [ ":*" ] |
| sources = [ "main.cc" ] |
| deps = [ |
| "//sdk/lib/fdio", |
| "//src/storage/lib/ramdevice_client/cpp", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/fzl", |
| "//zircon/system/ulib/zx", |
| ] |
| } |
| |
| bootfs_files_for_assembly("bootfs") { |
| deps = [ ":nand-loader" ] |
| } |