aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/analysis
diff options
context:
space:
mode:
authorGravatar Kristina Chodorow <kchodorow@google.com>2016-05-25 15:49:09 +0000
committerGravatar Yue Gan <yueg@google.com>2016-05-27 08:44:25 +0000
commitbd69849378112c3b05bc218e57cdafca82860710 (patch)
tree6516b671a7df58014ecc741cbc5ed504829bfbac /src/main/java/com/google/devtools/build/lib/analysis
parent879af5b98899933ada3dce67c81d93ba5b6e5f89 (diff)
By default, don't create the .runfiles/workspace/external/repo dirs
RELNOTES[INC]: External runfiles will now be accessible only via their .runfiles/repo/path/to/target path, not .runfiles/workspace-name/external/repo/path/to/target. If code still needs to use the legacy path, it can set --legacy_external_runfiles temporarily, but should transition to using the default location as it is more portable (see https://groups.google.com/d/msg/bazel-discuss/_Xo14sf7fHw/g7wdatTGBgAJ for details). The --legacy_external_runfiles option will be removed for the next release. -- MOS_MIGRATED_REVID=123217489
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/analysis')
-rw-r--r--src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java b/src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java
index 3f8c6be31f..c238ca7e40 100644
--- a/src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java
+++ b/src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfiguration.java
@@ -709,7 +709,7 @@ public final class BuildConfiguration {
public boolean buildRunfiles;
@Option(name = "legacy_external_runfiles",
- defaultValue = "true",
+ defaultValue = "false",
category = "strategy",
help = "If true, build runfiles symlink forests for external repositories under "
+ ".runfiles/wsname/external/repo (in addition to .runfiles/repo).")