OLD | NEW |
1 # Checking out and building Chromium on Linux | 1 # Checking out and building Chromium on Linux |
2 | 2 |
3 There are instructions for other platforms linked from the | 3 There are instructions for other platforms linked from the |
4 [get the code](get_the_code.md) page. | 4 [get the code](get_the_code.md) page. |
5 | 5 |
6 ## Instructions for Google Employees | 6 ## Instructions for Google Employees |
7 | 7 |
8 Are you a Google employee? See | 8 Are you a Google employee? See |
9 [go/building-chrome](https://goto.google.com/building-chrome) instead. | 9 [go/building-chrome](https://goto.google.com/building-chrome) instead. |
10 | 10 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 update the build files as needed. | 110 update the build files as needed. |
111 * You can replace `Default` with another name, but | 111 * You can replace `Default` with another name, but |
112 it should be a subdirectory of `out`. | 112 it should be a subdirectory of `out`. |
113 * For other build arguments, including release settings, see [GN build | 113 * For other build arguments, including release settings, see [GN build |
114 configuration](https://www.chromium.org/developers/gn-build-configuration). | 114 configuration](https://www.chromium.org/developers/gn-build-configuration). |
115 The default will be a debug component build matching the current host | 115 The default will be a debug component build matching the current host |
116 operating system and CPU. | 116 operating system and CPU. |
117 * For more info on GN, run `gn help` on the command line or read the | 117 * For more info on GN, run `gn help` on the command line or read the |
118 [quick start guide](../tools/gn/docs/quick_start.md). | 118 [quick start guide](../tools/gn/docs/quick_start.md). |
119 | 119 |
120 ### <a id=faster-builds></a>Faster builds | 120 ### <a name="faster-builds"></a>Faster builds |
121 | 121 |
122 This section contains some things you can change to speed up your builds, | 122 This section contains some things you can change to speed up your builds, |
123 sorted so that the things that make the biggest difference are first. | 123 sorted so that the things that make the biggest difference are first. |
124 | 124 |
125 #### Disable NaCl | 125 #### Disable NaCl |
126 | 126 |
127 By default, the build includes support for | 127 By default, the build includes support for |
128 [Native Client (NaCl)](https://developer.chrome.com/native-client), but | 128 [Native Client (NaCl)](https://developer.chrome.com/native-client), but |
129 most of the time you won't need it. You can set the GN argument | 129 most of the time you won't need it. You can set the GN argument |
130 `enable_nacl=false` and it won't be built. | 130 `enable_nacl=false` and it won't be built. |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 sudo ln -s /usr/share/fonts/truetype/verdanaz.ttf /usr/share/fonts/truetype/mstt
corefonts/Verdana_Bold_Italic.ttf | 514 sudo ln -s /usr/share/fonts/truetype/verdanaz.ttf /usr/share/fonts/truetype/mstt
corefonts/Verdana_Bold_Italic.ttf |
515 ``` | 515 ``` |
516 | 516 |
517 And then for the Java fonts: | 517 And then for the Java fonts: |
518 | 518 |
519 ```shell | 519 ```shell |
520 sudo mkdir -p /usr/share/fonts/truetype/ttf-lucida | 520 sudo mkdir -p /usr/share/fonts/truetype/ttf-lucida |
521 sudo find /usr/lib*/jvm/java-1.6.*-sun-*/jre/lib -iname '*.ttf' -print \ | 521 sudo find /usr/lib*/jvm/java-1.6.*-sun-*/jre/lib -iname '*.ttf' -print \ |
522 -exec ln -s {} /usr/share/fonts/truetype/ttf-lucida \; | 522 -exec ln -s {} /usr/share/fonts/truetype/ttf-lucida \; |
523 ``` | 523 ``` |
OLD | NEW |