Remove use of --nnbd-agnostic (flutter/engine#53055)

The Dart VM no longer supports unsound null safety, so we don't need to
generate the platform in agnostic mode.
This commit is contained in:
johnniwinther 2024-05-28 10:07:40 +02:00 committed by GitHub
parent d6fc11916e
commit 43149fdc24
3 changed files with 3 additions and 3 deletions

View File

@ -238,7 +238,7 @@ compile_platform("strong_platform") {
flutter_runtime_mode == "release" || flutter_runtime_mode == "jit_release"
args = [
"--enable-experiment=generic-metadata",
"--nnbd-agnostic",
"--nnbd-strong",
"--target=flutter",
"-Ddart.vm.product=$is_runtime_mode_release",
"-Ddart.isVM=true",

View File

@ -20,7 +20,7 @@ compile_platform("kernel_platform_files") {
]
args = [
"--nnbd-agnostic",
"--nnbd-strong",
"--target=dart_runner",
"dart:core",
]

View File

@ -20,7 +20,7 @@ compile_platform("kernel_platform_files") {
]
args = [
"--nnbd-agnostic",
"--nnbd-strong",
"--target=flutter_runner",
"dart:core",
]