Delete Ninja support.
The plan was to use it with building Android (the operating system), but that project took another direction and thus parsing Ninja graphs will not be necessary anymore.
If this will ever be needed again, we can resurrect it from source control.
The whole functionality is behind the --experimental_ninja_actions experimental flag, so it can be deleted without warning.
RELNOTES: None.
PiperOrigin-RevId: 447397970
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/AnalysisResult.java b/src/main/java/com/google/devtools/build/lib/analysis/AnalysisResult.java
index 2c5c153..5b3c0c0 100644
--- a/src/main/java/com/google/devtools/build/lib/analysis/AnalysisResult.java
+++ b/src/main/java/com/google/devtools/build/lib/analysis/AnalysisResult.java
@@ -16,7 +16,6 @@
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
-import com.google.common.collect.ImmutableSortedSet;
import com.google.common.collect.Sets;
import com.google.devtools.build.lib.actions.ActionGraph;
import com.google.devtools.build.lib.actions.Artifact;
@@ -43,7 +42,6 @@
private final PackageRoots packageRoots;
private final String workspaceName;
private final Collection<TargetAndConfiguration> topLevelTargetsWithConfigs;
- private final ImmutableSortedSet<String> nonSymlinkedDirectoriesUnderExecRoot;
AnalysisResult(
BuildConfigurationCollection configurations,
@@ -59,8 +57,7 @@
TopLevelArtifactContext topLevelContext,
PackageRoots packageRoots,
String workspaceName,
- Collection<TargetAndConfiguration> topLevelTargetsWithConfigs,
- ImmutableSortedSet<String> nonSymlinkedDirectoriesUnderExecRoot) {
+ Collection<TargetAndConfiguration> topLevelTargetsWithConfigs) {
this.configurations = configurations;
this.targetsToBuild = targetsToBuild;
this.aspects = aspects;
@@ -75,7 +72,6 @@
this.packageRoots = packageRoots;
this.workspaceName = workspaceName;
this.topLevelTargetsWithConfigs = topLevelTargetsWithConfigs;
- this.nonSymlinkedDirectoriesUnderExecRoot = nonSymlinkedDirectoriesUnderExecRoot;
}
public BuildConfigurationCollection getConfigurationCollection() {
@@ -159,10 +155,6 @@
return topLevelTargetsWithConfigs;
}
- public ImmutableSortedSet<String> getNonSymlinkedDirectoriesUnderExecRoot() {
- return nonSymlinkedDirectoriesUnderExecRoot;
- }
-
/**
* Returns an equivalent {@link AnalysisResult}, except with exclusive tests treated as parallel
* tests.
@@ -182,7 +174,6 @@
topLevelContext,
packageRoots,
workspaceName,
- topLevelTargetsWithConfigs,
- nonSymlinkedDirectoriesUnderExecRoot);
+ topLevelTargetsWithConfigs);
}
}