| OLD | NEW |
| 1 # Common Build Tasks | 1 # Common Build Tasks |
| 2 | 2 |
| 3 The Chromium build system is a complicated beast of a system, and it is not very | 3 The Chromium build system is a complicated beast of a system, and it is not very |
| 4 well documented beyond the basics of getting the source and building the | 4 well documented beyond the basics of getting the source and building the |
| 5 Chromium product. This page has more advanced information about the build | 5 Chromium product. This page has more advanced information about the build |
| 6 system. | 6 system. |
| 7 | 7 |
| 8 If you're new to Chromium development, read the | 8 If you're new to Chromium development, read the |
| 9 [getting started guides](http://dev.chromium.org/developers/how-tos/get-the-code
). | 9 [getting started guides](http://dev.chromium.org/developers/how-tos/get-the-code
). |
| 10 | 10 |
| 11 There is some additional documentation on |
| 12 [setting GYP build parameters](http://dev.chromium.org/developers/gyp-environmen
t-variables). |
| 13 |
| 11 [TOC] | 14 [TOC] |
| 12 | 15 |
| 13 ## Faster Builds | 16 ## Faster Builds |
| 14 | 17 |
| 15 ### Components Build | 18 ### Components Build |
| 16 | 19 |
| 17 A non-standard build configuration is to use dynamic linking instead of static | 20 A non-standard build configuration is to use dynamic linking instead of static |
| 18 linking for the various modules in the Chromium codebase. This results in | 21 linking for the various modules in the Chromium codebase. This results in |
| 19 significantly faster link times, but is a divergence from what is shipped and | 22 significantly faster link times, but is a divergence from what is shipped and |
| 20 primarily tested. To enable the | 23 primarily tested. To enable the |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 | 147 |
| 145 $ GYP_DEFINES="branding=Chrome buildtype=Official" gclient runhooks | 148 $ GYP_DEFINES="branding=Chrome buildtype=Official" gclient runhooks |
| 146 | 149 |
| 147 Then building the `chrome` target will produce the official build. This tip can | 150 Then building the `chrome` target will produce the official build. This tip can |
| 148 be used in conjunction with changing the output directory, since changing these | 151 be used in conjunction with changing the output directory, since changing these |
| 149 defines will rebuild the world. | 152 defines will rebuild the world. |
| 150 | 153 |
| 151 Also note that some GYP\_DEFINES flags are incompatible with the official build. | 154 Also note that some GYP\_DEFINES flags are incompatible with the official build. |
| 152 If you get an error when you try to build, try removing all your flags and start | 155 If you get an error when you try to build, try removing all your flags and start |
| 153 with just the above ones. | 156 with just the above ones. |
| OLD | NEW |