Commit Graph

2 Commits

Author SHA1 Message Date
Paul Berry 9e5cba8838 Clean up imports in kernel.
dartk.dart was missing a necessary import, and util.dart had an unused one.

TBR=asgerf@google.com, kustermann@google.com

Review-Url: https://codereview.chromium.org/2674733003 .
2017-02-03 08:58:23 -08:00
Martin Kustermann 2e4849856a VM: [Kernel] Add --embedder-entry-points-manifest to dartk/transform and pass it to the treeshaker
The VM's gen_snapshot already accepts an --embedder-entry-points-manifest option.

This CL makes dartk/transform.dart accept the same option and pass the
roots on to the treeshaker.

In addition to what gen_snapshot accepts, we also accept
"*external-instantiation*" instead of a specific constructor/factory name)

BUG=https://github.com/dart-lang/sdk/issues/28559
R=asgerf@google.com, vegorov@google.com

Review-Url: https://codereview.chromium.org/2668893004 .
2017-02-03 12:14:32 +01:00