blob: 4727708e8d012646157c2b368f8e76243d4de24e [file] [log] [blame]
# Copyright 2020 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.
# This target allows headers to be published to the GN build.
group("syscalls-headers") {
visibility = [
"$zx/system/ulib",
"$zx/system/utest/core/bad-syscall/*",
]
_label = "$zx/vdso:private($default_toolchain)"
_gen_dir = get_label_info(_label, "target_gen_dir")
public_deps = [ _label ]
metadata = {
legacy_barrier = []
legacy_dirs = [ "lib/syscalls-headers" ]
legacy_targets = [
{
_zircon_public = "lib"
import = "//build/zircon/zircon_library.gni"
target_type = "zircon_library"
target_name = "syscalls-headers"
include_dirs = [ "$_gen_dir/include" ]
compilation_include_dirs = []
compilation_defines = []
disable_ubsan = false
headers = [ "${include_dirs[0]}/lib/syscalls/zx-syscall-numbers.h" ]
publishable = false
sources = []
deps = []
public_deps = []
install = []
debug = []
}
]
}
}