mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Update rules that require a cpp toolchain to use a helper function that defines the toolchain type.
PiperOrigin-RevId: 457645244 Change-Id: Ia99251f24e4baec9deb0ff57b86cb388c9cdfb68
This commit is contained in:
parent
e5bc3e69cd
commit
055839ab11
|
@ -20,7 +20,7 @@ load(
|
|||
"//sandboxed_api/bazel:proto.bzl",
|
||||
_sapi_proto_library = "sapi_proto_library",
|
||||
)
|
||||
load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain")
|
||||
load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain", "use_cpp_toolchain")
|
||||
|
||||
# Reexport symbols
|
||||
sapi_proto_library = _sapi_proto_library
|
||||
|
@ -199,7 +199,7 @@ sapi_interface = rule(
|
|||
),
|
||||
},
|
||||
output_to_genfiles = True,
|
||||
toolchains = ["@bazel_tools//tools/cpp:toolchain_type"],
|
||||
toolchains = use_cpp_toolchain(),
|
||||
)
|
||||
|
||||
def sapi_library(
|
||||
|
|
Loading…
Reference in New Issue
Block a user