Chromium Code Reviews| Index: tools/gn/docs/quick_start.md |
| diff --git a/tools/gn/docs/quick_start.md b/tools/gn/docs/quick_start.md |
| index 49f16ae08be33b2a32e749ad653eb33590518e20..1ce79c59b0dc8a098454a27d774eaa3374b97230 100644 |
| --- a/tools/gn/docs/quick_start.md |
| +++ b/tools/gn/docs/quick_start.md |
| @@ -50,6 +50,22 @@ on how to use these in your code. (Note that you have to specify the |
| build directory for this command because the available arguments can |
| change according to what's set. |
| +## Cross-compiling to a target OS or architecture |
| + |
| +Run `gn args out/Default` (substituting your build directory as needed) and |
| +add one or more of the following lines for common cross-compiling options. |
| + |
| +``` |
| +target_os="chromeos" |
|
brettw
2015/06/19 17:47:06
Can you put spaces on each side of the = in these
dmazzoni
2015/07/16 19:30:02
Done.
|
| +target_os="android" |
| + |
| +target_cpu="arm" |
| +target_cpu="x86" |
| +target_cpu="x64" |
| +``` |
| + |
| +See [GNCrossCompiles](cross_compiles.md) for more info. |
| + |
| ## Configuring goma |