public static SymlinkTree buildNativeLibsSymlinkTreeRule( BuildRuleParams buildRuleParams, SourcePathResolver pathResolver, CxxPlatform cxxPlatform) throws NoSuchBuildTargetException { return CxxDescriptionEnhancer.createSharedLibrarySymlinkTree( buildRuleParams, pathResolver, cxxPlatform, buildRuleParams.getDeps(), Predicates.or( Predicates.instanceOf(NativeLinkable.class), Predicates.instanceOf(JavaLibrary.class))); }