3

我已经下载了 Chromium 的源代码,并且有所谓的内容模块 + content_shell(这是一个使用内容模块构建的基本浏览器)。我想建立这两个。我找不到任何有用的文档。我看到了一些 gypi 文件,但不知道如何使用它们。

PS 有没有我可以只下载 Content API + Content Shell 的软件包?这样他们两个都将与其他人完全分开?

4

2 回答 2

14

您需要遵循以下构建说明之一: http: //dev.chromium.org/developers/how-tos/build-instructions-windowshttp://code.google.com/p/chromium/wiki/MacBuildInstructionshttp://code.google.com/p/chromium/wiki/LinuxBuildInstructions。一旦您知道如何在适当的平台上构建,您要构建的目标就是“content_shell”。例如,在 Linux 上,要在调试模式下构建 content_shell,您可以像这样使用 ninja:

ninja -C out/Debug -j10 content_shell
于 2012-06-21T02:35:04.933 回答
0

https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_tests_in_content_shell.md

autoninja -C out/Default blink_tests
于 2019-02-27T02:36:02.403 回答