blob: 4833634e4afc90ae3b397ae00cf409f8b5453e21 [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.
_label = "//zircon/vdso:private($default_toolchain)"
_gen_dir = get_label_info(_label, "target_gen_dir")
config("headers.config") {
include_dirs = [ "$_gen_dir/include" ]
}
group("headers") {
public_configs = [ ":headers.config" ]
}
source_set("syscalls-headers") {
visibility = [
"//zircon/system/ulib",
"//zircon/system/utest/core/bad-syscall/*",
]
public = [ "$_gen_dir/include/lib/syscalls/zx-syscall-numbers.h" ]
public_deps = [
":headers",
_label,
]
}