aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/analysis/BuildView.java
diff options
context:
space:
mode:
authorGravatar Ulf Adams <ulfjack@google.com>2016-09-05 09:40:13 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-09-06 15:38:32 +0000
commitab64e592fe5f5fb2e5dd2996b72c75416b2de721 (patch)
treeb75286653cfe812584ae30f133ef1364af2f452a /src/main/java/com/google/devtools/build/lib/analysis/BuildView.java
parentca4e573188e6466f31e2208f659734cf6428c811 (diff)
Make --experimental_interleave_loading_and_analysis a no-op.
This is now enabled by default, and this change removes the code path where it's disabled. Remove a few tests that were testing the removed code, and rewrite some others that still seem useful. We still drop configured targets on configuration changes, so we use that to check that things are dropped from Skyframe. -- MOS_MIGRATED_REVID=132226208
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/analysis/BuildView.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/analysis/BuildView.java16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/BuildView.java b/src/main/java/com/google/devtools/build/lib/analysis/BuildView.java
index 0fbaebb7d2..e070680d1a 100644
--- a/src/main/java/com/google/devtools/build/lib/analysis/BuildView.java
+++ b/src/main/java/com/google/devtools/build/lib/analysis/BuildView.java
@@ -184,13 +184,6 @@ public class BuildView {
help = "Only schedules extra_actions for top level targets.")
public boolean extraActionTopLevelOnly;
- @Option(name = "experimental_interleave_loading_and_analysis",
- defaultValue = "true",
- category = "experimental",
- help = "Interleave loading and analysis phases, so that one target may be analyzed at"
- + " the same time as an unrelated target is loaded.")
- public boolean interleaveLoadingAndAnalysis;
-
@Option(name = "version_window_for_dirty_node_gc",
defaultValue = "0",
category = "undocumented",
@@ -198,6 +191,15 @@ public class BuildView {
+ " from the graph upon the next update. Values must be non-negative long integers,"
+ " or -1 indicating the maximum possible window.")
public long versionWindowForDirtyNodeGc;
+
+ @Deprecated
+ @Option(
+ name = "experimental_interleave_loading_and_analysis",
+ defaultValue = "true",
+ category = "experimental",
+ help = "No-op."
+ )
+ public boolean interleaveLoadingAndAnalysis;
}
private static Logger LOG = Logger.getLogger(BuildView.class.getName());