blob: 595c2990c8a8e1f3eb6a495651aa31dff6a23a51 [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.
import("//build/unification/zx_library.gni")
# Common variables for our SDK and in-tree targets.
common_vars = {
sdk = "source"
sdk_headers = [ "lib/zbi/zbi.h" ]
sources = [ "zbi.c" ]
}
# SDK library.
zx_library("zbi") {
forward_variables_from(common_vars, "*")
sdk_publishable = true
}
# In-tree library.
# This is necessary because in-tree targets use //zircon/system/public
# as the sysroot dependency, which is not available to sdk_publishable
# targets.
zx_library("in_tree") {
forward_variables_from(common_vars, "*")
deps = [ "//zircon/system/public" ]
}