Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reland "Disentangle and align flutter build web --wasm flags (#143517)" #143549

Merged
merged 2 commits into from
Feb 16, 2024

Commits on Feb 15, 2024

  1. Reland "Disentangle and align flutter build web --wasm flags (flutt…

    …er#143517)"
    
    * Make `flutter build web` have one option that determins the
    optimization level: `-O<level>` / `--optimization-level=<level>` =>
    Defaulting to -O4 => Will apply to both dart2js and dart2wasm
    
    * Deprecate `--dart2js-optimization=O<level>`
    
    * Disentagle concept of optimization from concept of static symbols =>
    Add a `--strip-wasm` / `--no-strip-wasm` flag that determins whether
    static symbols are kept in the resulting wasm file.
    
    * Remove copy&past'ed code in the tests for wasm build tests
    
    * Cleanup some artifacts code, now that we no longer use `wasm-opt`
    inside flutter tools
    mkustermann committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    8981f12 View commit details
    Browse the repository at this point in the history
  2. Change --O4 to -O4

    mkustermann committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    1ab5345 View commit details
    Browse the repository at this point in the history