From b49582196c16a8bec4057d3cfff24496f9b09f55 Mon Sep 17 00:00:00 2001 From: Nicholas Shahan Date: Mon, 27 Mar 2023 21:28:51 +0000 Subject: [PATCH] [ddc] Use sound null safety when training snapshot Change-Id: I89761a8248fbca64ed066dafbc3c5ece8be1c455 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/291302 Reviewed-by: Sigmund Cherem Commit-Queue: Nicholas Shahan --- utils/dartdevc/BUILD.gn | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/utils/dartdevc/BUILD.gn b/utils/dartdevc/BUILD.gn index 32b51a71b7d..f9777d1481d 100644 --- a/utils/dartdevc/BUILD.gn +++ b/utils/dartdevc/BUILD.gn @@ -26,8 +26,7 @@ application_snapshot("dartdevc") { training_args = [ "--dart-sdk-summary", - rebase_path(sdk_outline_unsound_dill), - "--no-sound-null-safety", + rebase_path(sdk_outline_sound_dill), "-o", "dartdevc.js", rebase_path("../../pkg/dev_compiler/bin/dartdevc.dart"), @@ -37,12 +36,8 @@ application_snapshot("dartdevc") { training_args += [ "--canary" ] } - deps = [ - ":dartdevc_kernel_sdk", - ":dartdevc_platform_unsound", - ] - - inputs = [ sdk_outline_unsound_dill ] + deps = [ ":dartdevc_platform_sound" ] + inputs = [ sdk_outline_sound_dill ] } sdk_root = "../../sdk"