OLD | NEW |
1 # Linux Chromium Arm Recipes | 1 # Linux Chromium Arm Recipes |
2 | 2 |
3 [TOC] | 3 [TOC] |
4 | 4 |
5 ## Recipe1: Building for an ARM CrOS device | 5 ## Recipe1: Building for an ARM CrOS device |
6 | 6 |
7 https://sites.google.com/a/chromium.org/dev/developers/how-tos/-quickly-building
-for-cros-arm-x64 | 7 https://sites.google.com/a/chromium.org/dev/developers/how-tos/-quickly-building
-for-cros-arm-x64 |
8 | 8 |
9 ## Recipe2: Explicit Cross compiling | 9 ## Recipe2: Explicit Cross compiling |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 target_cpu = "arm" | 39 target_cpu = "arm" |
40 | 40 |
41 ## Testing | 41 ## Testing |
42 | 42 |
43 ### Automated Build and Testing | 43 ### Automated Build and Testing |
44 | 44 |
45 Chromium's testing infrastructure for ARM/Linux is somewhat limited. | 45 Chromium's testing infrastructure for ARM/Linux is somewhat limited. |
46 There are currently two builders setup, one on the FYI waterfall and one | 46 There are currently two builders setup, one on the FYI waterfall and one |
47 the the try bot waterfall: | 47 the the try bot waterfall: |
48 | 48 |
49 * [Linux ARM](http://build.chromium.org/p/chromium.fyi/builders/Linux%20ARM) | 49 * [Linux ARM](https://build.chromium.org/p/chromium.fyi/builders/Linux%20ARM) |
50 * [linux_arm](http://build.chromium.org/p/tryserver.chromium.linux/builders/li
nux_arm) | 50 * [linux_arm](https://build.chromium.org/p/tryserver.chromium.linux/builders/l
inux_arm) |
51 | 51 |
52 These bots run x86-64 linux and cross-compile the ARM targets. Tests are | 52 These bots run x86-64 linux and cross-compile the ARM targets. Tests are |
53 run on ARM hardware via swarming. | 53 run on ARM hardware via swarming. |
54 | 54 |
55 ### Testing with QEMU | 55 ### Testing with QEMU |
56 | 56 |
57 If you don't have a real ARM machine, you can test with QEMU. For instance, | 57 If you don't have a real ARM machine, you can test with QEMU. For instance, |
58 there are some prebuilt QEMU Debian images here: | 58 there are some prebuilt QEMU Debian images here: |
59 http://people.debian.org/~aurel32/qemu/. Another option is to use the rootfs | 59 http://people.debian.org/~aurel32/qemu/. Another option is to use the rootfs |
60 generated by rootstock, as mentioned above. | 60 generated by rootstock, as mentioned above. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 Modes "1024x768" "800x600" "640x480" | 95 Modes "1024x768" "800x600" "640x480" |
96 EndSubSection | 96 EndSubSection |
97 EndSection | 97 EndSection |
98 ``` | 98 ``` |
99 | 99 |
100 ### Notes | 100 ### Notes |
101 | 101 |
102 * To building for thumb reduces the stripped release binary by around 9MB, | 102 * To building for thumb reduces the stripped release binary by around 9MB, |
103 equating to ~33% of the binary size. To enable thumb, set `'arm_thumb': 1` | 103 equating to ~33% of the binary size. To enable thumb, set `'arm_thumb': 1` |
104 * TCmalloc does not have an ARM port, so it is disabled. | 104 * TCmalloc does not have an ARM port, so it is disabled. |
OLD | NEW |