dart-sdk/utils
Bob Nystrom 0b2c9b048d Dynamically load packages for dartdevc tests in test.dart.
This involves a few pieces:

- Add support to DDC for specifying the module name associated with a
  given summary. This lets test.dart invoke DDC using summaries in the
  build directory outside of the directory containing the test itself.

- Add support to the build scripts for building the packages. This adds
  a new GN target that builds everything needed to run test.dart with
  dartdevc. In particular, it invokes build_pkgs.dart to compile the
  relevant packages to JS+summary so that the tests can use them.

  This requires some changes to build_pkgs.dart so it can output to a
  given directory.

- In test.dart, when tests are compiled with dartdevc, pass in the
  summaries for the packages so they don't get compiled in. Then, when
  the test is run, configure require.js with the right paths to their
  JS files so they can be loaded.

  I also removed a bunch of unneeded buildDir parameters being passed
  around the various CompilerConfiguration class methods now that they
  have direct access to the configuration.

Fix #29923.

R=vsm@google.com, whesse@google.com, zra@google.com

Review-Url: https://codereview.chromium.org/2955513002 .
2017-06-29 13:45:57 -07:00
..
analysis_server
compiler Revert "Make Zone API strong mode clean." 2017-06-28 13:31:32 +02:00
dartanalyzer
dartdevc Dynamically load packages for dartdevc tests in test.dart. 2017-06-29 13:45:57 -07:00
dartdoc
dartfmt
kernel-service Introduce dart_host_toolchain argument for generate_patch_sdk.gni. This allows for Flutter build to make sure that host_toolchain used for patched_sdk generation word size matches target platform. 2017-06-22 12:41:31 -07:00
peg Spelling fixes e to i. 2017-06-24 13:41:39 +02:00
pub
tests Remove MIPS support 2017-06-22 08:49:22 -07:00
application_snapshot.gni
create_timestamp.gni
generate_patch_sdk.gni Fix previous CL where dart_bootstrap was accidently changed to dart_bootstrap_host_arch. 2017-06-22 13:17:53 -07:00