| 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 10 matching lines...) Expand all Loading... |
| 21 $ ./build/install-build-deps.sh | 21 $ ./build/install-build-deps.sh |
| 22 | 22 |
| 23 ### Installing the sysroot | 23 ### Installing the sysroot |
| 24 | 24 |
| 25 A prebuilt sysroot image is kept up to date on Cloud Storage. It will | 25 A prebuilt sysroot image is kept up to date on Cloud Storage. It will |
| 26 automatically be installed by gclient runhooks installed if you have | 26 automatically be installed by gclient runhooks installed if you have |
| 27 `target_arch=arm` in your `GYP_DEFINES`. | 27 `target_arch=arm` in your `GYP_DEFINES`. |
| 28 | 28 |
| 29 To install the sysroot manually you can run: | 29 To install the sysroot manually you can run: |
| 30 | 30 |
| 31 ./chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py \ | 31 ./build/linux/sysroot_scripts/install-sysroot.py --arch=arm |
| 32 --arch=arm | |
| 33 | 32 |
| 34 ### Building | 33 ### Building |
| 35 | 34 |
| 36 To build for ARM, using the clang binary in the chrome tree, use the following | 35 To build for ARM, using the clang binary in the chrome tree, use the following |
| 37 gn args: | 36 gn args: |
| 38 | 37 |
| 39 target_cpu = "arm" | 38 target_cpu = "arm" |
| 40 | 39 |
| 41 ## Testing | 40 ## Testing |
| 42 | 41 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 Modes "1024x768" "800x600" "640x480" | 94 Modes "1024x768" "800x600" "640x480" |
| 96 EndSubSection | 95 EndSubSection |
| 97 EndSection | 96 EndSection |
| 98 ``` | 97 ``` |
| 99 | 98 |
| 100 ### Notes | 99 ### Notes |
| 101 | 100 |
| 102 * To building for thumb reduces the stripped release binary by around 9MB, | 101 * 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` | 102 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. | 103 * TCmalloc does not have an ARM port, so it is disabled. |
| OLD | NEW |