diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2017-02-01 23:32:33 +0000 |
---|---|---|
committer | Yun Peng <pcloudy@google.com> | 2017-02-02 10:13:44 +0000 |
commit | ea459a07ef5e073cca2001d9c5a9b5bc56de415e (patch) | |
tree | 380fd000b46b8ff37f34ef2e478f47e645febf54 /src/main/java/com/google/devtools/build/lib/skyframe/PrecomputedValue.java | |
parent | 32ad1bd3d1afbae9500300b426f1b1a8acd2387c (diff) |
Inject the changes in the client environment for the ClientEnvironmentFunction
Using a precomputed values prevent us from being able to depends on any
environment variable (or we would invalidate the whole graph each time
the environment change, that is each time we run a command).
--
Change-Id: If322df4240271d04b9278e1222f936156531580c
Reviewed-on: https://cr.bazel.build/8400
PiperOrigin-RevId: 146298592
MOS_MIGRATED_REVID=146298592
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skyframe/PrecomputedValue.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/skyframe/PrecomputedValue.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/PrecomputedValue.java b/src/main/java/com/google/devtools/build/lib/skyframe/PrecomputedValue.java index 8901745c00..05b9277789 100644 --- a/src/main/java/com/google/devtools/build/lib/skyframe/PrecomputedValue.java +++ b/src/main/java/com/google/devtools/build/lib/skyframe/PrecomputedValue.java @@ -83,9 +83,6 @@ public final class PrecomputedValue implements SkyValue { static final Precomputed<UUID> BUILD_ID = new Precomputed<>(SkyKey.create(SkyFunctions.PRECOMPUTED, "build_id")); - static final Precomputed<Map<String, String>> CLIENT_ENV = - new Precomputed<>(SkyKey.create(SkyFunctions.PRECOMPUTED, "client_env")); - static final Precomputed<WorkspaceStatusAction> WORKSPACE_STATUS_KEY = new Precomputed<>(SkyKey.create(SkyFunctions.PRECOMPUTED, "workspace_status_action")); |