dart-lang/web-ui — pull request #250 by financeCoding (2012-12-09 06:19:12+00:00)
Title: Adding ability to call dart2js in Compiler 

This should add the option to generate javascript code for the generated dwc code.

```
./build.dart --dart2js --dart2js-path=path/to/dart-sdk/bin/dart2js
```

`--dart2js` flag enables generation of javascript code.

`--dart2js-path` is only optionally needed if `dart2js` does not exist in the environment PATH.

The `Dart2jsBuilder` object was added to `dwc.dart`. A `FutureGroup` tasks was created for both `Compiler` and `Dart2jsBuilder`.