Account for alternate "SDK" layouts.#29297
Account for alternate "SDK" layouts.#29297pylaligand wants to merge 1 commit intodart-lang:masterfrom
Conversation
The sources for standard Dart libraries are coming via an embedder (Flutter) in Fuchsia, with a slightly different tree layout.
|
On Fuchsia we get the Dart standard libraries via Flutter. When trying to locate the root of the SDK, the while loop would hit This is a quick fix, but I'm open to other suggestions. For example I think we could put all the stuff that's in /cc @abarth |
|
We can change the layout in flutter to whatever is useful. I don't think we've given any thought to the current layout. |
|
Unless there is a strong need to deviate from the standard SDK layout, I would strongly urge you to not change it. Even then, I would encourage to talk to the Dart team so that we can see whether we can change the standard SDK layout to meet both sets of needs. Having to special case things like this makes it harder for us to test everything thoroughly. |
bwilkerson
left a comment
There was a problem hiding this comment.
Does this need to be cherry-picked into 1.23? If so, please file a merge request.
|
I'll make the change on the Flutter side to match the standard layout better. In any case, there's no need to cherry-pick anything as we build our Dart stuff from sources in Fuchsia. |
The sources for standard Dart libraries are coming via an embedder (Flutter) in Fuchsia, with a slightly different tree layout.