use of com.google.idea.blaze.android.sync.importer.aggregators.TransitiveResourceMap.TransitiveResourceInfo in project intellij by bazelbuild.
the class TransitiveResourceMap method createForTarget.
@Override
protected TransitiveResourceInfo createForTarget(TargetIdeInfo target) {
TransitiveResourceInfo result = new TransitiveResourceInfo();
AndroidIdeInfo androidIdeInfo = target.androidIdeInfo;
if (androidIdeInfo == null) {
return result;
}
if (androidIdeInfo.legacyResources != null) {
return result;
}
result.transitiveResources.addAll(androidIdeInfo.resources);
result.transitiveResourceTargets.add(target.key);
return result;
}
Aggregations