Roll engine to 0c119932c0d6cb30dafd75ec717d1eda76fd7651 (#18575)
This commit is contained in:
committed by
Florian Loitsch
parent
9e7e6e7c9b
commit
08d1ec36de
@@ -52,7 +52,6 @@ class GenSnapshot {
|
||||
'--await_is_keyword',
|
||||
'--causal_async_stacks',
|
||||
'--packages=$packagesPath',
|
||||
'--dependencies=$depfilePath',
|
||||
]..addAll(additionalArgs);
|
||||
|
||||
final String snapshotterPath = getSnapshotterPath(snapshotType);
|
||||
@@ -195,7 +194,6 @@ class AOTSnapshotter {
|
||||
'--url_mapping=dart:vmservice_io,$vmServicePath',
|
||||
'--embedder_entry_points_manifest=$vmEntryPoints',
|
||||
'--embedder_entry_points_manifest=$ioEntryPoints',
|
||||
'--dependencies=$depfilePath',
|
||||
];
|
||||
if (previewDart2) {
|
||||
genSnapshotArgs.addAll(<String>[
|
||||
|
||||
@@ -296,7 +296,7 @@ class _DevFSHttpWriter {
|
||||
]) async {
|
||||
try {
|
||||
final HttpClientRequest request = await _client.putUrl(httpAddress);
|
||||
request.headers.removeAll(HttpHeaders.ACCEPT_ENCODING);
|
||||
request.headers.removeAll(HttpHeaders.acceptEncodingHeader);
|
||||
request.headers.add('dev_fs_name', fsName);
|
||||
request.headers.add('dev_fs_uri_b64',
|
||||
base64.encode(utf8.encode(deviceUri.toString())));
|
||||
|
||||
@@ -1396,8 +1396,6 @@ class ServiceMap extends ServiceObject implements Map<String, dynamic> {
|
||||
@override
|
||||
void updateAll(dynamic update(String key, dynamic value)) => _map.updateAll(update);
|
||||
@override
|
||||
Map<RK, RV> retype<RK, RV>() => _map.retype<RK, RV>(); // ignore: deprecated_member_use
|
||||
@override
|
||||
dynamic update(String key, dynamic update(dynamic value), {dynamic ifAbsent()}) => _map.update(key, update, ifAbsent: ifAbsent);
|
||||
}
|
||||
|
||||
|
||||
@@ -13,13 +13,13 @@ dependencies:
|
||||
args: 1.4.3
|
||||
cli_util: 0.1.3
|
||||
coverage: 0.11.0
|
||||
crypto: 2.0.3
|
||||
crypto: 2.0.5
|
||||
file: 5.0.1
|
||||
http: 0.11.3+16
|
||||
intl: 0.15.6
|
||||
json_rpc_2: 2.0.8
|
||||
json_schema: 1.0.8
|
||||
linter: 0.1.52
|
||||
linter: 0.1.53
|
||||
meta: 1.1.5
|
||||
mustache: 1.0.1
|
||||
package_config: 1.0.3
|
||||
@@ -38,7 +38,7 @@ dependencies:
|
||||
# We depend on very specific internal implementation details of the
|
||||
# 'test' package, which change between versions, so when upgrading
|
||||
# this, make sure the tests are still running correctly.
|
||||
test: 0.12.41
|
||||
test: 0.12.42
|
||||
|
||||
async: 2.0.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
boolean_selector: 1.0.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
@@ -54,12 +54,12 @@ dependencies:
|
||||
js: 0.6.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
kernel: 0.3.0-alpha.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
logging: 0.11.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
matcher: 0.12.2+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
matcher: 0.12.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
mime: 0.9.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
multi_server_socket: 1.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
node_preamble: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
package_resolver: 1.0.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
path: 1.6.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
path: 1.6.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
petitparser: 1.7.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
pool: 1.3.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
pub_semver: 1.4.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
||||
@@ -85,4 +85,4 @@ dartdoc:
|
||||
# Exclude this package from the hosted API docs.
|
||||
nodoc: true
|
||||
|
||||
# PUBSPEC CHECKSUM: d01d
|
||||
# PUBSPEC CHECKSUM: 9fc6
|
||||
|
||||
@@ -406,7 +406,6 @@ void main() {
|
||||
'--url_mapping=dart:vmservice_io,${fs.path.join(skyEnginePath, 'sdk_ext', 'vmservice_io.dart')}',
|
||||
'--embedder_entry_points_manifest=$kVmEntrypoints',
|
||||
'--embedder_entry_points_manifest=$kIoEntries',
|
||||
'--dependencies=${fs.path.join(outputPath, 'snapshot.d')}',
|
||||
'--reify-generic-functions',
|
||||
'--strong',
|
||||
'--snapshot_kind=app-aot-assembly',
|
||||
@@ -453,7 +452,6 @@ void main() {
|
||||
'--url_mapping=dart:vmservice_io,${fs.path.join(skyEnginePath, 'sdk_ext', 'vmservice_io.dart')}',
|
||||
'--embedder_entry_points_manifest=$kVmEntrypoints',
|
||||
'--embedder_entry_points_manifest=$kIoEntries',
|
||||
'--dependencies=${fs.path.join(outputPath, 'snapshot.d')}',
|
||||
'--reify-generic-functions',
|
||||
'--strong',
|
||||
'--snapshot_kind=app-aot-assembly',
|
||||
@@ -500,7 +498,6 @@ void main() {
|
||||
'--url_mapping=dart:vmservice_io,${fs.path.join(skyEnginePath, 'sdk_ext', 'vmservice_io.dart')}',
|
||||
'--embedder_entry_points_manifest=$kVmEntrypoints',
|
||||
'--embedder_entry_points_manifest=$kIoEntries',
|
||||
'--dependencies=${fs.path.join(outputPath, 'snapshot.d')}',
|
||||
'--reify-generic-functions',
|
||||
'--strong',
|
||||
'--snapshot_kind=app-aot-blobs',
|
||||
@@ -552,7 +549,6 @@ void main() {
|
||||
'--url_mapping=dart:vmservice_io,${fs.path.join(skyEnginePath, 'sdk_ext', 'vmservice_io.dart')}',
|
||||
'--embedder_entry_points_manifest=$kVmEntrypoints',
|
||||
'--embedder_entry_points_manifest=$kIoEntries',
|
||||
'--dependencies=${fs.path.join(outputPath, 'snapshot.d')}',
|
||||
'--reify-generic-functions',
|
||||
'--strong',
|
||||
'--snapshot_kind=app-aot-blobs',
|
||||
@@ -600,7 +596,6 @@ void main() {
|
||||
'--url_mapping=dart:vmservice_io,${fs.path.join(skyEnginePath, 'sdk_ext', 'vmservice_io.dart')}',
|
||||
'--embedder_entry_points_manifest=$kVmEntrypoints',
|
||||
'--embedder_entry_points_manifest=$kIoEntries',
|
||||
'--dependencies=${fs.path.join(outputPath, 'snapshot.d')}',
|
||||
'--reify-generic-functions',
|
||||
'--strong',
|
||||
'--snapshot_kind=app-aot-assembly',
|
||||
@@ -647,7 +642,6 @@ void main() {
|
||||
'--url_mapping=dart:vmservice_io,${fs.path.join(skyEnginePath, 'sdk_ext', 'vmservice_io.dart')}',
|
||||
'--embedder_entry_points_manifest=$kVmEntrypoints',
|
||||
'--embedder_entry_points_manifest=$kIoEntries',
|
||||
'--dependencies=${fs.path.join(outputPath, 'snapshot.d')}',
|
||||
'--reify-generic-functions',
|
||||
'--strong',
|
||||
'--snapshot_kind=app-aot-assembly',
|
||||
@@ -713,7 +707,6 @@ void main() {
|
||||
'--url_mapping=dart:vmservice_io,${fs.path.join(skyEnginePath, 'sdk_ext', 'vmservice_io.dart')}',
|
||||
'--embedder_entry_points_manifest=$kVmEntrypoints',
|
||||
'--embedder_entry_points_manifest=$kIoEntries',
|
||||
'--dependencies=${fs.path.join(outputPath, 'snapshot.d')}',
|
||||
'--reify-generic-functions',
|
||||
'--strong',
|
||||
'--snapshot_kind=app-aot-blobs',
|
||||
@@ -765,7 +758,6 @@ void main() {
|
||||
'--url_mapping=dart:vmservice_io,${fs.path.join(skyEnginePath, 'sdk_ext', 'vmservice_io.dart')}',
|
||||
'--embedder_entry_points_manifest=$kVmEntrypoints',
|
||||
'--embedder_entry_points_manifest=$kIoEntries',
|
||||
'--dependencies=${fs.path.join(outputPath, 'snapshot.d')}',
|
||||
'--reify-generic-functions',
|
||||
'--strong',
|
||||
'--snapshot_kind=app-aot-blobs',
|
||||
|
||||
@@ -142,7 +142,7 @@ void main() {
|
||||
foo.writeAsStringSync('''
|
||||
import 'bar.dart';
|
||||
|
||||
foo() => bar();
|
||||
void foo() => bar();
|
||||
''');
|
||||
|
||||
final File bar = fs.file(fs.path.join(tempDir.path, 'bar.dart'));
|
||||
|
||||
@@ -69,8 +69,8 @@ void main() {
|
||||
expect(result.started, isTrue);
|
||||
expect(result.observatoryUri, isNotNull);
|
||||
|
||||
final String line = await device.getLogReader().logLines.first;
|
||||
expect(line, 'Hello!');
|
||||
final String line = await device.getLogReader().logLines.firstWhere((String line) => !line.contains('TeXGyreSchola'));
|
||||
expect(line, equals('Hello!'));
|
||||
|
||||
expect(await device.stopApp(null), isTrue);
|
||||
});
|
||||
|
||||
@@ -224,7 +224,7 @@ void main() {
|
||||
);
|
||||
fail('ToolExit expected');
|
||||
} catch(e) {
|
||||
expect(e, const isInstanceOf<ToolExit>());
|
||||
expect(e, const TypeMatcher<ToolExit>());
|
||||
verifyNever(mockProcessManager.run(
|
||||
typedArgThat(containsAllInOrder(<String>['pod', 'install'])),
|
||||
workingDirectory: anyNamed('workingDirectory'),
|
||||
@@ -271,7 +271,7 @@ Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by
|
||||
);
|
||||
fail('ToolExit expected');
|
||||
} catch (e) {
|
||||
expect(e, const isInstanceOf<ToolExit>());
|
||||
expect(e, const TypeMatcher<ToolExit>());
|
||||
expect(
|
||||
testLogger.errorText,
|
||||
contains("CocoaPods's specs repository is too out-of-date to satisfy dependencies"),
|
||||
|
||||
@@ -76,7 +76,7 @@ Matcher throwsToolExit({int exitCode, String message}) {
|
||||
}
|
||||
|
||||
/// Matcher for [ToolExit]s.
|
||||
const Matcher isToolExit = const isInstanceOf<ToolExit>();
|
||||
const Matcher isToolExit = const TypeMatcher<ToolExit>();
|
||||
|
||||
/// Matcher for functions that throw [ProcessExit].
|
||||
Matcher throwsProcessExit([dynamic exitCode]) {
|
||||
@@ -86,7 +86,7 @@ Matcher throwsProcessExit([dynamic exitCode]) {
|
||||
}
|
||||
|
||||
/// Matcher for [ProcessExit]s.
|
||||
const Matcher isProcessExit = const isInstanceOf<ProcessExit>();
|
||||
const Matcher isProcessExit = const TypeMatcher<ProcessExit>();
|
||||
|
||||
/// Creates a flutter project in the [temp] directory using the
|
||||
/// [arguments] list if specified, or `--no-pub` if not.
|
||||
|
||||
@@ -59,7 +59,7 @@ void main() {
|
||||
expect(devices, hasLength(1));
|
||||
|
||||
final Device device = devices.single;
|
||||
expect(device, const isInstanceOf<FlutterTesterDevice>());
|
||||
expect(device, const TypeMatcher<FlutterTesterDevice>());
|
||||
expect(device.id, 'flutter-tester');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user