| OLD | NEW |
| 1 # Cr | 1 # Cr |
| 2 | 2 |
| 3 Cr is the new unified interface to the myriad tools we use while working within | 3 Cr is a tool that tries to hide some of the tools used for working on Chromium |
| 4 a chromium checkout. Its main additional feature is that it allows you to build | 4 behind an abstraction layer. Nothing that cr does can't be done manually, but cr |
| 5 many configurations and run targets within a single checkout (by not relying on | 5 attempts to make things nicer. Its main additional feature is that it allows you |
| 6 a directory called 'out'). This is especially important when you want to | 6 to build many configurations and run targets within a single checkout (by not |
| 7 cross-compile (for instance, building android from linux or building arm from | 7 relying on a directory called 'out'). This is especially important when you want |
| 8 to cross-compile (for instance, building android from linux or building arm from |
| 8 intel), but it extends to any build variation. | 9 intel), but it extends to any build variation. |
| 9 | 10 |
| 10 [TOC] | 11 [TOC] |
| 11 | 12 |
| 12 ## A quick example | 13 ## A quick example |
| 13 | 14 |
| 14 The following is all you need to prepare an output directory, and then build and | 15 The following is all you need to prepare an output directory, and then build and |
| 15 run the release build of chrome for the host platform: | 16 run the release build of chrome for the host platform: |
| 16 | 17 |
| 17 ```shell | 18 ```shell |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 to infer from the target whether it is a runnable binary or a test. The | 209 to infer from the target whether it is a runnable binary or a test. The |
| 209 inference could be improved, and it needs to handle the other test types as | 210 inference could be improved, and it needs to handle the other test types as |
| 210 well. | 211 well. |
| 211 * **No support for windows or mac** : allowed for in the design, but need | 212 * **No support for windows or mac** : allowed for in the design, but need |
| 212 people with expertise on those platforms to help out | 213 people with expertise on those platforms to help out |
| 213 * **Bash completion** : The hooks for it are there, but at the moment it only | 214 * **Bash completion** : The hooks for it are there, but at the moment it only |
| 214 ever completes the command, not any of the arguments | 215 ever completes the command, not any of the arguments |
| 215 | 216 |
| 216 [Report a bug]: | 217 [Report a bug]: |
| 217 https://code.google.com/p/chromium/issues/entry?comment=%3CDont%20forget%20to%20
attach%20the%20command%20lines%20used%20with%20-v=4%20if%20possible%3E&pri=2&lab
els=OS-Android,tool-cr,Build-Tools,Type-Bug&owner=iancottrell@chromium.org&statu
s=Assigned | 218 https://code.google.com/p/chromium/issues/entry?comment=%3CDont%20forget%20to%20
attach%20the%20command%20lines%20used%20with%20-v=4%20if%20possible%3E&pri=2&lab
els=OS-Android,tool-cr,Build-Tools,Type-Bug&owner=iancottrell@chromium.org&statu
s=Assigned |
| OLD | NEW |