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 20 matching lines...) Expand all Loading... |
31 ./chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py \ | 31 ./chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py \ |
32 --arch=arm | 32 --arch=arm |
33 | 33 |
34 ### Building | 34 ### Building |
35 | 35 |
36 To build for ARM, using the clang binary in the chrome tree, use the following | 36 To build for ARM, using the clang binary in the chrome tree, use the following |
37 gn args: | 37 gn args: |
38 | 38 |
39 target_cpu = "arm" | 39 target_cpu = "arm" |
40 | 40 |
41 Or the following gyp settings: | |
42 | |
43 GYP_CROSSCOMPILE=1 | |
44 GYP_DEFINES="target_arch=arm" | |
45 | |
46 ## Testing | 41 ## Testing |
47 | 42 |
48 ### Automated Build and Testing | 43 ### Automated Build and Testing |
49 | 44 |
50 Chromium's testing infrastructure for ARM/Linux is somewhat limited. | 45 Chromium's testing infrastructure for ARM/Linux is somewhat limited. |
51 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 |
52 the the trybot waterfall: | 47 the the trybot waterfall: |
53 | 48 |
54 * [Linux ARM](http://build.chromium.org/p/chromium.fyi/builders/Linux%20ARM) | 49 * [Linux ARM](http://build.chromium.org/p/chromium.fyi/builders/Linux%20ARM) |
55 * [linux_arm](http://build.chromium.org/p/tryserver.chromium.linux/builders/li
nux_arm) | 50 * [linux_arm](http://build.chromium.org/p/tryserver.chromium.linux/builders/li
nux_arm) |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 Modes "1024x768" "800x600" "640x480" | 95 Modes "1024x768" "800x600" "640x480" |
101 EndSubSection | 96 EndSubSection |
102 EndSection | 97 EndSection |
103 ``` | 98 ``` |
104 | 99 |
105 ### Notes | 100 ### Notes |
106 | 101 |
107 * 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, |
108 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` |
109 * 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 |