• Martin Kustermann's avatar
    Disentangle and align `flutter build web --wasm` flags (#143517) · 178898e4
    Martin Kustermann authored
    * 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
    178898e4
artifacts_test.dart 21.4 KB