-
Notifications
You must be signed in to change notification settings - Fork 6k
Add initial unit tests for the android embedding #17921
Conversation
chinmaygarde
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done.
|
|
||
| import("//flutter/testing/testing.gni") | ||
|
|
||
| source_set("external_view_embedder") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be a good idea now to start thinking about unifying all the external view embedder implementations into a common utility that can be configured per the needs of specific embedders. Once fully realized, this is going to look very similar to the iOS and custom embedder implementations. And, at least the custom embedder implementation has a tests that may be useful for this effort.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an excellent clean start to a clean room implementation however. So feel free to bring in the other stuff later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For sure. This change will help shape the next action items. :)
Adds initial unit tests to the Android external view embedder. I created a separate package the
shell/platform/android:*cannot be compiled with the host toolchain.Fixes flutter/flutter#55269