ubuntu12.04下编译chrome

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

 

 

 

 

posted on 2013-11-09 21:32  J.evan  阅读(348)  评论(0编辑  收藏  举报