dart-sdk/utils/compiler
Sigmund Cherem de36d11817 Add support for building patched_sdk and platform.dill for dart2js:
- defines a .gn target for patched_dart2js_sdk
 - changes patch_sdk.dart to handle a dart2js target
 - adds support in fasta to understand the `native` clause still used by dart2js
 - add option to fasta to know whether it is generating kernel for the vm or dart2js

I'm not excited about how I added the target distinction in fasta, the reason I
did so is that it affects the behavior in several ways: in how we handle
`native`, in the libraries that are included by default in the platform.dill file,
and in the transformations that need to be done.  I'm happy to change the
approach.

BUG=
R=ahe@google.com, vegorov@google.com, zra@google.com

Committed: 714523b103
Review-Url: https://codereview.chromium.org/2832353002 .
2017-05-01 17:23:02 -07:00
..
.gitignore
BUILD.gn Add support for building patched_sdk and platform.dill for dart2js: 2017-05-01 17:23:02 -07:00
compiler.gyp
create_snapshot.dart Format all files under tools and utils directory. 2017-04-20 09:08:31 -07:00
create_snapshot_entry.dart Format all files under tools and utils directory. 2017-04-20 09:08:31 -07:00