赞
踩
1.vpn一个
2.vs2013或者vs2015
3.足够大的硬盘空间,大于10G吧
4.win10 SDK
5.DirectX SDK
开始工作:
1 首先下载depot_tools工具
2 把下载的depot_tools.zip解压出来,路径不要有中文。
3 在depot_tools文件夹里面创建一个chromium的文件夹,用于存放后续下载的chrome源码;
4 打开cmd,cd到depot_tools路径下;
5 执行,注意:不带任何参数
gclient
6 将F:\opencode\chrome\depot_tools绝对路径加入到“环境变量”,重新打开一个cmd,进入chromium
cd chromium
fetch --nohooks --no-history chromium
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
set GYP_MSVS_VERSION=2013
set GYP_GENERATORS=msvs-ninja,ninja
set GYP_DEFINES=component=shared_library
gclient runhooks
执行完成,也就生成了sln的工程了。
参考:
https://www.chromium.org/developers/how-tos/build-instructions-windows
https://www.chromium.org/developers/how-tos/get-the-code
http://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up
http://wendal.net/2015/02/04.html
http://www.wjxfpf.com/2015/10/103332.html
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。