Flutter engine builds for Windows?

552 views
Skip to first unread message

Krzysztof Kowalczyk

unread,
Feb 27, 2018, 5:16:22 PM2/27/18
to Desktop Embedding for Flutter
Looking at mac build https://github.com/google/flutter-desktop-embedding/blob/master/macos/library/update_engine.sh#L66:11 I can see that mac binaries for the underlying engine are pulled from https://storage.googleapis.com/flutter_infra/flutter/${FLUTTER_EMBEDDER_SHA}/darwin-x64/$FRAMEWORK_ARCHIVE_FILENAME

Does that exist for Windows builds as well? If yes, what is win equivalent of darwin-x64? Are there both 64-bit and 32-bit builds?

Looking at code for Mac wrapper, writing Windows wrapper shouldn't be hard as long as there are DLLs for Windows build of flutter engine.

-- kjk

Chinmay Garde

unread,
Feb 27, 2018, 6:20:37 PM2/27/18
to Krzysztof Kowalczyk, Desktop Embedding for Flutter
The buildbots do not upload a Windows Embedder API DLL. Users of the Embedder API will have to build the target specified on the Wiki page manually for now just like Linux.

Chinmay

--
You received this message because you are subscribed to the Google Groups "Desktop Embedding for Flutter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embe...@googlegroups.com.
To post to this group, send email to flutter-deskto...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-desktop-embedding-dev/8e3b3615-848a-4b2a-85db-9790d56fdc28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ds8...@gmail.com

unread,
Feb 28, 2018, 11:24:52 AM2/28/18
to Desktop Embedding for Flutter
I've built the Flutter Engine DLL on Windows with a few hacks. Should I attempt to clean up my source and submit a PR?



On Tuesday, February 27, 2018 at 6:20:37 PM UTC-5, Chinmay Garde wrote:
The buildbots do not upload a Windows Embedder API DLL. Users of the Embedder API will have to build the target specified on the Wiki page manually for now just like Linux.

Chinmay

On Tue, Feb 27, 2018 at 2:16 PM Krzysztof Kowalczyk <kkowa...@gmail.com> wrote:
Looking at mac build https://github.com/google/flutter-desktop-embedding/blob/master/macos/library/update_engine.sh#L66:11 I can see that mac binaries for the underlying engine are pulled from https://storage.googleapis.com/flutter_infra/flutter/${FLUTTER_EMBEDDER_SHA}/darwin-x64/$FRAMEWORK_ARCHIVE_FILENAME

Does that exist for Windows builds as well? If yes, what is win equivalent of darwin-x64? Are there both 64-bit and 32-bit builds?

Looking at code for Mac wrapper, writing Windows wrapper shouldn't be hard as long as there are DLLs for Windows build of flutter engine.

-- kjk

--
You received this message because you are subscribed to the Google Groups "Desktop Embedding for Flutter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embedding-dev+unsub...@googlegroups.com.

si...@devangels.london

unread,
Feb 28, 2018, 12:17:12 PM2/28/18
to Desktop Embedding for Flutter
Would love to see the results of this. I can help with the Windows dev.

Krzysztof Kowalczyk

unread,
Feb 28, 2018, 2:00:44 PM2/28/18
to Desktop Embedding for Flutter
I don't speak for the project but I would love to see that happen.

Is your work on GitHub already so that we can take a peek?

-- kjk

Chinmay Garde

unread,
Feb 28, 2018, 2:32:46 PM2/28/18
to Krzysztof Kowalczyk, Desktop Embedding for Flutter
Patches would be great!

Chinmay

On Wed, Feb 28, 2018 at 11:00 AM Krzysztof Kowalczyk <kkowa...@gmail.com> wrote:
I don't speak for the project but I would love to see that happen.

Is your work on GitHub already so that we can take a peek?

-- kjk

On Wednesday, February 28, 2018 at 8:24:52 AM UTC-8, ds8...@gmail.com wrote:
I've built the Flutter Engine DLL on Windows with a few hacks. Should I attempt to clean up my source and submit a PR?



On Tuesday, February 27, 2018 at 6:20:37 PM UTC-5, Chinmay Garde wrote:
The buildbots do not upload a Windows Embedder API DLL. Users of the Embedder API will have to build the target specified on the Wiki page manually for now just like Linux.

Chinmay

On Tue, Feb 27, 2018 at 2:16 PM Krzysztof Kowalczyk <kkowa...@gmail.com> wrote:
Looking at mac build https://github.com/google/flutter-desktop-embedding/blob/master/macos/library/update_engine.sh#L66:11 I can see that mac binaries for the underlying engine are pulled from https://storage.googleapis.com/flutter_infra/flutter/${FLUTTER_EMBEDDER_SHA}/darwin-x64/$FRAMEWORK_ARCHIVE_FILENAME

Does that exist for Windows builds as well? If yes, what is win equivalent of darwin-x64? Are there both 64-bit and 32-bit builds?

Looking at code for Mac wrapper, writing Windows wrapper shouldn't be hard as long as there are DLLs for Windows build of flutter engine.

-- kjk

--
You received this message because you are subscribed to the Google Groups "Desktop Embedding for Flutter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embe...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Desktop Embedding for Flutter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embe...@googlegroups.com.

To post to this group, send email to flutter-deskto...@googlegroups.com.

Stuart Morgan

