diff --git a/utils/application_snapshot.gni b/utils/application_snapshot.gni index dd990c86a0f..92c1921f931 100644 --- a/utils/application_snapshot.gni +++ b/utils/application_snapshot.gni @@ -115,9 +115,6 @@ template("_application_snapshot") { "--no-link-platform", "--output=" + rebase_path(output), ] - if (use_nnbd) { - args += [ "--enable-experiment=non-nullable" ] - } if (dart_platform_bytecode) { args += [ "--gen-bytecode", @@ -150,10 +147,6 @@ template("_application_snapshot") { "--snapshot-depfile=$abs_depfile", ] + snapshot_vm_args - if (use_nnbd) { - vm_args += [ "--enable-experiment=non-nullable" ] - } - if (dart_snapshot_kind == "kernel") { vm_args += [ "--snapshot-kind=kernel" ] assert(training_args != "", "Ignoring unused argument") diff --git a/utils/kernel-service/BUILD.gn b/utils/kernel-service/BUILD.gn index e25fb852026..fd637490ba6 100644 --- a/utils/kernel-service/BUILD.gn +++ b/utils/kernel-service/BUILD.gn @@ -115,9 +115,6 @@ template("kernel_service_dill") { "--no-embed-sources", "--output=" + rebase_path(output), ] - if (use_nnbd) { - args += [ "--enable-experiment=non-nullable" ] - } args += [ scheme + ":///pkg/vm/bin/kernel_service.dart" ] if (dart_platform_bytecode) { args += [