blob: 7acc7271cd17d3f08ce0b4a93e5bb678aeb83f92 [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("launchpad") {
sdk = "shared"
sdk_headers = [
"launchpad/vmo.h",
"launchpad/launchpad.h",
]
shared = true
sources = [
"elf.c",
"fdio.c",
"launchpad.c",
"vmo.c",
]
defines = [ "_ALL_SOURCE" ]
deps = [
"//zircon/public/lib/elf-psabi",
"//zircon/public/lib/elfload",
"//zircon/public/lib/fdio",
"//zircon/public/lib/fidl",
"//zircon/public/lib/ldmsg",
"//zircon/public/lib/zircon-internal",
]
visibility = [
# Do not add anymore targets to this list.
# Instead of launchpad, use fdio_spawn or fuchsia.process.Launcher.
":*",
"test:*",
"//zircon/system/core/bootsvc:*",
]
}