Page 1 of 1

Wiki: Windows compile

PostPosted: Wed Sep 14, 2016 7:12 pm
by tdewolf
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...

Re: Wiki: Windows compile

PostPosted: Wed Sep 14, 2016 8:52 pm
by magreenblatt
Those instructions do not say to run 'gclient runhooks'. Why are you doing that?

Re: Wiki: Windows compile

PostPosted: Thu Sep 15, 2016 11:01 am
by tdewolf
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

Re: Wiki: Windows compile

PostPosted: Thu Sep 15, 2016 11:11 am
by magreenblatt
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.