OLD | NEW |
1 # Linux-specific build instructions | 1 # Linux-specific build instructions |
2 | 2 |
3 [TOC] | 3 [TOC] |
4 | 4 |
5 ## Get the code | 5 ## Get the code |
6 | 6 |
7 [Get the Code](http://dev.chromium.org/developers/how-tos/get-the-code). The | 7 [Get the Code](http://dev.chromium.org/developers/how-tos/get-the-code). The |
8 general instructions on the "Get the code" page cover basic Linux build setup | 8 general instructions on the "Get the code" page cover basic Linux build setup |
9 and configuration. | 9 and configuration. |
10 | 10 |
11 This page documents some additional Linux-specific build issues. | 11 This page documents some additional Linux-specific build issues. |
12 | 12 |
13 ## Overview | 13 ## Overview |
14 | 14 |
15 Due its complexity, Chromium uses a set of custom tools to check out and build. | 15 Due its complexity, Chromium uses a set of custom tools to check out and build. |
16 Here's an overview of the steps you'll run: | 16 Here's an overview of the steps you'll run: |
17 | 17 |
18 1. **gclient**. A checkout involves pulling nearly 100 different SVN | 18 1. **gclient**. A checkout involves pulling nearly 100 different SVN |
19 repositories of code. This process is managed with a tool called `gclient`. | 19 repositories of code. This process is managed with a tool called `gclient`. |
20 1. **GN** / **gyp**. Cross-platform build configuration systems (GYP is the | 20 1. **GN** / **gyp**. Cross-platform build configuration systems (GYP is the |
21 older one, GN is the one being transitioned to). It generates ninja build | 21 older one, GN is the one being transitioned to). It generates ninja build |
22 files. Running `gn`/`gyp` is analogous to the `./configure` step seen in | 22 files. Running `gn`/`gyp` is analogous to the `./configure` step seen in |
23 most other software. | 23 most other software. |
24 1. **ninja**. The actual build itself uses `ninja`. A prebuilt binary is in | 24 1. **ninja**. The actual build itself uses `ninja`. A prebuilt binary is in |
25 `depot_tools` and should already be in your path if you followed the steps | 25 `depot_tools` and should already be in your path if you followed the steps |
26 to check out Chromium. | 26 to check out Chromium. |
27 1. We don't provide any sort of "install" step. | 27 1. We don't provide any sort of "install" step. |
28 1. You may want to | 28 1. You may want to |
29 [use a chroot](http://code.google.com/p/chromium/wiki/UsingALinuxChroot) to | 29 [use a chroot](using_a_linux_chroot.md) to |
30 isolate yourself from versioning or packaging conflicts (or to run the | 30 isolate yourself from versioning or packaging conflicts (or to run the |
31 layout tests). | 31 layout tests). |
32 | 32 |
33 ## Getting a checkout | 33 ## Getting a checkout |
34 | 34 |
35 [Prerequisites](linux_build_instructions_prerequisites.md): what you need before | 35 [Prerequisites](linux_build_instructions_prerequisites.md): what you need before |
36 you build. | 36 you build. |
37 | 37 |
38 **Note**. If you are working on Chromium OS and already have sources in | 38 **Note**. If you are working on Chromium OS and already have sources in |
39 `chromiumos/chromium`, you **must** run `chrome_set_ver --runhooks` to set the | 39 `chromiumos/chromium`, you **must** run `chrome_set_ver --runhooks` to set the |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 * Want to use Eclipse as your IDE? See | 137 * Want to use Eclipse as your IDE? See |
138 [LinuxEclipseDev](linux_eclipse_dev.md). | 138 [LinuxEclipseDev](linux_eclipse_dev.md). |
139 * Built version as Default Browser? See | 139 * Built version as Default Browser? See |
140 [LinuxDevBuildAsDefaultBrowser](linux_dev_build_as_default_browser.md). | 140 [LinuxDevBuildAsDefaultBrowser](linux_dev_build_as_default_browser.md). |
141 | 141 |
142 ## Next Steps | 142 ## Next Steps |
143 | 143 |
144 If you want to contribute to the effort toward a Chromium-based browser for | 144 If you want to contribute to the effort toward a Chromium-based browser for |
145 Linux, please check out the [Linux Development page](linux_development.md) for | 145 Linux, please check out the [Linux Development page](linux_development.md) for |
146 more information. | 146 more information. |
OLD | NEW |