-
Notifications
You must be signed in to change notification settings - Fork 6k
[fuchsia] make dart_runner work with cfv2 #27226
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
90a9750 to
3cfdea8
Compare
3cfdea8 to
fdb213d
Compare
|
This pull request is not suitable for automatic merging in its current state.
|
Adds support for running the dart runner as a CFv2 component. The runner has been refactored to launch in both a v1 environemnt as well as a v2 environment.
fdb213d to
39e6086
Compare
Adds support for running the dart runner as a CFv2 component. The runner has been refactored to launch in both a v1 environemnt as well as a v2 environment.
Adds support for running the dart runner as a CFv2 component. The runner has been refactored to launch in both a v1 environemnt as well as a v2 environment.
| binary = "dart_jit${product_suffix}_runner" | ||
|
|
||
| cmx_file = rebase_path("meta/dart_jit${product_suffix}_runner.cmx") | ||
| cml_file = rebase_path("meta/dart_jit${product_suffix}_runner.cml") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OOC I noticed we don't have a corresponding cml_file = dart_aot${product_suffix}_runner.cml line in this PR - is that an oversight or intentional?
Bug: fxb/79871 The code is still using the CFv1 implementation, so this should not affect the existing behavior. For this version of the PR, I forked the existing DartComponentController. There were a few reasons for this: Reduces the chance of the change breaking existing tests during Fuchsia GI. Makes the V2 version of the DartComponentController simpler to read. Makes it easier to switch over to using the V2 version of the DartComponentController once the migration is ready to happen (less cleanup). The rate of changes to the DartComponentController is slow so there shouldn't be much maintenance required for the fork. Changes to the DartRunner itself will happen in a follow-up PR - this PR only verifies that the ComponentController builds. Relands GN and C++ changes for #27226 after rollback in #28036.
Adds support for running the dart runner as a CFv2 component.
The runner has been refactored to launch in both a v1 environemnt
as well as a v2 environment.