@@ -27,84 +27,45 @@ class TestSdkLayout {
27
27
factory TestSdkLayout .createDefaultFromSdkLayout (SdkLayout sdkLayout) =>
28
28
TestSdkLayout (
29
29
sdkDirectory: sdkLayout.sdkDirectory,
30
- soundSummaryPath : sdkLayout.soundSummaryPath ,
31
- soundFullDillPath : p.join (
30
+ summaryPath : sdkLayout.summaryPath ,
31
+ fullDillPath : p.join (
32
32
sdkLayout.sdkDirectory,
33
33
'lib' ,
34
34
'_internal' ,
35
35
'ddc_platform.dill' ,
36
36
),
37
- soundAmdJsPath : p.join (
37
+ amdJsPath : p.join (
38
38
sdkLayout.sdkDirectory,
39
39
'lib' ,
40
40
'dev_compiler' ,
41
41
'kernel' ,
42
42
'amd' ,
43
43
'dart_sdk.js' ,
44
44
),
45
- soundAmdJsMapPath : p.join (
45
+ amdJsMapPath : p.join (
46
46
sdkLayout.sdkDirectory,
47
47
'lib' ,
48
48
'dev_compiler' ,
49
49
'kernel' ,
50
50
'amd' ,
51
51
'dart_sdk.js.map' ,
52
52
),
53
- soundDdcJsPath : p.join (
53
+ ddcJsPath : p.join (
54
54
sdkLayout.sdkDirectory,
55
55
'lib' ,
56
56
'dev_compiler' ,
57
57
'kernel' ,
58
58
'ddc' ,
59
59
'dart_sdk.js' ,
60
60
),
61
- soundDdcJsMapPath : p.join (
61
+ ddcJsMapPath : p.join (
62
62
sdkLayout.sdkDirectory,
63
63
'lib' ,
64
64
'dev_compiler' ,
65
65
'kernel' ,
66
66
'ddc' ,
67
67
'dart_sdk.js.map' ,
68
68
),
69
- weakSummaryPath: sdkLayout.weakSummaryPath,
70
- weakFullDillPath: p.join (
71
- sdkLayout.sdkDirectory,
72
- 'lib' ,
73
- '_internal' ,
74
- 'ddc_platform_unsound.dill' ,
75
- ),
76
- weakAmdJsPath: p.join (
77
- sdkLayout.sdkDirectory,
78
- 'lib' ,
79
- 'dev_compiler' ,
80
- 'kernel' ,
81
- 'amd' ,
82
- 'dart_sdk_unsound.js' ,
83
- ),
84
- weakAmdJsMapPath: p.join (
85
- sdkLayout.sdkDirectory,
86
- 'lib' ,
87
- 'dev_compiler' ,
88
- 'kernel' ,
89
- 'amd' ,
90
- 'dart_sdk_unsound.js.map' ,
91
- ),
92
- weakDdcJsPath: p.join (
93
- sdkLayout.sdkDirectory,
94
- 'lib' ,
95
- 'dev_compiler' ,
96
- 'kernel' ,
97
- 'ddc' ,
98
- 'dart_sdk_unsound.js' ,
99
- ),
100
- weakDdcJsMapPath: p.join (
101
- sdkLayout.sdkDirectory,
102
- 'lib' ,
103
- 'dev_compiler' ,
104
- 'kernel' ,
105
- 'ddc' ,
106
- 'dart_sdk_unsound.js.map' ,
107
- ),
108
69
ddcModuleLoaderJsPath: p.join (
109
70
sdkLayout.sdkDirectory,
110
71
'lib' ,
@@ -159,33 +120,19 @@ class TestSdkLayout {
159
120
160
121
final String sdkDirectory;
161
122
162
- String get soundAmdJsFileName => p.basename (soundAmdJsPath);
163
- String get soundAmdJsMapFileName => p.basename (soundAmdJsMapPath);
164
- String get soundDdcJsFileName => p.basename (soundDdcJsPath);
165
- String get soundDdcJsMapFileName => p.basename (soundDdcJsMapPath);
166
- String get soundSummaryFileName => p.basename (soundSummaryPath);
167
- String get soundFullDillFileName => p.basename (soundFullDillPath);
168
-
169
- final String soundAmdJsPath;
170
- final String soundAmdJsMapPath;
171
- final String soundDdcJsPath;
172
- final String soundDdcJsMapPath;
173
- final String soundSummaryPath;
174
- final String soundFullDillPath;
175
-
176
- String get weakAmdJsFileName => p.basename (weakAmdJsPath);
177
- String get weakAmdJsMapFileName => p.basename (weakAmdJsMapPath);
178
- String get weakDdcJsFileName => p.basename (weakDdcJsPath);
179
- String get weakDdcJsMapFileName => p.basename (weakDdcJsMapPath);
180
- String get weakSummaryFileName => p.basename (weakSummaryPath);
181
- String get weakFullDillFileName => p.basename (weakFullDillPath);
182
-
183
- final String weakAmdJsPath;
184
- final String weakAmdJsMapPath;
185
- final String weakDdcJsPath;
186
- final String weakDdcJsMapPath;
187
- final String weakSummaryPath;
188
- final String weakFullDillPath;
123
+ String get amdJsFileName => p.basename (amdJsPath);
124
+ String get amdJsMapFileName => p.basename (amdJsMapPath);
125
+ String get ddcJsFileName => p.basename (ddcJsPath);
126
+ String get ddcJsMapFileName => p.basename (ddcJsMapPath);
127
+ String get summaryFileName => p.basename (summaryPath);
128
+ String get fullDillFileName => p.basename (fullDillPath);
129
+
130
+ final String amdJsPath;
131
+ final String amdJsMapPath;
132
+ final String ddcJsPath;
133
+ final String ddcJsMapPath;
134
+ final String summaryPath;
135
+ final String fullDillPath;
189
136
190
137
final String ddcModuleLoaderJsPath;
191
138
final String requireJsPath;
@@ -200,18 +147,12 @@ class TestSdkLayout {
200
147
201
148
const TestSdkLayout ({
202
149
required this .sdkDirectory,
203
- required this .soundAmdJsPath,
204
- required this .soundAmdJsMapPath,
205
- required this .soundDdcJsPath,
206
- required this .soundDdcJsMapPath,
207
- required this .soundSummaryPath,
208
- required this .soundFullDillPath,
209
- required this .weakAmdJsPath,
210
- required this .weakAmdJsMapPath,
211
- required this .weakDdcJsPath,
212
- required this .weakDdcJsMapPath,
213
- required this .weakSummaryPath,
214
- required this .weakFullDillPath,
150
+ required this .amdJsPath,
151
+ required this .amdJsMapPath,
152
+ required this .ddcJsPath,
153
+ required this .ddcJsMapPath,
154
+ required this .summaryPath,
155
+ required this .fullDillPath,
215
156
required this .ddcModuleLoaderJsPath,
216
157
required this .requireJsPath,
217
158
required this .stackTraceMapperPath,
@@ -227,8 +168,7 @@ class TestSdkLayout {
227
168
static SdkConfiguration createConfiguration (TestSdkLayout sdkLayout) =>
228
169
SdkConfiguration (
229
170
sdkDirectory: sdkLayout.sdkDirectory,
230
- weakSdkSummaryPath: sdkLayout.weakSummaryPath,
231
- soundSdkSummaryPath: sdkLayout.soundSummaryPath,
171
+ sdkSummaryPath: sdkLayout.summaryPath,
232
172
compilerWorkerPath: sdkLayout.dartdevcSnapshotPath,
233
173
);
234
174
}
0 commit comments