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

Conversation

@filmil
Copy link
Contributor

@filmil filmil commented Apr 22, 2020

This functionality is added in dart-lang/sdk#41523. Allows runners to request
the singleton instance of sys::ComponentContext, while it remains also
accessible to component-specific code that does not have direct access
to top-level objects.

Fixes dart-lang/sdk#41523

@auto-assign auto-assign bot requested a review from cbracken April 22, 2020 18:12
@filmil filmil force-pushed the local-flutter-runner-compile branch from 612c771 to 254d2db Compare April 23, 2020 18:40
@cbracken cbracken requested review from gw280 and iskakaushik April 24, 2020 21:46
Copy link
Contributor

@chinmaygarde chinmaygarde left a comment

Choose a reason for hiding this comment

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

LGTM after a comment cross referencing the fxr tracking the SDK update.

@filmil
Copy link
Contributor Author

filmil commented Apr 25, 2020

LGTM after a comment cross referencing the fxr tracking the SDK update.

Filed https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=50815 per your request.

Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

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

Thanks @filmil

@filmil filmil force-pushed the local-flutter-runner-compile branch from 254d2db to 3a25bd5 Compare April 27, 2020 18:07
This functionality is added in issue flutter#41523.  Allows runners to request
the singleton instance of `sys::ComponentContext`, while it remains also
accessible to component-specific code that does not have direct access
to top-level objects.

Fixes flutter#41523
@filmil filmil force-pushed the local-flutter-runner-compile branch from 3a25bd5 to af7dc3f Compare April 30, 2020 17:54
@filmil
Copy link
Contributor Author

filmil commented Apr 30, 2020

@chinmaygarde Anything else needed to merge this? Thanks!

@chinmaygarde
Copy link
Contributor

Nope. Let's merge this. Do you have merge commit privileges or should I commit? go/flutter-onboarding has a section on how to get them.

@filmil
Copy link
Contributor Author

filmil commented Apr 30, 2020

I don't have commit rights at the moment. Would you mind merging?

I'll start with flutter onboarding in case I need it in the future.

@chinmaygarde chinmaygarde merged commit fe70fc7 into flutter:master Apr 30, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 30, 2020
dart-bot pushed a commit to dart-lang/sdk that referenced this pull request Apr 30, 2020
This will allow introspection of the state of tzdata loader, making
error diagnostics easier on Fuchsia.

Must be merged only after this pull request is merged into flutter
flutter/engine#17876
Otherwise, the call to the `dart::ComponentContext()` could prevent
the runners from initializing the component context correctly.

Tested:
  Compiled and deployed on a Fuchsia device.
  The result on Fuchsia is as seen below.

```
$ fx iquery
/hub/c/flutter_jit_product_runner.cmx/21608/out/diagnostics:
  /hub/c/flutter_jit_product_runner.cmx/21608/out/diagnostics#os:
    dst_status = 0
    tz_data_close_status = 0
    tz_data_status = 0
```

See issue #41525 for details.

Bug: fuchsia:43341
Change-Id: I43ea289003e1e1d09cca4163236bc477eb9cee80
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/144480
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Filip Filmar <fmil@google.com>
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 30, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 1, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 1, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 1, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 1, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 1, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 1, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 1, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 1, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 1, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 2, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a way to obtain a global sys::ComponentContext when building for Fuchsia

4 participants