Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1680)

Unified Diff: docs/linux_chromium_arm.md

Issue 1489193002: Enable arm/linux chromium to build with gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_bfd_linking
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: docs/linux_chromium_arm.md
diff --git a/docs/linux_chromium_arm.md b/docs/linux_chromium_arm.md
index ea465d44bdb036719841ff0e9b6a8ba97d56e52d..da5114c8fd74c2fc0868f518cb7e44fe00b892ce 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

Powered by Google App Engine
This is Rietveld 408576698