1
hermetic_cc_toolchain/toolchain/BUILD.sdk.bazel

28 lines
641 B
Plaintext
Raw Normal View History

# Copyright 2023 Uber Technologies, Inc.
# Licensed under the Apache License, Version 2.0
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},
macos_sdk_versions = {macos_sdk_versions},
2021-06-10 09:42:26 +03:00
)
exports_files([
"glibc-hacks/fcntl.map",
"glibc-hacks/fcntl.h",
"glibc-hacks/res_search.map",
"glibc-hacks/res_search.h",
])
2022-09-21 13:14:29 +03:00
declare_cc_toolchains(
os = {os},
zig_sdk_path = {zig_sdk_path},
macos_sdk_versions = {macos_sdk_versions},
2022-09-21 13:14:29 +03:00
)