编译v8源代码

March 14, 2018

1、翻墙
2、git clone https://chromium.googlesource.com/chromium/tools/depottools.git
3、export PATH=pwd/depot
tools:"$PATH"
4、gclient sync
如果出现错误-client not configured; see 'gclient config' 解决方案:gclient config https://chromium.googlesource.com/v8/v8 5、fetch v8
6、git pull origin
7、cd v8 && tools/dev/v8gen.py x64.release
8、可跳过: tools/run-tests.py --gn (运行测试)