1.下载depot_tools
加上不使用cygwin的情况。
从https://src.chromium.org/svn/trunk/tools/depot_tools.zip下载,解压到不要包含空格的目录下面,如:E:\Chromium\depot_tools
2.将E:\Chromium\depot_tools加入到系统PATH的最后
E:\Chromium\depot_tools
3.启动一个新的cmd,执行gclient,休息一会吧,这个过程一般会很长,会安装paython,svn等工具。
4.再执行两次
gclient --version
gclient --version
5.获取Chromium源代码
(1)先配置基本信息
git config --global user.name "My Name"
git config --global user.email "my-name@chromium.org"
git config --global core.autocrlf false
git config --global core.filemode false git config --global branch.autosetuprebase always
(2)获取Chromium源代码
fetch chromium
这个过程也很漫长,休息一下吧:)
请参考这下面的links
http://dev.chromium.org/developers/how-tos/install-depot-tools
http://dev.chromium.org/developers/how-tos/get-the-code