public static synchronized void addNativeLibraryDependencies(String name,String... dependencyNames){
  List<String> list=libraryDependencies.get(name);
  if (list == null) {
    libraryDependencies.put(name,list=new ArrayList<String>());
  }
  for (  String dependencyName : dependencyNames) {
    if (!list.contains(dependencyName)) {
      list.add(dependencyName);
    }
  }
}

public static synchronized void addNativeLibraryDependencies ( String name , String ... dependencyNames ) { List < String > list = libraryDependencies . get ( name ) ; if ( list == null ) { libraryDependencies . put ( name , list = new ArrayList < String > ( ) ) ; } for ( String dependencyName : dependencyNames ) { if ( ! list . contains ( dependencyName ) ) { list . add ( dependencyName ) ; } } }
add names of library dependencies for a library . < br > works only before the library is loaded . < br >
