Internal change

PiperOrigin-RevId: 456338456
pull/13171/head
Protobuf Team Bot 2 years ago committed by Copybara-Service
parent e4635f223e
commit d2177912c7
  1. 6
      bazel/upb_proto_library.bzl

@ -29,7 +29,7 @@
"""
load("@bazel_skylib//lib:paths.bzl", "paths")
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")
# Generic support code #########################################################
@ -315,7 +315,7 @@ _upb_proto_library_aspect = aspect(
],
attr_aspects = ["deps"],
fragments = ["cpp"],
toolchains = ["@bazel_tools//tools/cpp:toolchain_type"],
toolchains = use_cpp_toolchain(),
incompatible_use_toolchain_transition = True,
)
@ -368,7 +368,7 @@ _upb_proto_reflection_library_aspect = aspect(
],
attr_aspects = ["deps"],
fragments = ["cpp"],
toolchains = ["@bazel_tools//tools/cpp:toolchain_type"],
toolchains = use_cpp_toolchain(),
incompatible_use_toolchain_transition = True,
)

Loading…
Cancel
Save