The old instructions for getting the code
The old instructions for getting the code
This page is obsolete. Please see Get the Code: Checkout, Build, & Run Chromium instead.PrerequisitesChromium supports building on Windows, Mac and Linux host systems. Linux is required for building Android, and a Mac is required for building iOS. Platform-specific requirementsThis page documents common checkout and build instructions. There are platform-specific pages with additional information and requirements: Set up your environmentCheck out and install the depot_tools package. This contains the custom tools necessary to check out and build. Create a chromium directory for the checkout and change to it (you can call this whatever you like and put it wherever you like, as long as the full path has no spaces): mkdir chromium Check out the source codeUse the "fetch" tool that came with depot_tools: fetch chromium # [fetch --no-history chromium] Use Post-sync hooksSome platform-specific pages (linked above) may have extra instructions. In particular, on Ubuntu Linux run: ./build/install-build-deps.sh Optional: install API keys which allow your build to use certain Google services. This isn't necessary for most development and testing purposes. Run hooks to fetch everything needed for your build setup. gclient runhooks Update the checkoutTo sync to newer versions of the code (not necessary the first time), run the following in your src/ directory: git rebase-update The first command updates the primary Chromium source repository and rebases your local development branches on top of tip-of-tree. The second command updates all of the dependencies specified in the DEPS file. See also "More help managing your checkout" below. Setting up the buildGN is our meta-build system. It reads build configuration from gn gen out/Default
BuildingBuild Chromium (the "chrome" target) with Ninja using the command: ninja -C out/Default chrome List all GN targets by running |
相关文章
- 在Code::Blocks试用与安装vim插件
- [XState] Code a state machine
- [AngularJS] Decorator pattern for code reuse
- Entity Framework Code First学习系列目录
- Code a network packet sniffer in python for Linux
- [AngularJS] Decorator pattern for code reuse
- [ReasonML] Workshops code
- [Unit Testing for Zombie] Using Shoulda to clean up the code
- Custom tool error: Failed to generate code for the service reference ××××××. Please check other erro
- Custom tool error: Failed to generate code for the service reference ××××××. Please check other erro
- 【BSP视频教程】STM32H7视频教程第1期:初识STM32H7准备工作,了解Cortex-M7内核以及MDK,IAR,Embedded Studio,STM32CubeIDE和VS Code简单比较
- SAP Cloud for Customer CLR(Code List Restriction)的一种高级用法
- Cloud for Customer mobile应用里pass Code登录界面的绘制原理
- SAP低代码开发(Low Code Development)解决方案的一些使用截图
- Custom tool error: Failed to generate code for the service reference ××××××. Please check other erro
- 【Divide by Zero 2017 and Codeforces Round #399 (Div. 1 + Div. 2, combined) B】 Code For 1
- 【codeforces 765B】Code obfuscation
- proxy in nodejs code
- 用 VS Code 搞 Qt6:信号、槽,以及QObject
- CR(Code Review)代码评审如何发挥作用
- Java Code Examples for javax.servlet.http.Part
- 问题解决:Job for docker.service failed because the control process exited with error code
- VS code代码函数体跳转快捷键
- 嵌入式linux开发,交叉编译qt4.8.5报错:not found (try using -rpath or -rpath-link)/home/ms/work/code/qt/opensourc
- Job for rh-nginx116-nginx.service failed because the control process exited with error code.