Compile the chromium Browser

Source: Internet
Author: User

I found a lot of information on the Internet and finally compiled the chromium browser. Now I want to write down the compilation steps for you to share.

 

1, go here to download the tarball code: http://chromium-browser-source.commondatastorage.googleapis.com/chromium_tarball.html, this is not the latest code, whether not to update the code is up to you to decide, our company is using a proxy service, update the code will encounter timeout problem, therefore, gclient is not used.
The sync -- force command is used to update the chromium code. It is more convenient to obtain the tarball package. When I obtained the source code in May, I often encounter network disconnection problems in the next day. (Note: Run gclient sync -- force after depot_tool is installed ).

2. Download The depot_tool.

3. Install Python and SVN tools without updating the Code.

Run Python "XXX \ depot_tools \ gclient. py" runhooks under SRC to generate chrome. sln.

4. Install vs2008 + SP1

5. Install the Windows 7 SDK

6. Let vs use the new SDK,Start> All Programs> Microsoft Windows SDK> Visual Studio registration> Windows SDK Configuration tool.

7. install the DirectX SDK. Here the Microsoft DirectX SDK (June 2010) version of direct SDK is selected. d3dx9 will be used during GL compilation. h. in msvc | tools | options | projects and solutions | VC ++ directories, include: C: \ Program Files \ Microsoft
DirectX SDK (June 2010) \ include and Lib:C:\Program Files\Microsoft DirectX SDK (June 2010)\Lib\x86.

8. now I can re-compile the Chrome project. It took about five hours to compile the project. Some of the test cases have not been completed yet. When I compile the project, about 570 projects need to be compiled, have a cup of tea. Please wait. After compilation

Chrome.exe will be generated under build \ debug \ directory. There is a chrome. dll file on it, and it will be OK!

 

Compilation result:

Run chrome.exe.

Everyting is OK!

Thanks to genesisbible's article http://blog.csdn.net/genesisbible/article/details/6191540.

For more information about vs2005 compilation, see:

Http://www.cnblogs.com/maconel/archive/2010/09/29/1838744.html.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.