forked from firka/flutter
Roll Dart SDK from 35a9facce191 to e517487c5679 (Dart 3.0) (flutter/engine#38105)
* Remove uses of --no-sound-null-safety in preparation for the Dart 3.0 roll. * Update quiver package to latest. * Run Fuchsia engine in null safe mode. * Run Fuchsia engine in non null safe mode. * Update Dart version to 3.0 * Address review comments.
This commit is contained in:
@@ -28,5 +28,4 @@ cd "%ci_dir%"
|
||||
REM Do not use the CALL command in the next line to execute Dart. CALL causes
|
||||
REM Windows to re-read the line from disk after the CALL command has finished
|
||||
REM regardless of the ampersand chain.
|
||||
REM TODO(gspencergoog): Remove --no-sound-null-safety once isolate package is null-safe.
|
||||
"%dart%" --no-sound-null-safety --disable-dart-dev bin\format.dart %* & exit /B !ERRORLEVEL!
|
||||
"%dart%" --disable-dart-dev bin\format.dart %* & exit /B !ERRORLEVEL!
|
||||
|
||||
@@ -32,10 +32,8 @@ SRC_DIR="$(cd "$SCRIPT_DIR/../.."; pwd -P)"
|
||||
DART_SDK_DIR="${SRC_DIR}/third_party/dart/tools/sdks/dart-sdk"
|
||||
DART="${DART_SDK_DIR}/bin/dart"
|
||||
|
||||
# TODO(gspencergoog): Remove --no-sound-null-safety once isolate package is null-safe.
|
||||
cd "$SCRIPT_DIR"
|
||||
"$DART" \
|
||||
--disable-dart-dev \
|
||||
--no-sound-null-safety \
|
||||
bin/format.dart \
|
||||
"$@"
|
||||
|
||||
@@ -55,6 +55,9 @@ const char* kDartVMArgs[] = {
|
||||
#if !defined(DART_PRODUCT) && (!defined(FLUTTER_PROFILE) || !defined(NDEBUG))
|
||||
"--enable_asserts",
|
||||
#endif
|
||||
// Run in unsound null safety mode as some packages used in Integration
|
||||
// testing have not been migrated yet.
|
||||
"--no-sound-null-safety",
|
||||
// clang-format on
|
||||
};
|
||||
|
||||
|
||||
@@ -425,6 +425,10 @@ ComponentV1::ComponentV1(
|
||||
|
||||
settings_.dart_flags = {};
|
||||
|
||||
// Run in unsound null safety mode as some packages used in Integration
|
||||
// testing have not been migrated yet.
|
||||
settings_.dart_flags.push_back("--no-sound-null-safety");
|
||||
|
||||
// Don't collect CPU samples from Dart VM C++ code.
|
||||
settings_.dart_flags.push_back("--no_profile_vm");
|
||||
|
||||
|
||||
@@ -488,6 +488,10 @@ ComponentV2::ComponentV2(
|
||||
|
||||
settings_.dart_flags = {};
|
||||
|
||||
// Run in unsound null safety mode as some packages used in Integration
|
||||
// testing have not been migrated yet.
|
||||
settings_.dart_flags.push_back("--no-sound-null-safety");
|
||||
|
||||
// Don't collect CPU samples from Dart VM C++ code.
|
||||
settings_.dart_flags.push_back("--no_profile_vm");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user