Skip to content

[flutter_plugin_tools] Make mobile platform flags required for the drive-examples command #58285

@cyanglaz

Description

@cyanglaz

The current drive-examples command always runs for mobile. We had to add some workaround to make it ignore plugins that doesn't support mobile. See https://github.com/flutter/plugin_tools/pull/102
A better way to do this is to make mobile platform flags also required, just like all the other platforms. Then we can have the same logic for all the platforms.
This is a breaking change. The purpose for this change is to enhance the code maintainability of the flutter_plugin_tool for long term benefits.

If we make this change, we will need to update the repos' CIs(flutter/plugins, firebase) that uses the plugin tool to specify platforms like:
drive-examples --ios
drive-examples --android
Since the android drive test is running on firebase test lab. We'd have to update the command firebase test lab as well.

#56953

Metadata

Metadata

Assignees

No one assigned

    Labels

    p: toolingAffects the flutter_plugin_tools packagepackageflutter/packages repository. See also p: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions