1
Fork 0
hermetic_cc_toolchain/toolchain/BUILD.sdk.bazel

23 lines
486 B
Plaintext
Raw Normal View History

load("@bazel-zig-cc//toolchain:defs.bzl", "declare_files")
2022-09-21 13:14:29 +03:00
load("@bazel-zig-cc//toolchain/private:cc_toolchains.bzl", "declare_cc_toolchains")
2021-06-10 09:42:26 +03:00
package(
2021-06-10 13:12:54 +03:00
default_visibility = ["//visibility:public"],
2021-06-10 09:42:26 +03:00
)
declare_files(
2022-05-29 19:35:16 +03:00
os = {os},
2021-07-12 09:45:23 +03:00
zig_include_root = {zig_include_root},
2021-06-10 09:42:26 +03:00
)
exports_files([
"glibc-hacks/fcntl.map",
"glibc-hacks/glibchack-fcntl.h",
])
2022-09-21 13:14:29 +03:00
declare_cc_toolchains(
os = {os},
zig_sdk_path = {zig_sdk_path},
2022-09-21 13:14:29 +03:00
zig_include_root = {zig_include_root},
)