您的位置:首页 > 其它

ubuntu12.04下编译chrome

2013-12-12 12:08 330 查看
1,直接下载压缩包:

http://chromium-browser-source.commondatastorage.googleapis.com/chromium_tarball.html


2,安装depot_tools:

http://dev.chromium.org/developers/how-tos/install-depot-tools


由于ubuntu系统中自带的有一个ninja工具,导致老是编译不过去。

一定要把depot_tools加到PATH中。

3,config:

https://code.google.com/p/chromium/wiki/CommonBuildTasks#Configuring_the_Build


主要是为了执行:

gclient runhooks


不执行这个,没法编译。

4,执行即可:

ninja -C out/Debug chrome
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: