| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 ``` | 72 ``` |
| 73 target_os = "android" | 73 target_os = "android" |
| 74 target_cpu = "arm" # (default) | 74 target_cpu = "arm" # (default) |
| 75 is_debug = true # (default) | 75 is_debug = true # (default) |
| 76 | 76 |
| 77 # Other args you may want to set: | 77 # Other args you may want to set: |
| 78 is_component_build = true | 78 is_component_build = true |
| 79 is_clang = true | 79 is_clang = true |
| 80 symbol_level = 1 # Faster build with fewer symbols. -g1 rather than -g2 | 80 symbol_level = 1 # Faster build with fewer symbols. -g1 rather than -g2 |
| 81 enable_incremental_javac = true # Much faster; experimental | 81 enable_incremental_javac = true # Much faster; experimental |
| 82 symbol_level = 1 # Faster build with fewer symbols. -g1 rather than -g2 | |
| 83 enable_incremental_javac = true # Much faster; experimental | |
| 84 ``` | 82 ``` |
| 85 | 83 |
| 86 You can also specify `target_cpu` values of "x86" and "mipsel". Re-run | 84 You can also specify `target_cpu` values of "x86" and "mipsel". Re-run |
| 87 gn args on that directory to edit the flags in the future. See the [GN | 85 gn args on that directory to edit the flags in the future. See the [GN |
| 88 build | 86 build |
| 89 configuration](https://www.chromium.org/developers/gn-build-configuration) | 87 configuration](https://www.chromium.org/developers/gn-build-configuration) |
| 90 page for other flags you may want to set. | 88 page for other flags you may want to set. |
| 91 | 89 |
| 92 ### Install build dependencies | 90 ### Install build dependencies |
| 93 | 91 |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 release of Chrome for Android (v25+) you can do the following steps. | 300 release of Chrome for Android (v25+) you can do the following steps. |
| 303 Note that in order to get your changes into the official release, you'll | 301 Note that in order to get your changes into the official release, you'll |
| 304 need to send your change for a codereview using the regular process for | 302 need to send your change for a codereview using the regular process for |
| 305 committing code to chromium. | 303 committing code to chromium. |
| 306 | 304 |
| 307 1. Open Chrome on your Android device and visit chrome://version | 305 1. Open Chrome on your Android device and visit chrome://version |
| 308 2. Copy down the id listed next to "Build ID:" | 306 2. Copy down the id listed next to "Build ID:" |
| 309 3. Go to | 307 3. Go to |
| 310 [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) | 308 [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) |
| 311 4. Download the listed files and follow the steps in the README. | 309 4. Download the listed files and follow the steps in the README. |
| OLD | NEW |