| # 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/zircon/migrated_targets.gni") |
| |
| zx_library("zbi") { |
| # TODO(fxbug.dev/57244): restricted, as the library is slated to be replaced |
| # by //zircon/system/lib/zbitl. |
| visibility = [ |
| "./*", |
| "//zircon/kernel/target/arm64/boot-shim:*", |
| "//zircon/kernel/target/pc/multiboot:*", |
| ] |
| |
| sdk = "static" |
| sdk_headers = [ "lib/zbi/zbi.h" ] |
| sdk_migrated = true |
| |
| host = true |
| kernel = true |
| static = true |
| sources = [ "zbi.c" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ "test:tests" ] |
| } |