aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2016-03-02 16:08:07 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-03-02 17:55:40 +0000
commitbe5b2ebcf70b5e89cb87060cee045a9773b496f4 (patch)
tree63b66c2a46101cc07744d4a2cbf8e8a9e10010b4 /tools
parenta49f02536ef62ddf6ef5a17b0f7c1a35aaf81098 (diff)
Use bind to redirect C++ crosstool configuration
This is a temporary workaround to enable the use of a cc_configure() rules to auto-configure C++ toolchain. -- MOS_MIGRATED_REVID=116140726
Diffstat (limited to 'tools')
-rw-r--r--tools/cpp/BUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/cpp/BUILD b/tools/cpp/BUILD
index fd0a445aed..6e243e8cdc 100644
--- a/tools/cpp/BUILD
+++ b/tools/cpp/BUILD
@@ -25,6 +25,12 @@ filegroup(
# protobuf.
filegroup(
name = "toolchain",
+ srcs = ["//external:cc_toolchain"],
+)
+
+# Hardcoded toolchain, legacy behaviour.
+filegroup(
+ name = "default-toolchain",
srcs = [
":cc-compiler-armeabi-v7a",
":cc-compiler-darwin",