summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/linux_chromium_arm.md17
1 files changed, 6 insertions, 11 deletions
diff --git a/docs/linux_chromium_arm.md b/docs/linux_chromium_arm.md
index ea465d4..da5114c 100644
--- a/docs/linux_chromium_arm.md
+++ b/docs/linux_chromium_arm.md
@@ -4,13 +4,7 @@
## Recipe1: Building for an ARM CrOS device
-This recipe uses `ninja` (instead of `make`) so its startup time is much lower
-(sub-1s, instead of tens of seconds), is integrated with goma (for
-google-internal users) for very high parallelism, and uses `sshfs` instead of
-`scp` to significantly speed up the compile-run cycle. It has moved to
https://sites.google.com/a/chromium.org/dev/developers/how-tos/-quickly-building-for-cros-arm-x64
-(mostly b/c of the ease of attaching files to sites).
-
## Recipe2: Explicit Cross compiling
@@ -40,13 +34,14 @@ To install the sysroot manually you can run:
### Building
To build for ARM, using the clang binary in the chrome tree, use the following
-settings:
+gn args:
+
+ target_cpu = "arm"
- export GYP_CROSSCOMPILE=1
- export GYP_DEFINES="target_arch=arm"
+Or the following gyp settings:
-There variables need to be set at gyp-time (when you run `gyp_chromium`),
-but are not needed at build-time (when you run make/ninja).
+ GYP_CROSSCOMPILE=1
+ GYP_DEFINES="target_arch=arm"
## Testing