blob: 0706551567f3c383c5b2a88dc6c2096638d35e5d [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("$zx/public/gn/fidl_c_header.gni")
# The following targets expose C headers for the few FIDL libraries that are
# still needed in the ZN build.
fidl_c_header("fuchsia-debugdata") {
sources = [ "../../../sdk/fidl/fuchsia.debugdata/debugdata.fidl" ]
deps = [ ":zx" ]
}
fidl_c_header("fuchsia-io") {
sources = [ "../../../sdk/fidl/fuchsia.io/io.fidl" ]
deps = [
":fuchsia-io2",
":fuchsia-mem",
":zx",
]
}
fidl_c_header("fuchsia-io2") {
sources = [
"../../../sdk/fidl/fuchsia.io2/connection-info.fidl",
"../../../sdk/fidl/fuchsia.io2/connection-options.fidl",
"../../../sdk/fidl/fuchsia.io2/connector.fidl",
"../../../sdk/fidl/fuchsia.io2/debuglog.fidl",
"../../../sdk/fidl/fuchsia.io2/deprecated.fidl",
"../../../sdk/fidl/fuchsia.io2/directory-entry.fidl",
"../../../sdk/fidl/fuchsia.io2/directory-iterator.fidl",
"../../../sdk/fidl/fuchsia.io2/directory-watcher.fidl",
"../../../sdk/fidl/fuchsia.io2/directory.fidl",
"../../../sdk/fidl/fuchsia.io2/file.fidl",
"../../../sdk/fidl/fuchsia.io2/io2.fidl",
"../../../sdk/fidl/fuchsia.io2/locking.fidl",
"../../../sdk/fidl/fuchsia.io2/memory.fidl",
"../../../sdk/fidl/fuchsia.io2/node-attributes.fidl",
"../../../sdk/fidl/fuchsia.io2/node.fidl",
"../../../sdk/fidl/fuchsia.io2/pipe.fidl",
"../../../sdk/fidl/fuchsia.io2/posix-socket.fidl",
"../../../sdk/fidl/fuchsia.io2/rights-abilities.fidl",
]
deps = [
":fuchsia-mem",
":zx",
]
}
fidl_c_header("fuchsia-mem") {
sources = [
"../../../sdk/fidl/fuchsia.mem/buffer.fidl",
"../../../sdk/fidl/fuchsia.mem/range.fidl",
]
deps = [ ":zx" ]
}
fidl_c_header("zx") {
sources = [ "$zx/vdso/zx_common.fidl" ]
}