private NativeBinaryResolveResult resolve(Collection<? extends DependentSourceSet> sourceSets) {
Set<? super Object> allLibs = new LinkedHashSet<Object>(libs);
for (DependentSourceSet dependentSourceSet : sourceSets) {
allLibs.addAll(dependentSourceSet.getLibs());
}
NativeBinaryResolveResult resolution = new NativeBinaryResolveResult(this, allLibs);
resolver.resolve(resolution);
return resolution;
}