aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/cpp
diff options
context:
space:
mode:
authorGravatar cpeyser <cpeyser@google.com>2017-09-15 16:59:28 +0200
committerGravatar László Csomor <laszlocsomor@google.com>2017-09-18 11:27:51 +0200
commit6aed3d3115b0d07e55c8be6b6ffaf2b534734312 (patch)
tree1367e205547a61f32165fb2d59a3dfd69562b896 /tools/cpp
parenta22fb12669743bdfb78dfbf71a63db898f026dce (diff)
Toolchain type labels for c++ are filegroups instead of toolchain_type.
PiperOrigin-RevId: 168835640
Diffstat (limited to 'tools/cpp')
-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")