unread,
Feb 28, 2018, 2:34:40 PM2/28/18
to ds8...@gmail.com, Desktop Embedding for Flutter
We'd certainly like to have a Windows version in the repository, so that would be great!

Just to make sure the project boundaries are clear: if you have a GN build system for the engine DLL, that part should go to the Flutter project (assuming they are interested in adding that to their existing macOS and Linux builds). But a library implementing the embedding API and an example app using it are definitely welcome here.

-Stuart

clarke...@gmail.com

unread,
Jul 2, 2018, 2:56:18 PM7/2/18
to Desktop Embedding for Flutter
In attempting to follow the build instructions for windows from here: 

Part way through the initial gclient sync, I'm being asked:


which isn't referred to in the instructions.  Is this expected?

Stuart Morgan

unread,
Jul 2, 2018, 3:04:32 PM7/2/18
to clarke...@gmail.com, Desktop Embedding for Flutter
See this thread for the solution:

There unfortunately appear to be two versions of the instructions, and one of them is missing this information.

-Stuart

On Mon, Jul 2, 2018 at 11:56 AM <clarke...@gmail.com> wrote:
In attempting to follow the build instructions for windows from here: 

Part way through the initial gclient sync, I'm being asked:


which isn't referred to in the instructions.  Is this expected?

On Wednesday, February 28, 2018 at 11:34:40 AM UTC-8, Stuart Morgan wrote:
We'd certainly like to have a Windows version in the repository, so that would be great!

Just to make sure the project boundaries are clear: if you have a GN build system for the engine DLL, that part should go to the Flutter project (assuming they are interested in adding that to their existing macOS and Linux builds). But a library implementing the embedding API and an example app using it are definitely welcome here.

-Stuart
On Wed, Feb 28, 2018 at 8:24 AM, <ds8...@gmail.com> wrote:
I've built the Flutter Engine DLL on Windows with a few hacks. Should I attempt to clean up my source and submit a PR?



On Tuesday, February 27, 2018 at 6:20:37 PM UTC-5, Chinmay Garde wrote:
The buildbots do not upload a Windows Embedder API DLL. Users of the Embedder API will have to build the target specified on the Wiki page manually for now just like Linux.

Chinmay

On Tue, Feb 27, 2018 at 2:16 PM Krzysztof Kowalczyk <kkowa...@gmail.com> wrote:
Looking at mac build https://github.com/google/flutter-desktop-embedding/blob/master/macos/library/update_engine.sh#L66:11 I can see that mac binaries for the underlying engine are pulled from https://storage.googleapis.com/flutter_infra/flutter/${FLUTTER_EMBEDDER_SHA}/darwin-x64/$FRAMEWORK_ARCHIVE_FILENAME

Does that exist for Windows builds as well? If yes, what is win equivalent of darwin-x64? Are there both 64-bit and 32-bit builds?

Looking at code for Mac wrapper, writing Windows wrapper shouldn't be hard as long as there are DLLs for Windows build of flutter engine.

-- kjk

--
You received this message because you are subscribed to the Google Groups "Desktop Embedding for Flutter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embe...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Desktop Embedding for Flutter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embe...@googlegroups.com.

To post to this group, send email to flutter-deskto...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Desktop Embedding for Flutter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embe...@googlegroups.com.

To post to this group, send email to flutter-deskto...@googlegroups.com.

clarke...@gmail.com

unread,
Jul 2, 2018, 6:29:43 PM7/2/18
to Desktop Embedding for Flutter
Awesome, thx Stuart, that's got me a lot further, I have a VS project and have successfully compiled 2671 out of 3557 files!  Should I post follow-on questions in the flutter dev group or is here OK?  Currently hitting a failure on file engine\src\third_party\skia\src\gpu\grprimitiveprocessor.h
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embedding-dev+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Desktop Embedding for Flutter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embedding-dev+unsub...@googlegroups.com.

To post to this group, send email to flutter-deskto...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Desktop Embedding for Flutter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embedding-dev+unsub...@googlegroups.com.

Stuart Morgan

unread,
Jul 2, 2018, 6:53:40 PM7/2/18
to clarke...@gmail.com, Desktop Embedding for Flutter
You're probably better off posting to flutter-dev, since there are probably people there familiar with building the engine who aren't on this list. Feel free to cross-post here though so other people working on trying to get a Windows embedder up and running can easily follow along.

-Stuart

To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embe...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Desktop Embedding for Flutter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embe...@googlegroups.com.

To post to this group, send email to flutter-deskto...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Desktop Embedding for Flutter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embe...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Desktop Embedding for Flutter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-desktop-embe...@googlegroups.com.

To post to this group, send email to flutter-deskto...@googlegroups.com.

Ian Hickson

unread,
Jul 2, 2018, 7:56:01 PM7/2/18
to Stuart Morgan, clarke...@gmail.com, Desktop Embedding for Flutter
Please file a bug for us to fix this documentation (or submit a PR to do it, if you prefer :-) ).


For more options, visit https://groups.google.com/d/optout.
--

--
Ian Hickson

😸

Stuart Morgan

unread,
Jul 2, 2018, 8:04:32 PM7/2/18
to i...@hixie.ch, clarke...@gmail.com, Desktop Embedding for Flutter
I think the real problem is that that version of the Chromium depot_tools docs is wrong, rather than the Flutter engine docs being wrong. I have a TODO to dig into it to figure out why there are two slightly different versions, I just haven't gotten to it yet.

-Stuart
Reply all
Reply to author
Forward
0 new messages