*/
protected LibraryMap initialLibraryMap(boolean useDart2jsPaths) {
File librariesFile = new File(new File(getLibraryDirectory(), INTERNAL_DIR), LIBRARIES_FILE);
try {
String contents = FileUtilities.getContents(librariesFile);
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();