Skip to content

Commit

Permalink
Revert "--sound-null-safety instead of enable-experiment where possib…
Browse files Browse the repository at this point in the history
…le (flutter#26999)" (flutter#27059)

This reverts commit 3283caf.
  • Loading branch information
dnfield authored Jun 30, 2021
1 parent 6136cbd commit 05fe2e2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/snapshot/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ compiled_action("generate_snapshot_bin") {
]

args = [
"--sound-null-safety",
"--enable-experiment=non-nullable",
"--snapshot_kind=core",
"--enable_mirrors=false",
"--vm_snapshot_data=" + rebase_path(vm_snapshot_data),
Expand Down
3 changes: 2 additions & 1 deletion testing/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ def SnapshotTest(build_dir, test_packages, dart_file, kernel_file_output, verbos
dart,
'--disable-dart-dev',
frontend_server,
'--sound-null-safety',
'--enable-experiment=non-nullable',
'--no-sound-null-safety',
'--sdk-root',
flutter_patched_sdk,
'--incremental',
Expand Down
2 changes: 1 addition & 1 deletion testing/testing.gni
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ template("dart_snapshot_kernel") {
rebase_path("$root_out_dir/flutter_patched_sdk"),
"--target",
"flutter",
"--sound-null-safety",
"--enable-experiment=non-nullable",
"--output-dill",
rebase_path(invoker.dart_kernel, root_out_dir),
"--depfile",
Expand Down
12 changes: 8 additions & 4 deletions web_sdk/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ prebuilt_dart_action("flutter_dartdevc_kernel_sdk_outline") {
script = "//third_party/dart/utils/bazel/kernel_worker.dart"

args = [
"--sound-null-safety",
"--enable-experiment=non-nullable",
"--summary-only",
"--target",
"ddc",
Expand Down Expand Up @@ -162,7 +162,7 @@ prebuilt_dart_action("flutter_dartdevc_kernel_sdk") {
]

args = [
"--sound-null-safety",
"--enable-experiment=non-nullable",
"--compile-sdk",
"dart:core",

Expand Down Expand Up @@ -215,7 +215,7 @@ prebuilt_dart_action("flutter_dartdevc_canvaskit_kernel_sdk") {
]

args = [
"--sound-null-safety",
"--enable-experiment=non-nullable",
"--compile-sdk",
"dart:core",

Expand Down Expand Up @@ -270,7 +270,7 @@ prebuilt_dart_action("flutter_dartdevc_canvaskit_html_kernel_sdk") {
]

args = [
"--sound-null-safety",
"--enable-experiment=non-nullable",
"--compile-sdk",
"dart:core",

Expand Down Expand Up @@ -325,6 +325,7 @@ prebuilt_dart_action("flutter_dartdevc_kernel_sdk_sound") {
]

args = [
"--enable-experiment=non-nullable",
"--sound-null-safety",
"--compile-sdk",
"dart:core",
Expand Down Expand Up @@ -379,6 +380,7 @@ prebuilt_dart_action("flutter_dartdevc_canvaskit_kernel_sdk_sound") {
]

args = [
"--enable-experiment=non-nullable",
"--sound-null-safety",
"--compile-sdk",
"dart:core",
Expand Down Expand Up @@ -434,6 +436,7 @@ prebuilt_dart_action("flutter_dartdevc_canvaskit_html_kernel_sdk_sound") {
]

args = [
"--enable-experiment=non-nullable",
"--sound-null-safety",
"--compile-sdk",
"dart:core",
Expand Down Expand Up @@ -484,6 +487,7 @@ prebuilt_dart_action("flutter_dartdevc_kernel_sdk_outline_sound") {
script = "//third_party/dart/utils/bazel/kernel_worker.dart"

args = [
"--enable-experiment=non-nullable",
"--sound-null-safety",
"--summary-only",
"--target",
Expand Down

0 comments on commit 05fe2e2

Please sign in to comment.