Version 2.15.0-281.0.dev
Merge commit '12a89261e5b831096e734688edf4a9c1b6ee21b3' into 'dev'
diff --git a/pkg/frontend_server/lib/frontend_server.dart b/pkg/frontend_server/lib/frontend_server.dart
index 9545afb..3cd6887 100644
--- a/pkg/frontend_server/lib/frontend_server.dart
+++ b/pkg/frontend_server/lib/frontend_server.dart
@@ -111,6 +111,13 @@
'initialize from, but it can be overwritten here.',
defaultsTo: null,
hide: true)
+ ..addFlag('assume-initialize-from-dill-up-to-date',
+ help: 'Normally the dill used for initializing is checked against the '
+ "files it was compiled against. If we somehow know that it's "
+ 'up-to-date we can skip it safely. Under normal circumstances this '
+ "isn't safe though.",
+ defaultsTo: false,
+ hide: true)
..addMultiOption('define',
abbr: 'D',
help: 'The values for the environment constants (e.g. -Dkey=value).',
@@ -357,6 +364,7 @@
String _kernelBinaryFilenameIncremental;
String _kernelBinaryFilenameFull;
String _initializeFromDill;
+ bool _assumeInitializeFromDillUpToDate;
Set<Uri> previouslyReportedDependencies = Set<Uri>();
@@ -412,6 +420,8 @@
_kernelBinaryFilename = _kernelBinaryFilenameFull;
_initializeFromDill =
_options['initialize-from-dill'] ?? _kernelBinaryFilenameFull;
+ _assumeInitializeFromDillUpToDate =
+ _options['assume-initialize-from-dill-up-to-date'] ?? false;
_printIncrementalDependencies = _options['print-incremental-dependencies'];
final String boundaryKey = Uuid().generateV4();
_outputStream.writeln('result $boundaryKey');
@@ -706,6 +716,7 @@
}
Future<Null> invalidateIfInitializingFromDill() async {
+ if (_assumeInitializeFromDillUpToDate) return null;
if (_kernelBinaryFilename != _kernelBinaryFilenameFull) return null;
// If the generator is initialized, it's not going to initialize from dill
// again anyway, so there's no reason to spend time invalidating what should
diff --git a/tools/VERSION b/tools/VERSION
index a07350a..cb81c08 100644
--- a/tools/VERSION
+++ b/tools/VERSION
@@ -27,5 +27,5 @@
MAJOR 2
MINOR 15
PATCH 0
-PRERELEASE 280
+PRERELEASE 281
PRERELEASE_PATCH 0
\ No newline at end of file
diff --git a/tools/bots/pub_integration_test.py b/tools/bots/pub_integration_test.py
index 371ed1a..f80c554 100755
--- a/tools/bots/pub_integration_test.py
+++ b/tools/bots/pub_integration_test.py
@@ -31,7 +31,7 @@
(options, args) = parser.parse_args()
- arch = 'XARM64' if options.arch == 'arm64' else 'X64'
+ arch = 'ARM64' if options.arch == 'arm64' else 'X64'
mode = ('Debug' if options.mode == 'debug' else 'Release')
out_dir = 'xcodebuild' if sys.platform == 'darwin' else 'out'