Make C++ autoconfigured toolchain the default for Linux and OS X.
This is done by adding a default workspace suffix.
--
MOS_MIGRATED_REVID=118656979
diff --git a/src/main/java/com/google/devtools/build/lib/packages/RuleClassProvider.java b/src/main/java/com/google/devtools/build/lib/packages/RuleClassProvider.java
index 2f0988f..7a3566a 100644
--- a/src/main/java/com/google/devtools/build/lib/packages/RuleClassProvider.java
+++ b/src/main/java/com/google/devtools/build/lib/packages/RuleClassProvider.java
@@ -69,13 +69,21 @@
Map<String, Class<? extends NativeAspectFactory>> getAspectFactoryMap();
/**
- * Returns the default content of the WORKSPACE file.
+ * Returns the default content that should be added at the beginning of the WORKSPACE file.
*
* <p>Used to provide external dependencies for built-in rules. Rules defined here can be
* overwritten in the WORKSPACE file in the actual workspace.
*/
- String getDefaultWorkspaceFile();
-
+ String getDefaultWorkspacePrefix();
+
+
+ /**
+ * Returns the default content that should be added at the end of the WORKSPACE file.
+ *
+ * <p>Used to load skylark repository in the bazel_tools repository.
+ */
+ String getDefaultWorkspaceSuffix();
+
/**
* Returns the path to the tools repository
*/