blob: 8ca7cf71a344c3c458b3606b0947dc6f0f629171 [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.
##########################################
# Though under //zircon, this build file #
# is meant to be used in the Fuchsia GN #
# build. #
# See fxb/36548. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
import("//build/unification/zx_library.gni")
zx_library("kernel-mexec") {
sdk = "source"
sdk_headers = [ "lib/kernel-mexec/kernel-mexec.h" ]
sources = [ "kernel-mexec.cc" ]
deps = [
"//zircon/public/lib/async",
"//zircon/public/lib/ddk",
"//zircon/public/lib/fbl",
"//zircon/public/lib/fidl",
"//zircon/public/lib/fidl-async",
"//zircon/public/lib/fzl",
"//zircon/public/lib/libzbi",
"//zircon/public/lib/zircon-internal",
"//zircon/public/lib/zx",
"//zircon/system/fidl/fuchsia-device-manager:c",
"//zircon/system/fidl/fuchsia-kernel:c",
]
public_deps = [ "//zircon/public/lib/svc" ]
}