diff options
author | Nathan Harmata <nharmata@google.com> | 2015-07-27 18:08:09 +0000 |
---|---|---|
committer | Laszlo Csomor <laszlocsomor@google.com> | 2015-07-28 07:52:20 +0000 |
commit | 029de3d9da0faa879f972837079720387c166244 (patch) | |
tree | 12693e95f766983e8aeecc657f309c4ddcdc56c3 /src/main/java/com/google/devtools/build/lib/skyframe/PrecomputedValue.java | |
parent | 6976e6c57657177cc9588144231e2958e9d9a97c (diff) |
Make some skyframe and lib/skyframe classes public.
--
MOS_MIGRATED_REVID=99197069
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 | 6 |
1 files changed, 3 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 8b0d0adbcb..e94cfdbc23 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 @@ -72,10 +72,10 @@ public class PrecomputedValue implements SkyValue { return new Injected(precomputed, Suppliers.ofInstance(value)); } - static final Precomputed<String> DEFAULTS_PACKAGE_CONTENTS = + public static final Precomputed<String> DEFAULTS_PACKAGE_CONTENTS = new Precomputed<>(new SkyKey(SkyFunctions.PRECOMPUTED, "default_pkg")); - static final Precomputed<RuleVisibility> DEFAULT_VISIBILITY = + public static final Precomputed<RuleVisibility> DEFAULT_VISIBILITY = new Precomputed<>(new SkyKey(SkyFunctions.PRECOMPUTED, "default_visibility")); static final Precomputed<UUID> BUILD_ID = @@ -173,7 +173,7 @@ public class PrecomputedValue implements SkyValue { /** * Injects a new variable value. */ - void set(Injectable injectable, T value) { + public void set(Injectable injectable, T value) { injectable.inject(ImmutableMap.of(key, new PrecomputedValue(value))); } } |