Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@gaaclarke
Copy link
Member

@gaaclarke gaaclarke commented Mar 22, 2022

The original commit is in this PR. The difference is in the second commit and instead of hunting for the dart plugin registrant we look for it referenced at a particular place.

Framework PR: flutter/flutter#100572
Relands: #31418
The revert: #32162

Integration test in framework PR.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on
    writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@gaaclarke gaaclarke force-pushed the reland-e97c8016e398d91d414d298ae9ca87e735441476 branch from ac12d06 to 79e7a37 Compare March 22, 2022 18:17
@gaaclarke gaaclarke force-pushed the reland-e97c8016e398d91d414d298ae9ca87e735441476 branch 6 times, most recently from a6b3550 to 3728a60 Compare March 23, 2022 22:28
@gaaclarke gaaclarke force-pushed the reland-e97c8016e398d91d414d298ae9ca87e735441476 branch from 3728a60 to 5d9cf53 Compare March 23, 2022 22:30
@gaaclarke gaaclarke marked this pull request as ready for review March 23, 2022 23:50
@gaaclarke gaaclarke requested review from blasten and dnfield March 23, 2022 23:51
@gaaclarke gaaclarke changed the title Reland e97c8016e398d91d414d298ae9ca87e735441476 Dart Plugin Registrant - Reland e97c8016e398d91d414d298ae9ca87e735441476 Mar 23, 2022
@gaaclarke gaaclarke changed the title Dart Plugin Registrant - Reland e97c8016e398d91d414d298ae9ca87e735441476 Dart Plugin Registrant - Reland e97c8016e398 Mar 23, 2022
// TODO(gaaclarke): Find a way to remove this branch so the field is
// required. I couldn't get it working with unit tests.
return InvokeDartPluginRegistrantIfAvailable(library);
} else {
Copy link

Choose a reason for hiding this comment

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

nit: else not required

Copy link
Member Author

Choose a reason for hiding this comment

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

done

if (registrant_file_uri_string.empty()) {
FML_LOG(ERROR) << "Unexpected empty dartPluginRegistrantLibrary.";
return false;
} else {
Copy link

Choose a reason for hiding this comment

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

ditto

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@gaaclarke gaaclarke added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Mar 24, 2022
@fluttergithubbot fluttergithubbot merged commit 25cbaf2 into flutter:main Mar 24, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 24, 2022
GaryQian pushed a commit to flutter/flutter that referenced this pull request Mar 24, 2022
* e8d1145 Roll Skia from 7ef299accba6 to a7c2d73690d3 (1 revision) (flutter/engine#32222)

* c6e36bb Roll Dart SDK from b5d0b8fd4fad to 8d8944d40cd8 (1 revision) (flutter/engine#32224)

* a16fa3f Roll Fuchsia Linux SDK from sMai0ocli... to oTjwOwAoJ... (flutter/engine#32225)

* b455909 Roll Skia from a7c2d73690d3 to faf520c0009b (7 revisions) (flutter/engine#32228)

* 25cbaf2 Dart Plugin Registrant - Reland e97c801 (flutter/engine#32189)

* 2b90585 Roll Fuchsia Mac SDK from daGNAjLwt... to 4MoGGSDPk... (flutter/engine#32229)

* 5d2aeca Roll Skia from faf520c0009b to 9aa9c14ffdae (1 revision) (flutter/engine#32230)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants