Wiki: Windows compile

Made a cool mod to CEF that you'd like to share with others? Discuss CEF modifications here, and view modifications that others have made.

Wiki: Windows compile

Postby tdewolf » Wed Sep 14, 2016 7:12 pm

Following https://bitbucket.org/chromiumembedded/ ... QuickStart, I found it necessary to run

set DEPOT_TOOLS_WIN_TOOLCHAIN=0
and (only) then
gclient runhooks
inside of chromium\src in order to get create.bat to run.

Maybe someone else has a different experience but I would think that this should be added to the Wiki page (it says I need "permission"). I will note that I attempted a few unsuccessful automatic builds first, so I can't 100% say that this is always needed, but it _was_ in my case...
tdewolf
Newbie
 
Posts: 2
Joined: Wed Sep 14, 2016 7:07 pm

Re: Wiki: Windows compile

Postby magreenblatt » Wed Sep 14, 2016 8:52 pm

Those instructions do not say to run 'gclient runhooks'. Why are you doing that?
magreenblatt
Site Admin
 
Posts: 9838
Joined: Fri May 29, 2009 6:57 pm

Re: Wiki: Windows compile

Postby tdewolf » Thu Sep 15, 2016 11:01 am

I found that gn (and other tools) were not being obtained without setting the environment variable (as given in https://chromium.googlesource.com/chrom ... uctions.md) and then gclient runhooks (http://dev.chromium.org/developers/how-tos/get-the-code and some forum post I have since closed).

It enabled me to have the gn executable available so that create.bat (and compilation, so far) succeed
tdewolf
Newbie
 
Posts: 2
Joined: Wed Sep 14, 2016 7:07 pm

Re: Wiki: Windows compile

Postby magreenblatt » Thu Sep 15, 2016 11:11 am

If you downloaded the Chromium/CEF source code using automate-git.py then `gclient runhooks` will be run automatically by `gclient sync` as part of the Chromium download.
magreenblatt
Site Admin
 
Posts: 9838
Joined: Fri May 29, 2009 6:57 pm


Return to Modifications Forum

Who is online

Users browsing this forum: No registered users and 1 guest