diff options
author | 2015-05-04 12:05:57 +0000 | |
---|---|---|
committer | 2015-05-04 17:51:54 +0000 | |
commit | b313a9750d77ea4ccd3cb591131e2311486cb11a (patch) | |
tree | 990b298339cae32fe0fce5649c3669de3cb1966b /src/main/java/com/google/devtools/build/lib/analysis | |
parent | 208df987a0d5a27370691f93b34a5f70f6982cbe (diff) |
Open source a few more analysis tests.
--
MOS_MIGRATED_REVID=92715161
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/analysis')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/analysis/ConfiguredAttributeMapper.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/ConfiguredAttributeMapper.java b/src/main/java/com/google/devtools/build/lib/analysis/ConfiguredAttributeMapper.java index a773cd0dde..59a01f3406 100644 --- a/src/main/java/com/google/devtools/build/lib/analysis/ConfiguredAttributeMapper.java +++ b/src/main/java/com/google/devtools/build/lib/analysis/ConfiguredAttributeMapper.java @@ -13,6 +13,7 @@ // limitations under the License. package com.google.devtools.build.lib.analysis; +import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; import com.google.common.base.Verify; import com.google.common.collect.ImmutableMap; @@ -76,7 +77,9 @@ public class ConfiguredAttributeMapper extends AbstractAttributeMapper { * <p>If you don't know how to do this, you really want to use one of the "do-it-all" * constructors. */ - static ConfiguredAttributeMapper of(Rule rule, Set<ConfigMatchingProvider> configConditions) { + @VisibleForTesting + public static ConfiguredAttributeMapper of( + Rule rule, Set<ConfigMatchingProvider> configConditions) { return new ConfiguredAttributeMapper(rule, configConditions); } |