From 426f72132372dfbd3a904d283662faba71bdf393 Mon Sep 17 00:00:00 2001 From: Googler Date: Tue, 2 Nov 2021 08:12:50 -0700 Subject: [PATCH] Automatic code cleanup. PiperOrigin-RevId: 407085810 Change-Id: I6cac435d8e0e89f97405c7b3923d1891da78740b --- cc/private/rules_impl/cc_flags_supplier.bzl | 1 - cc/private/rules_impl/compiler_flag.bzl | 1 - examples/my_c_archive/my_c_archive.bzl | 1 - examples/my_c_compile/my_c_compile.bzl | 1 - examples/write_cc_toolchain_cpu/write_cc_toolchain_cpu.bzl | 1 - 5 files changed, 5 deletions(-) diff --git a/cc/private/rules_impl/cc_flags_supplier.bzl b/cc/private/rules_impl/cc_flags_supplier.bzl index f15f1c2..08fd581 100644 --- a/cc/private/rules_impl/cc_flags_supplier.bzl +++ b/cc/private/rules_impl/cc_flags_supplier.bzl @@ -31,6 +31,5 @@ cc_flags_supplier = rule( "_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")), }, toolchains = ["@bazel_tools//tools/cpp:toolchain_type"], # copybara-use-repo-external-label - incompatible_use_toolchain_transition = True, fragments = ["cpp"], ) diff --git a/cc/private/rules_impl/compiler_flag.bzl b/cc/private/rules_impl/compiler_flag.bzl index ef08599..1487ccd 100644 --- a/cc/private/rules_impl/compiler_flag.bzl +++ b/cc/private/rules_impl/compiler_flag.bzl @@ -28,5 +28,4 @@ compiler_flag = rule( toolchains = [ "@bazel_tools//tools/cpp:toolchain_type", # copybara-use-repo-external-label ], - incompatible_use_toolchain_transition = True, ) diff --git a/examples/my_c_archive/my_c_archive.bzl b/examples/my_c_archive/my_c_archive.bzl index b4138af..43eaf80 100644 --- a/examples/my_c_archive/my_c_archive.bzl +++ b/examples/my_c_archive/my_c_archive.bzl @@ -96,5 +96,4 @@ my_c_archive = rule( }, fragments = ["cpp"], toolchains = ["@bazel_tools//tools/cpp:toolchain_type"], # copybara-use-repo-external-label - incompatible_use_toolchain_transition = True, ) diff --git a/examples/my_c_compile/my_c_compile.bzl b/examples/my_c_compile/my_c_compile.bzl index c77f355..d650468 100644 --- a/examples/my_c_compile/my_c_compile.bzl +++ b/examples/my_c_compile/my_c_compile.bzl @@ -77,6 +77,5 @@ my_c_compile = rule( "_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")), }, toolchains = ["@bazel_tools//tools/cpp:toolchain_type"], # copybara-use-repo-external-label - incompatible_use_toolchain_transition = True, fragments = ["cpp"], ) diff --git a/examples/write_cc_toolchain_cpu/write_cc_toolchain_cpu.bzl b/examples/write_cc_toolchain_cpu/write_cc_toolchain_cpu.bzl index b4e63a3..e854b09 100644 --- a/examples/write_cc_toolchain_cpu/write_cc_toolchain_cpu.bzl +++ b/examples/write_cc_toolchain_cpu/write_cc_toolchain_cpu.bzl @@ -29,5 +29,4 @@ write_cc_toolchain_cpu = rule( "_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")), }, toolchains = ["@bazel_tools//tools/cpp:toolchain_type"], # copybara-use-repo-external-label - incompatible_use_toolchain_transition = True, )