Commit e42e886
[dart2wasm] Ensure --enable-protobuf-mixin-tree-shaker enables --enable-protobuf-tree-shaker
When `--enable-protobuf-mixin-tree-shaker` is enabled then we should
also enable `--enable-protobuf-tree-shaker` internally.
This mirrors the behavior in dart2js which does this in
pkg/compiler/lib/src/options.dart:
```
..enableProtoShaking =
_hasOption(options, Flags.enableProtoShaking) ||
_hasOption(options, Flags.enableProtoMixinShaking)
```
Change-Id: I72e9e8951ead747bc8dcb9fb134eb8a6369a3eab
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/490841
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>1 parent 4ee6a66 commit e42e886
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | | - | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
634 | 636 | | |
635 | 637 | | |
636 | 638 | | |
| |||
0 commit comments