Skip to content
This repository was archived by the owner on Dec 3, 2025. It is now read-only.

Conversation

@stuartmorgan-g
Copy link
Collaborator

  • Eliminate the distinction between source mode and snapshot mode;
    source mode hasn't worked since the switch to Dart2, and the relevant
    engine arguments are deprecated in
    Deprecate FlutterProjectArgs.main_path, packages_path flutter/engine#7497
  • Hide the need for the first argument to be the executable from clients
    of the library; this is an implementation detail of the engine API,
    and not something that each client application should need to handle
    given that the expected use case is to provide a constructed argument
    array, rather than pass through argc/argv directly.
    (As part of this change, removes the macOS code to strip Xcode-added
    arguments, for the same reason.)

This is a breaking change; clients will need to update the call to the
primary entry point, including removing the dummy first argument they
were likely providing in the arguments array.

- Eliminate the distinction between source mode and snapshot mode;
  source mode hasn't worked since the switch to Dart2, and the relevant
  engine arguments are deprecated in
  flutter/engine#7497
- Hide the need for the first argument to be the executable from clients
  of the library; this is an implementation detail of the engine API,
  and not something that each client application should need to handle
  given that the expected use case is to provide a constructed argument
  array, rather than pass through argc/argv directly.
  (As part of this change, removes the macOS code to strip Xcode-added
  arguments, for the same reason.)

This is a breaking change; clients will need to update the call to the
primary entry point, including removing the dummy first argument they
were likely providing in the arguments array.
@franciscojma86
Copy link
Contributor

LGTM with with two typo comments

@stuartmorgan-g stuartmorgan-g merged commit 3089a8b into google:master Jan 17, 2019
@stuartmorgan-g stuartmorgan-g deleted the remove-source-mode branch January 22, 2019 18:16
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants