From 9544a3eeacfba706ab6be839af9b4a9a26f0a4bd Mon Sep 17 00:00:00 2001 From: Googler Date: Wed, 10 Mar 2021 09:57:49 -0800 Subject: [PATCH] Automatic code cleanup. PiperOrigin-RevId: 362075479 Change-Id: Ib556b478b2e28fa6c35fe493b533035de4916bd0 --- cc/private/rules_impl/compiler_flag.bzl | 1 + examples/experimental_cc_shared_library.bzl | 1 + 2 files changed, 2 insertions(+) diff --git a/cc/private/rules_impl/compiler_flag.bzl b/cc/private/rules_impl/compiler_flag.bzl index 1487ccd..ef08599 100644 --- a/cc/private/rules_impl/compiler_flag.bzl +++ b/cc/private/rules_impl/compiler_flag.bzl @@ -28,4 +28,5 @@ compiler_flag = rule( toolchains = [ "@bazel_tools//tools/cpp:toolchain_type", # copybara-use-repo-external-label ], + incompatible_use_toolchain_transition = True, ) diff --git a/examples/experimental_cc_shared_library.bzl b/examples/experimental_cc_shared_library.bzl index 6793e96..4ebc6db 100644 --- a/examples/experimental_cc_shared_library.bzl +++ b/examples/experimental_cc_shared_library.bzl @@ -462,6 +462,7 @@ cc_shared_library = rule( }, toolchains = ["@bazel_tools//tools/cpp:toolchain_type"], # copybara-use-repo-external-label fragments = ["cpp"], + incompatible_use_toolchain_transition = True, ) for_testing_dont_use_check_if_target_under_path = _check_if_target_under_path