Building chromium on Windows

828 views
Skip to first unread message

endaman

unread,
Apr 14, 2011, 7:00:51 AM4/14/11
to Chromium-discuss
Hi,

On Windows I have synced to Chromium build version 12.0.700.0 and I
want to build it on Windows.

The building documentation tells me to open chrome/chrome.sln but
no .sln files exist in my download of chromium.

How can I get these?

Thanks,
EM

PhistucK

unread,
Apr 14, 2011, 7:09:42 AM4/14/11
to eman...@gmail.com, Chromium-discuss
Try running -
gclient runhooks
It should generate the SLN/VCPROJ/other files.

PhistucK




--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
   http://groups.google.com/a/chromium.org/group/chromium-discuss

endaman

unread,
Apr 15, 2011, 4:23:01 AM4/15/11
to Chromium-discuss
When I run runhooks I get this problem.

/////
C:\code\googlecode\chromium>gclient runhooks

________ running 'C:\code\googlecode\depot_tools\depot_tools
\depot_tools\python_
bin\python.exe src/build/gyp_chromium' in 'C:\code\googlecode
\chromium'
Traceback (most recent call last):
File "src/build/gyp_chromium", line 20, in <module>
import gyp
ImportError: No module named gyp
Error: C:\code\googlecode\depot_tools\depot_tools\depot_tools
\python_bin\python.
exe src/build/gyp_chromium in C:\code\googlecode\chromium returned 1
////////////////////

I even did a new gclient sync to the same version and still get this
problem.

PYTHONHOME == C:\code\googlecode\depot_tools\depot_tools\depot_tools
\python_bin
PYTHONPATH == C:\code\googlecode\depot_tools\depot_tools\depot_tools
\python_bin




On Apr 14, 12:09 pm, PhistucK <phist...@gmail.com> wrote:
> Try running -
> gclient runhooks
> It should generate the SLN/VCPROJ/other files.
>
> ☆*PhistucK*
>
>
>
>
>
>
>
> On Thu, Apr 14, 2011 at 14:00, endaman <emann...@gmail.com> wrote:
> > Hi,
>
> > On Windows I have synced to Chromium build version 12.0.700.0 and I
> > want to build it on Windows.
>
> > The building documentation tells me to open chrome/chrome.sln but
> > no .sln files exist in my download of chromium.
>
> > How can I get these?
>
> > Thanks,
> > EM
>
> > --
> > Chromium Discussion mailing list: chromium-disc...@chromium.org

PhistucK

unread,
Apr 15, 2011, 4:37:28 AM4/15/11
to eman...@gmail.com, Chromium-discuss
Why do the depot_tools reside in such a weirdly structure path?
Try to move it into c:\code\googlecode\chromium (so it would be c:\code\googlecode\chromium\depot_tools\python_bin\python.exe) and run gclient sync --forcwithin c:\code\googlecode\chromium (if it says "gclient not found" or something similar, run it within depot_tools of that same path).

Hopefully that will solve it...
PhistucK



Chromium Discussion mailing list: chromium...@chromium.org

endaman

unread,
Apr 15, 2011, 6:54:05 AM4/15/11
to Chromium-discuss
Thank you kindly,
that worked a treat.

EM

On Apr 15, 9:37 am, PhistucK <phist...@gmail.com> wrote:
> Why do the depot_tools reside in such a weirdly structure path?
> Try to move it into c:\code\googlecode\chromium (so it would be
> c:\code\googlecode\chromium\depot_tools\python_bin\python.exe) and run gclie
> nt sync --force within c:\code\googlecode\chromium (if it says "gclient not
> found" or something similar, run it within depot_tools of that same path).
>
> Hopefully that will solve it...
> ☆*PhistucK*

Demetrios Papadopoulos

unread,
Apr 15, 2011, 12:30:12 PM4/15/11
to eman...@gmail.com, Chromium-discuss
Do you have an src folder under C:\code\googlecode\chromium? If yes, then I think you should run gclient runhooks from within that folder.


--
Chromium Discussion mailing list: chromium...@chromium.org

endaman

unread,
Apr 18, 2011, 5:35:13 AM4/18/11
to Chromium-discuss
Hi,

I am adding this question to this post as it may be related to my
earlier steps.

When I build chrome using Visual Studio I get this error.
.\installer\util\browser_distribution.cc(28) : fatal error C1083:
Cannot open include file: 'installer_util_strings.h': No such file or
directory

I can not find this file or its the installer_util_strings project
anywhere on my machine.

Any ideas on this?
Thanks,
EM

On Apr 15, 5:30 pm, Demetrios Papadopoulos <dpa...@chromium.org>
wrote:
Reply all
Reply to author
Forward
0 new messages