File tree Expand file tree Collapse file tree 5 files changed +20
-15
lines changed
frontend_server_common/lib/src Expand file tree Collapse file tree 5 files changed +20
-15
lines changed Original file line number Diff line number Diff line change 1
1
## 4.0.0-wip
2
2
3
+ - Update Dart SDK constraint to ` ^3.0.0 ` .
4
+ - Support changes in the SDK layout for Dart 3.0.
3
5
- By default, start the frontend server from the AOT snapshot shipped in the
4
6
Dart SDK.
5
7
- Throw an ` ArgumentError ` when ` FrontendServerClient.start ` is called with the
6
8
` frontendServerPath ` argument omitted and the ` debug ` argument set to true.
7
-
8
- ## 3.3.0
9
-
10
- - Update Dart SDK constraint to ` >=3.0.0 <4.0.0 ` .
11
- - Support changes in the SDK layout for Dart 3.0.
9
+ - Update ` package:vm_service ` constraint to ` ^14.0.0 ` .
12
10
13
11
## 3.2.0
14
12
Original file line number Diff line number Diff line change @@ -103,10 +103,10 @@ class FrontendServerClient {
103
103
feServer = await Process .start (
104
104
Platform .resolvedExecutable,
105
105
< String > [
106
- if (debug) '--observe' ,
107
- frontendServerPath,
108
- ...commonArguments,
109
- ],
106
+ if (debug) '--observe' ,
107
+ frontendServerPath,
108
+ ...commonArguments,
109
+ ],
110
110
);
111
111
} else if (File (_feServerAotSnapshotPath).existsSync ()) {
112
112
if (debug) {
@@ -123,10 +123,10 @@ class FrontendServerClient {
123
123
feServer = await Process .start (
124
124
Platform .resolvedExecutable,
125
125
< String > [
126
- if (debug) '--observe' ,
127
- _feServerAppJitSnapshotPath,
128
- ...commonArguments,
129
- ],
126
+ if (debug) '--observe' ,
127
+ _feServerAppJitSnapshotPath,
128
+ ...commonArguments,
129
+ ],
130
130
);
131
131
}
132
132
var feServerStdoutLines = StreamQueue (feServer.stdout
Original file line number Diff line number Diff line change @@ -20,4 +20,4 @@ dev_dependencies:
20
20
test : ^1.16.0
21
21
test_descriptor : ^2.0.0
22
22
test_process : ^2.0.0
23
- vm_service : ^8 .0.0
23
+ vm_service : ^14 .0.0
Original file line number Diff line number Diff line change @@ -398,7 +398,7 @@ class ResidentCompiler {
398
398
399
399
_logger.info (args.join (' ' ));
400
400
final workingDirectory = projectDirectory.toFilePath ();
401
- _server = await Process .start (sdkLayout.dartPath , args,
401
+ _server = await Process .start (sdkLayout.dartAotRuntimePath , args,
402
402
workingDirectory: workingDirectory);
403
403
404
404
var server = _server! ;
Original file line number Diff line number Diff line change @@ -90,6 +90,11 @@ class TestSdkLayout {
90
90
'bin' ,
91
91
Platform .isWindows ? 'dart.exe' : 'dart' ,
92
92
),
93
+ dartAotRuntimePath: p.join (
94
+ sdkLayout.sdkDirectory,
95
+ 'bin' ,
96
+ Platform .isWindows ? 'dartaotruntime.exe' : 'dartaotruntime' ,
97
+ ),
93
98
frontendServerSnapshotPath: p.join (
94
99
sdkLayout.sdkDirectory,
95
100
'bin' ,
@@ -137,6 +142,7 @@ class TestSdkLayout {
137
142
final String stackTraceMapperPath;
138
143
139
144
final String dartPath;
145
+ final String dartAotRuntimePath;
140
146
final String frontendServerSnapshotPath;
141
147
final String dartdevcSnapshotPath;
142
148
final String kernelWorkerSnapshotPath;
@@ -155,6 +161,7 @@ class TestSdkLayout {
155
161
required this .requireJsPath,
156
162
required this .stackTraceMapperPath,
157
163
required this .dartPath,
164
+ required this .dartAotRuntimePath,
158
165
required this .frontendServerSnapshotPath,
159
166
required this .dartdevcSnapshotPath,
160
167
required this .kernelWorkerSnapshotPath,
You can’t perform that action at this time.
0 commit comments