diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2016-02-05 22:09:09 +0000 |
---|---|---|
committer | David Chen <dzc@google.com> | 2016-02-07 11:33:18 +0000 |
commit | bc8b5e09ff667c7d0bf7186a7a207629e6d7bad5 (patch) | |
tree | aa1b70b0471bcdcc6d26c27d0e579971bf0de414 /src/main/java/com/google/devtools/build/lib/skyframe/PackageValue.java | |
parent | 26152a6fc8db13f82553770b675e1a355a8e17ae (diff) |
Add an intermediate SkyFunction for resolving the external package
The WORKSPACE file parsing needs to be separated into several parts
to enable load of labels in the WORKSPACE file.
This change adds an intermediate SkyFunction, ExternalPackageFunction,
that requires all the WORKSPACE file part to be parsed to resolve
//external: labels.
Issue #824 Step 1.
--
MOS_MIGRATED_REVID=113984026
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skyframe/PackageValue.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/skyframe/PackageValue.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/PackageValue.java b/src/main/java/com/google/devtools/build/lib/skyframe/PackageValue.java index 4e04eec827..01e4af54b4 100644 --- a/src/main/java/com/google/devtools/build/lib/skyframe/PackageValue.java +++ b/src/main/java/com/google/devtools/build/lib/skyframe/PackageValue.java @@ -19,7 +19,6 @@ import com.google.devtools.build.lib.concurrent.ThreadSafety.ThreadSafe; import com.google.devtools.build.lib.packages.BuildFileContainsErrorsException; import com.google.devtools.build.lib.packages.Package; import com.google.devtools.build.lib.util.Preconditions; -import com.google.devtools.build.lib.vfs.RootedPath; import com.google.devtools.build.skyframe.NotComparableSkyValue; import com.google.devtools.build.skyframe.SkyKey; @@ -66,10 +65,4 @@ public class PackageValue implements NotComparableSkyValue { return keys; } - /** - * Returns a SkyKey to find the WORKSPACE file at the given path. - */ - public static SkyKey workspaceKey(RootedPath workspacePath) { - return new SkyKey(SkyFunctions.WORKSPACE_FILE, workspacePath); - } } |