aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Han-Wen Nienhuys <hanwen@google.com>2015-04-08 15:35:26 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-04-08 18:40:07 +0000
commit310c6319c0f6e9cdb99608a8614fe2dd11d420fd (patch)
treea8418a05be59693a887923ab8ea7c844b6abcdb5
parentc529ef44606bf530c45e4efa58e813dd0c9aef7d (diff)
Document crosstool_top a little better.
-- MOS_MIGRATED_REVID=90612869
-rw-r--r--tools/cpp/BUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/cpp/BUILD b/tools/cpp/BUILD
index 2721e328b8..f35d2bbaa8 100644
--- a/tools/cpp/BUILD
+++ b/tools/cpp/BUILD
@@ -18,6 +18,16 @@ filegroup(
srcs = [],
)
+# This is the entry point for --crosstool_top. Toolchains are found
+# by lopping off the name of --crosstool_top and searching for
+# "cc-compiler-${CPU}" in this BUILD file, where CPU is the target CPU
+# specified in --cpu.
+#
+# This file group should include
+# * all cc_toolchain targets supported
+# * all file groups that said cc_toolchain might refer to,
+# including the default_grte_top setting in the CROSSTOOL
+# protobuf.
filegroup(
name = "toolchain",
srcs = [