1.在Visual Studio 2008 Command Prompt中输入set GYP_MSVS_VERSION=2008确定使用vs2008编译 2.下载http://src.chromium.org/svn/trunk/tools/depot_tools.zip 3.需要(1)python:http://src.chromium.org/svn/trunk/tools/third_party/python/(2)svn:http://src.chromium.org/svn/trunk/depot_tools/win/bootstrap/svn 4.将depot_tools,python,svn的三个路径添加到PATH环境变量中 5.设置/tools/depot_tools路径到系统路径下,旨在运行gclient 6.命令行下切换到chrome的目录,执行gclient config http://src.chromium.org/svn/trunk/src更新下载svn工具和python工具,旨在下载源码和生成源码工程文件 7.(可选)在.gclient文件中添加这些 8.切换到chrome目录,运行gclient sync --force 生成工程文件 9.或者http://build.chromium.org/buildbot/archives/chromium_tarball.html |