Chromium:安装depot_tools及获取Chromium源代码

来源:互联网 发布:羽毛球教学软件 编辑:程序博客网 时间:2024/06/05 13:29

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.autocrlffalse
  git config --global core.filemodefalse 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


0 0
原创粉丝点击