diff --git a/DEPS b/DEPS index 089790bcc7..45a69e3570 100644 --- a/DEPS +++ b/DEPS @@ -34,7 +34,7 @@ vars = { # Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS. # You can use //tools/dart/create_updated_flutter_deps.py to produce # updated revision list of existing dependencies. - 'dart_revision': '4b9638aaa17203b4e4f9ceb8492faf6a11301999', + 'dart_revision': 'e68ca9b652acdb642668a6acb5f630d5be6c03da', # WARNING: DO NOT EDIT MANUALLY # The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py diff --git a/engine/src/flutter/tools/fuchsia/dart_kernel.gni b/engine/src/flutter/tools/fuchsia/dart_kernel.gni index ff9929ba75..d39db16b2e 100644 --- a/engine/src/flutter/tools/fuchsia/dart_kernel.gni +++ b/engine/src/flutter/tools/fuchsia/dart_kernel.gni @@ -49,7 +49,6 @@ template("dart_kernel") { "--packages=" + rebase_path(dot_packages), "--target=dart_runner", "--platform=" + rebase_path(platform_dill), - "--no-link-platform", "--output=" + rebase_path(output), ] @@ -64,6 +63,9 @@ template("dart_kernel") { "--aot", "--tfa", ] + } else { + # --no-link-platform is only valid when --aot isn't specified + args += [ "--no-link-platform" ] } if (defined(invoker.product) && invoker.product) {