-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dart2js] recommend using 'dart compile js'.
This is the first deprecation step, moving towards having dart2js under the more general dart command line interface. Going forward 'dart compile js' is the recommended way to invoke dart2js. This CL adds: * an internal flag used to detect how was dart2js invoked and provide a warning when invoked in an unsupported way. * ensures the flag is provided in the dart cli, as well as our (developer's only) scripts. These scripts will likely move to a different location in the future. Note that the `dart2js_sdk*` scripts are not providing this flag (these are the script that get eventually shipped with our built SDK), as such, invokations of the dart2js binary will show the new warning. Change-Id: I96e40ecf01598eadab20dfc59114f5fff7438084 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/229062 Reviewed-by: Joshua Litt <[email protected]> Commit-Queue: Sigmund Cherem <[email protected]>
- Loading branch information
Showing
5 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters