diff options
author | 2018-05-01 13:19:16 -0700 | |
---|---|---|
committer | 2018-05-01 13:20:58 -0700 | |
commit | 26ff4b3e3997aab79e39caf62c0d123a315d9478 (patch) | |
tree | 7915c3e4b413e41a6c30f5acdc080398c1fb1430 /src/test/java/com/google/devtools/build/lib/rules/config/FeatureFlagSetterRule.java | |
parent | a5dbb07fc00cf90faa0b37c6f65eddfe5d2e78fa (diff) |
Clean up code that directly imports nested classes like Builder, Entry, etc.
PiperOrigin-RevId: 194985157
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/rules/config/FeatureFlagSetterRule.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/rules/config/FeatureFlagSetterRule.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/rules/config/FeatureFlagSetterRule.java b/src/test/java/com/google/devtools/build/lib/rules/config/FeatureFlagSetterRule.java index 97ee6d78fa..060fa4e8f8 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/config/FeatureFlagSetterRule.java +++ b/src/test/java/com/google/devtools/build/lib/rules/config/FeatureFlagSetterRule.java @@ -35,13 +35,12 @@ import com.google.devtools.build.lib.analysis.config.ConfigMatchingProvider; import com.google.devtools.build.lib.analysis.configuredtargets.RuleConfiguredTarget.Mode; import com.google.devtools.build.lib.cmdline.Label; import com.google.devtools.build.lib.packages.RuleClass; -import com.google.devtools.build.lib.packages.RuleClass.Builder; /** Rule introducing a transition to set feature flags for itself and dependencies. */ public final class FeatureFlagSetterRule implements RuleDefinition, RuleConfiguredTargetFactory { @Override - public RuleClass build(Builder builder, RuleDefinitionEnvironment env) { + public RuleClass build(RuleClass.Builder builder, RuleDefinitionEnvironment env) { return builder .requiresConfigurationFragments(ConfigFeatureFlagConfiguration.class) .cfg(new ConfigFeatureFlagTransitionFactory("flag_values")) |