return new SdkLibrariesReader(useDart2jsPaths).readFromFile(librariesFile, contents);
} catch (Exception exception) {
AnalysisEngine.getInstance().getLogger().logError(
"Could not initialize the library map from " + librariesFile.getAbsolutePath(),
exception);
return new LibraryMap();
}
}