| OLD | NEW |
| 1 # Android Build Instructions | 1 # Android Build Instructions |
| 2 | 2 |
| 3 [TOC] | 3 [TOC] |
| 4 | 4 |
| 5 ## Prerequisites | 5 ## Prerequisites |
| 6 | 6 |
| 7 A Linux build machine capable of building [Chrome for | 7 A Linux build machine capable of building [Chrome for |
| 8 Linux](https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_
instructions_prerequisites.md). | 8 Linux](https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_
instructions_prerequisites.md). |
| 9 Other (Mac/Windows) platforms are not supported for Android. | 9 Other (Mac/Windows) platforms are not supported for Android. |
| 10 | 10 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 ``` | 112 ``` |
| 113 target_os = "android" | 113 target_os = "android" |
| 114 target_cpu = "arm" # (default) | 114 target_cpu = "arm" # (default) |
| 115 is_debug = true # (default) | 115 is_debug = true # (default) |
| 116 | 116 |
| 117 # Other args you may want to set: | 117 # Other args you may want to set: |
| 118 is_component_build = true | 118 is_component_build = true |
| 119 is_clang = true | 119 is_clang = true |
| 120 symbol_level = 1 # Faster build with fewer symbols. -g1 rather than -g2 | 120 symbol_level = 1 # Faster build with fewer symbols. -g1 rather than -g2 |
| 121 enable_incremental_javac = true # Much faster; experimental | 121 enable_incremental_javac = true # Much faster; experimental |
| 122 symbol_level = 1 # Faster build with fewer symbols. -g1 rather than -g2 | |
| 123 enable_incremental_javac = true # Much faster; experimental | |
| 124 ``` | 122 ``` |
| 125 | 123 |
| 126 You can also specify `target_cpu` values of "x86" and "mipsel". Re-run | 124 You can also specify `target_cpu` values of "x86" and "mipsel". Re-run |
| 127 gn args on that directory to edit the flags in the future. See the [GN | 125 gn args on that directory to edit the flags in the future. See the [GN |
| 128 build | 126 build |
| 129 configuration](https://www.chromium.org/developers/gn-build-configuration) | 127 configuration](https://www.chromium.org/developers/gn-build-configuration) |
| 130 page for other flags you may want to set. | 128 page for other flags you may want to set. |
| 131 | 129 |
| 132 ### Install build dependencies | 130 ### Install build dependencies |
| 133 | 131 |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 release of Chrome for Android (v25+) you can do the following steps. | 345 release of Chrome for Android (v25+) you can do the following steps. |
| 348 Note that in order to get your changes into the official release, you'll | 346 Note that in order to get your changes into the official release, you'll |
| 349 need to send your change for a codereview using the regular process for | 347 need to send your change for a codereview using the regular process for |
| 350 committing code to chromium. | 348 committing code to chromium. |
| 351 | 349 |
| 352 1. Open Chrome on your Android device and visit chrome://version | 350 1. Open Chrome on your Android device and visit chrome://version |
| 353 2. Copy down the id listed next to "Build ID:" | 351 2. Copy down the id listed next to "Build ID:" |
| 354 3. Go to | 352 3. Go to |
| 355 [http://storage.googleapis.com/chrome-browser-components/BUILD\_ID\_FROM\_ST
EP\_2/index.html](http://storage.googleapis.com/chrome-browser-components/BUILD_
ID_FROM_STEP_2/index.html) | 353 [http://storage.googleapis.com/chrome-browser-components/BUILD\_ID\_FROM\_ST
EP\_2/index.html](http://storage.googleapis.com/chrome-browser-components/BUILD_
ID_FROM_STEP_2/index.html) |
| 356 4. Download the listed files and follow the steps in the README. | 354 4. Download the listed files and follow the steps in the README. |
| OLD | NEW |