From 424a3d21e80e9275ffefcc6a93fed68c68de2d26 Mon Sep 17 00:00:00 2001 From: hlopko Date: Wed, 19 Sep 2018 09:18:17 -0700 Subject: [PATCH] Remove weird error message when CROSSTOOL is missing. RELNOTES: None. PiperOrigin-RevId: 213638996 --- .../build/lib/rules/cpp/CrosstoolConfigurationLoader.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CrosstoolConfigurationLoader.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CrosstoolConfigurationLoader.java index cddef223ca74f4..693b1a5ffddfe0 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CrosstoolConfigurationLoader.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CrosstoolConfigurationLoader.java @@ -233,8 +233,7 @@ private static CrosstoolFile findCrosstoolConfiguration( if (crosstoolProto == null) { throw new InvalidConfigurationException("The crosstool_top you specified was resolved to '" + - crosstoolTop + "', which does not contain a CROSSTOOL file. " + - "You can use a crosstool from the depot by specifying its label."); + crosstoolTop + "', which does not contain a CROSSTOOL file."); } else { // Do this before we read the data, so if it changes, we get a different MD5 the next time. // Alternatively, we could calculate the MD5 of the contents, which we also read, but this