make DexArchiveAspect propagate through alias targets
RELNOTES: n/a
MOS_MIGRATED_REVID=146968274
@@ -28,7 +28,6 @@ import com.google.devtools.build.lib.analysis.VisibilityProvider;
import com.google.devtools.build.lib.analysis.VisibilityProviderImpl;
import com.google.devtools.build.lib.packages.RuleClass;
import com.google.devtools.build.lib.packages.RuleClass.Builder;
-import com.google.devtools.build.lib.packages.RuleClass.ConfiguredTargetFactory.RuleErrorException;
import com.google.devtools.build.lib.util.FileTypeSet;
/**
@@ -64,6 +63,7 @@ public class Alias implements RuleConfiguredTargetFactory {
.allowedFileTypes(FileTypeSet.ANY_FILE)
.allowedRuleClasses(ANY_RULE)
.mandatory())
+ .canHaveAnyProvider()
.build();
}
