diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java index 505724a11c19df..b7a6dd38fe589b 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java @@ -606,17 +606,6 @@ public Label getMemProfProfileLabel() { + "except bar.o.") public List perFileLtoBackendOpts; - /** - * The value of "--crosstool_top" to use for building tools. - * - *

We want to make sure this stays bound to the top-level configuration when not explicitly set - * (as opposed to a configuration that comes out of a transition). Otherwise we risk using the - * wrong crosstool (i.e., trying to build tools with an Android-specific crosstool). - * - *

To accomplish this, we initialize this to null and, if it isn't explicitly set, use {@link - * #getNormalized} to rewrite it to {@link #crosstoolTop}. Blaze always evaluates top-level - * configurations first, so they'll trigger this. But no followup transitions can. - */ @Option( name = "host_crosstool_top", defaultValue = "null",