Skip to content

Start abstracting platform logic builds behind a shared interface - #31889

Merged
jonahwilliams merged 2 commits into
flutter:masterfrom
jonahwilliams:platform_build_api
May 2, 2019
Merged

jonahwilliams merged 2 commits into
flutter:masterfrom
jonahwilliams:platform_build_api

Conversation

@jonahwilliams

Copy link
Copy Markdown
Contributor

Description

To move to a world where platform builds are pluggable, we'll need to start defining them in terms of a unified interface. Here, I've added the capability to select a step based on the target platform and build mode, this can almost be done without knowledge of the device.

To follow this up, we'll need to determine what device specific and build specific results are interesting enough. For example, for android we need to know something like the launchActivity. For other platforms we might only need the executable.

Related Issues

#25377

@goderbauer goderbauer added the tool Affects the "flutter" command-line tool. See also t: labels. label May 1, 2019
@jonahwilliams
jonahwilliams requested a review from zanderso May 1, 2019 17:23

@zanderso zanderso left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm w/ nit

Comment thread packages/flutter_tools/test/platform_step_test.dart Outdated
@jonahwilliams
jonahwilliams merged commit e545994 into flutter:master May 2, 2019
@jonahwilliams
jonahwilliams deleted the platform_build_api branch May 2, 2019 20:31
jonahwilliams pushed a commit that referenced this pull request May 2, 2019
jonahwilliams pushed a commit that referenced this pull request May 2, 2019
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants