-
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.
Revert "Reapply "[ Service ] Start DDS and serve DevTools when the VM…
… service is started via dart:developer"" This reverts commit 44d4451. Reason for revert: b/350443042 Original change's description: > Reapply "[ Service ] Start DDS and serve DevTools when the VM service is started via dart:developer" > > In the previous version of this change, if the user had 'dart' on their > PATH and invoked 'dart compile js' (which spawns the VM service after > compilation completes), the VM service would attempt to spawn DDS using > './dart' as the executable path instead of 'dart'. This would result in > DDS failing to start, causing the VM to print an error and hang. > > This updated change checks to see if the parent directory of > `Platform.executable` is '.' and then verifies if './dart' exists or > not. If it doesn't, 'dart' is likely on the user's PATH and should be > used directly as the executable path. > > See #56087 for details. > > This reverts commit 4b88698. > > TEST=pkg/dds/test/control_web_server_starts_dds_with_dart_on_path_test.dart > > Change-Id: Id0f1dadd01d9202cbf7717f31393b43171cf3968 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/373561 > Auto-Submit: Ben Konyi <[email protected]> > Reviewed-by: Derek Xu <[email protected]> > Commit-Queue: Ben Konyi <[email protected]> Change-Id: I424c4b91b0b108ae4c9dffa0059ed90c918897e3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/373744 Reviewed-by: Siva Annamalai <[email protected]> Bot-Commit: Rubber Stamper <[email protected]> Reviewed-by: Srujan Gaddam <[email protected]> Commit-Queue: Siva Annamalai <[email protected]> Auto-Submit: Ivan Inozemtsev <[email protected]>
- Loading branch information
1 parent
9f27bde
commit 3370a4e
Showing
4 changed files
with
45 additions
and
155 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
56 changes: 0 additions & 56 deletions
56
pkg/dds/test/control_web_server_starts_dds_with_dart_on_path_test.dart
This file was deleted.
Oops, something went wrong.
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