From 61118a291d423d1cc1cf44063b45e3a3f1e0109c Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Fri, 19 Jun 2020 13:26:50 -0700 Subject: [PATCH] [nnbd] build platform dill in agnostic mode (flutter/engine#19167) In agnostic mode, both sound and unsound modes are supported. --- engine/src/flutter/lib/snapshot/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/lib/snapshot/BUILD.gn b/engine/src/flutter/lib/snapshot/BUILD.gn index 4e5e4272a1..b4773b6547 100644 --- a/engine/src/flutter/lib/snapshot/BUILD.gn +++ b/engine/src/flutter/lib/snapshot/BUILD.gn @@ -250,7 +250,7 @@ compile_platform("strong_platform") { allow_causal_async_stacks = !is_runtime_mode_release args = [ "--enable-experiment=non-nullable", - "--nnbd-weak", + "--nnbd-agnostic", "--target=flutter", "-Ddart.vm.product=$is_runtime_mode_release", "-Ddart.developer.causal_async_stacks=$allow_causal_async_stacks",