Find a file
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
build Spelling fixes e to i. 2017-06-24 13:41:39 +02:00
client Remove old annotated_steps buildbot scripts and dispatcher 2017-05-23 16:17:02 +02:00
docs/language Improve wording of break/continue. 2017-06-28 07:37:14 +02:00
pkg Dynamically load packages for dartdevc tests in test.dart. 2017-06-29 13:45:57 -07:00
runtime Drop custom dart_host_sdk used for Flutter. 2017-06-29 13:18:43 -07:00
samples Revert "Revert "Revert "Revert "Refactor test option parsing code."""" 2017-05-26 15:04:55 -07:00
samples-dev Spelling fixes e to i. 2017-06-24 13:41:39 +02:00
sdk Implement _ChildNodeListLazy.removeRange as throwing UnsupportedError 2017-06-28 09:42:55 -07:00
tests fix #29733, handle variables that completely shadow parameters 2017-06-29 10:39:09 -07:00
third_party Remove MIPS support 2017-06-22 08:49:22 -07:00
tools Dynamically load packages for dartdevc tests in test.dart. 2017-06-29 13:45:57 -07:00
utils Dynamically load packages for dartdevc tests in test.dart. 2017-06-29 13:45:57 -07:00
.clang-format Add .clang-format and run clang-format on runtime/platform. 2016-11-03 14:25:16 -07:00
.gitattributes Restore line endings of files that should be CRLF. 2016-12-09 11:09:55 -08:00
.gitignore Git ignore vscode project files. 2017-03-23 15:26:06 -07:00
.gn Starting work on full GN build 2016-09-23 07:47:36 -07:00
.mailmap
.packages Upgrade dartdoc to v0.12.0. 2017-06-16 07:51:13 -07:00
.travis.yml Dynamically load packages for dartdevc tests in test.dart. 2017-06-29 13:45:57 -07:00
AUTHORS
BUILD.gn [Fuchsia] Fix test image. Update status files for vm and language suites 2017-06-29 07:45:19 -07:00
CHANGELOG.md Synchronize 1.24 entries with stable (#30013) 2017-06-26 16:04:51 +02:00
codereview.settings Remove trailing slash in codereview.settings to fix review url double slash 2015-10-01 07:27:13 -07:00
create_sdk.gyp Make list_files.py and list_dart_files.py return absolute paths for GN 2016-12-13 10:01:28 -08:00
dart.gyp Remove dart_noopt and related parts from the VM. 2017-01-11 16:55:55 -08:00
DEPS Bump the deps for package:http and package:usage. 2017-06-23 12:54:17 -07:00
LICENSE Remove the Dromaeo and TodoMVC samples. 2016-01-11 13:09:26 -08:00
PATENTS
PRESUBMIT.py Print the correct path to dartfmt in the presubmit error message. 2017-04-04 16:13:31 -07:00
README.dart-sdk remove docgen from the sdk 2015-09-18 13:18:10 -07:00
README.md [gardening] Whitespace change to trigger bots. 2017-04-28 10:08:58 -07:00
WATCHLISTS [infra] Fix Observatory watchlist. 2017-06-13 16:21:35 -07:00

Dart

Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.

Using Dart

Visit the dartlang.org to learn more about the language, tools, getting started, and more.

Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.

Building Dart

If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.

There are more documents on our wiki.

Contributing to Dart

The easiest way to contribute to Dart is to file issues.

You can also contribute patches, as described in Contributing.

License & patents

See LICENSE and PATENTS.