Add a platform plugin infrastructure.
This is basically the minimum Flutter needs to stop doing manual serialization stuff. This also migrates the VM loader to use the plugin infrastructure. In a follow-up commit, I plan to migrate the browser loader as well. That will likely require some additional modifications to the plugin API to support the more complex use-case. R=kevmoo@google.com Review URL: https://codereview.chromium.org//1685363002 .
Showing
- lib/pub_serve.dart 15 additions, 9 deletionslib/pub_serve.dart
- lib/src/backend/invoker.dart 9 additions, 0 deletionslib/src/backend/invoker.dart
- lib/src/runner/browser/browser_manager.dart 2 additions, 0 deletionslib/src/runner/browser/browser_manager.dart
- lib/src/runner/debugger.dart 1 addition, 2 deletionslib/src/runner/debugger.dart
- lib/src/runner/environment.dart 3 additions, 0 deletionslib/src/runner/environment.dart
- lib/src/runner/hack_load_vm_file_hook.dart 0 additions, 21 deletionslib/src/runner/hack_load_vm_file_hook.dart
- lib/src/runner/load_suite.dart 2 additions, 2 deletionslib/src/runner/load_suite.dart
- lib/src/runner/loader.dart 36 additions, 133 deletionslib/src/runner/loader.dart
- lib/src/runner/plugin/environment.dart 24 additions, 0 deletionslib/src/runner/plugin/environment.dart
- lib/src/runner/plugin/platform.dart 180 additions, 0 deletionslib/src/runner/plugin/platform.dart
- lib/src/runner/plugin/remote_platform_helpers.dart 27 additions, 0 deletionslib/src/runner/plugin/remote_platform_helpers.dart
- lib/src/runner/remote_listener.dart 191 additions, 0 deletionslib/src/runner/remote_listener.dart
- lib/src/runner/runner_test.dart 88 additions, 0 deletionslib/src/runner/runner_test.dart
- lib/src/runner/vm/catch_isolate_errors.dart 25 additions, 0 deletionslib/src/runner/vm/catch_isolate_errors.dart
- lib/src/runner/vm/isolate_listener.dart 0 additions, 184 deletionslib/src/runner/vm/isolate_listener.dart
- lib/src/runner/vm/platform.dart 97 additions, 0 deletionslib/src/runner/vm/platform.dart
- lib/src/utils.dart 1 addition, 0 deletionslib/src/utils.dart
- lib/test.dart 2 additions, 4 deletionslib/test.dart
- pubspec.yaml 3 additions, 3 deletionspubspec.yaml
- test/runner/engine_test.dart 5 additions, 5 deletionstest/runner/engine_test.dart
Loading
Please register or sign in to comment