summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorsbc <sbc@chromium.org>2015-12-02 15:45:37 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-02 23:46:35 +0000
commit84dfa8edd49e6fc2c8f82c8cc53677e5ea52bc08 (patch)
treee68d2279d1ebec7ceddac9efd8b7239ac73843aa /docs
parent37d5552647f58f20069c485cf4203fe05839921b (diff)
downloadchromium_src-84dfa8edd49e6fc2c8f82c8cc53677e5ea52bc08.zip
chromium_src-84dfa8edd49e6fc2c8f82c8cc53677e5ea52bc08.tar.gz
chromium_src-84dfa8edd49e6fc2c8f82c8cc53677e5ea52bc08.tar.bz2
Enable arm/linux chromium to build with gn
With this change it is possible to build chromium for arm/linux using gn. TEST=ninja -C out/gn_arm/ chrome -j500 BUG=564059 Review URL: https://codereview.chromium.org/1489193002 Cr-Commit-Position: refs/heads/master@{#362820}
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