BootStrapPlatform.applyPlatformHacks();
// TODO(jat): add support for GUI logger back
if (false && options.isUseGuiLogger()) {
// Initialize a tree logger window.
SwingLoggerPanel loggerWindow = new SwingLoggerPanel(
options.getLogLevel(), null);
// Eager AWT initialization for OS X to ensure safe coexistence with SWT.
BootStrapPlatform.initGui();
final TreeLogger logger = loggerWindow.getLogger();
final boolean[] success = new boolean[1];
// Compiler will be spawned onto a second thread, UI thread for tree
// logger will remain on the main.
Thread compilerThread = new Thread(new Runnable() {