aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/cpp/BUILD4
-rw-r--r--tools/cpp/BUILD.static4
-rw-r--r--tools/cpp/BUILD.tpl4
3 files changed, 6 insertions, 6 deletions
diff --git a/tools/cpp/BUILD b/tools/cpp/BUILD
index eb75333e75..a693b76101 100644
--- a/tools/cpp/BUILD
+++ b/tools/cpp/BUILD
@@ -205,7 +205,7 @@ filegroup(
srcs = ["link_dynamic_library.sh"],
)
-toolchain_type(name = "toolchain_type")
+filegroup(name = "toolchain_category")
# A dummy toolchain is necessary to satisfy toolchain resolution until platforms
# are used in c++ by default.
@@ -213,7 +213,7 @@ toolchain_type(name = "toolchain_type")
toolchain(
name = "dummy_cc_toolchain",
toolchain = "dummy_cc_toolchain_impl",
- toolchain_type = ":toolchain_type",
+ toolchain_type = ":toolchain_category",
)
load(":dummy_toolchain.bzl", "dummy_toolchain")
diff --git a/tools/cpp/BUILD.static b/tools/cpp/BUILD.static
index aaadc5bad8..65bbac11a1 100644
--- a/tools/cpp/BUILD.static
+++ b/tools/cpp/BUILD.static
@@ -116,7 +116,7 @@ filegroup(
srcs = ["link_dynamic_library.sh"],
)
-toolchain_type(name = "toolchain_type")
+filegroup(name = "toolchain_category")
# A dummy toolchain is necessary to satisfy toolchain resolution until platforms
# are used in c++ by default.
@@ -124,7 +124,7 @@ toolchain_type(name = "toolchain_type")
toolchain(
name = "dummy_cc_toolchain",
toolchain = "dummy_cc_toolchain_impl",
- toolchain_type = ":toolchain_type",
+ toolchain_type = ":toolchain_category",
)
load(":dummy_toolchain.bzl", "dummy_toolchain")
diff --git a/tools/cpp/BUILD.tpl b/tools/cpp/BUILD.tpl
index 170fe3f91d..32b796d0d0 100644
--- a/tools/cpp/BUILD.tpl
+++ b/tools/cpp/BUILD.tpl
@@ -76,7 +76,7 @@ cc_toolchain(
supports_param_files = 1,
)
-toolchain_type(name = "toolchain_type")
+filegroup(name = "toolchain_category")
# A dummy toolchain is necessary to satisfy toolchain resolution until platforms
# are used in c++ by default.
@@ -84,7 +84,7 @@ toolchain_type(name = "toolchain_type")
toolchain(
name = "dummy_cc_toolchain",
toolchain = "dummy_cc_toolchain_impl",
- toolchain_type = ":toolchain_type",
+ toolchain_type = ":toolchain_category",
)
load(":dummy_toolchain.bzl", "dummy_toolchain")