.comment-link {margin-left:.6em;}


.. Hello Earthling .. \o/ :)

Generating "chrome.sln" file
Friday, July 17, 2009

This post may help you in generating chrome.sln file which you will need to load the chrome browser's source in visual studio 2005 for building it. So you must have noticed that this page tells you to load the chrome/chrome.sln in vs. But you look and you cannot find it. First make sure that your depot_tools are ready to be used. I used TortoiseSvn to get the source for depot_tools but you can download it also. After getting the depot_tools source you need to add it to the Path environment variable so that you can than use it from within any folder in the chrome's source. So once added, you goto the path where chrome browser's source is which is this chrometrunk\chrome-svn\tarball\chromium\src\chrome on my pc, and write:
gclient runhooks --force
after this the output on my console was:
Installing subversion ...
Installing python ...

________ running 'T:\Downloads\depot_tools\python_bin\python.exe
src/tools/gyp/gyp_dogfood src/build/all.gyp' in
Updating projects from gyp files...

After this, your current directory should be filled with the *.vcproj and *.sln files which you know what you want to use them for.
If in case things dont go as smooth as I mentioned up there, you should follow this post, i think it'll help:

btw the build takes painfully long time :)

thanks a lot!

worked pretty well!

your blog is now bookmarked
Hi While doing the same, I am not getting any *.sln file in folder it is throwing following error :

svn: OPTIONS of 'http://src.chromium.org/svn/trunk/tools/depot_tools': could not
connect to server (http://src.chromium.org)
svn: OPTIONS of 'http://src.chromium.org/svn/trunk/tools/depot_tools': could not
connect to server (http://src.chromium.org)

________ running 'C:\Users\Administrator\Desktop\depot_tools\depot_tools\python_
bin\python.exe src/build/gyp_chromium' in 'C:\Users\Administrator\Desktop\home\c
Updating projects from gyp files..

please provide me the solution
Thanks a lot...
Make sure
1. source code is updated when chrome tree is open (http://build.chromium.org/p/chromium/console)
2. execute the command ./gclient runhooks --force , which provide you proper sln.
3. Open main file to the visual stdio 2010 and follow the instruction as giving on page http://www.chromium.org/developers/how-tos/build-instructions-windows

Thank you so much for your blog.. Really helped me..
But I have been trying to build it in cmd.exe using:
gclient runhooks --force
and the execution has been gng on for more than 12hours now.

Please suggest if this is normal?
No .sln files have been generated until now
Post a Comment

Links to this post:

Create a Link

<< Home


MSDN Blogs
Joel Pobar
Don Syme

Muhammad Ali
Lahore Food Blog

Tech Blog



June 2004   July 2004   August 2004   September 2004   October 2004   November 2004   December 2004   February 2005   April 2005   June 2005   July 2005   September 2005   October 2005   November 2005   June 2007   December 2007   January 2008   March 2008   April 2008   June 2008   October 2008   February 2009   May 2009   June 2009   July 2009   August 2009   March 2011   June 2011   July 2011   September 2011   October 2011   November 2011   December 2012   May 2013   October 2013   May 2014   March 2015   July 2015   August 2015   December 2015   March 2016   July 2016   October 2016   November 2016   July 2017   December 2017   May 2018  

This page is powered by Blogger. Isn't yours?