Skip to content

[flutter_tools] split application package factory dependencies - #79461

Merged
jonahwilliams merged 3 commits into
flutter:masterfrom
jonahwilliams:split_application_package_deps
Mar 31, 2021
Merged

jonahwilliams merged 3 commits into
flutter:masterfrom
jonahwilliams:split_application_package_deps

Conversation

@jonahwilliams

Copy link
Copy Markdown
Contributor

Remove the iOS/Android dependencies from the application package factory. This will make it easier to migrate it and device.dart, which are both super common dependencies. This moves the ios/android application package classes into {ios/android}/application_package.dart

#71511

@flutter-dashboard flutter-dashboard Bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Mar 31, 2021
@google-cla google-cla Bot added the cla: yes label Mar 31, 2021
@jonahwilliams
jonahwilliams requested a review from jmagman March 31, 2021 17:44

@jmagman jmagman 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!

@jonahwilliams

Copy link
Copy Markdown
Contributor Author

I think the g3 failure is a merge issue - I don't see any actual usage of the interface so I'm going to land once the tree is green.

@jmagman

jmagman commented Mar 31, 2021

Copy link
Copy Markdown
Member

I think the g3 failure is a merge issue - I don't see any actual usage of the interface so I'm going to land once the tree is green.

Were you rebased on https://github.com/flutter/flutter/pull/79342/files#diff-e24013dd662b438105ef0c1d965a955e4344a6481bc2e6cbe87a30357314fb69L10 ?

@jmagman

jmagman commented Mar 31, 2021

Copy link
Copy Markdown
Member

Oh I see, g3 doesn't have #79342 yet, so it thinks code_signing still needs it, but that import was removed.

ERROR: third_party/dart/flutter_tools/lib/src/ios/code_signing.dart
10: import '../application_package.dart'; (warning) Unused import: '../application_package.dart'. #unused_import

@jmagman

jmagman commented Mar 31, 2021

Copy link
Copy Markdown
Member
Conflicting files
packages/flutter_tools/lib/src/context_runner.dart

Hoisted by your own petard #79454

@jonahwilliams

Copy link
Copy Markdown
Contributor Author

Ehh, cost of doing business :)

@jonahwilliams
jonahwilliams merged commit 29207e4 into flutter:master Mar 31, 2021
@jonahwilliams
jonahwilliams deleted the split_application_package_deps branch March 31, 2021 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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.

2 participants