Update URL for GN quick start guide.
Change-Id: I8c76cf49161daf8cccaa1cfc32db8fcd930f01da Reviewed-on: https://chromium-review.googlesource.com/1178692 Reviewed-by: Dirk Pranke <dpranke@chromium.org> Commit-Queue: Dirk Pranke <dpranke@chromium.org> Cr-Commit-Position: refs/heads/master@{#583909}
This commit is contained in:

committed by
Commit Bot

parent
430c8fbe06
commit
eef401541b
@ -28,7 +28,7 @@ custom_toolchain="//build/toolchain/linux/unbundle:default"
|
||||
host_toolchain="//build/toolchain/linux/unbundle:default"
|
||||
```
|
||||
|
||||
See [more docs on GN](https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/quick_start.md).
|
||||
See [more docs on GN](https://gn.googlesource.com/gn/+/master/docs/quick_start.md).
|
||||
|
||||
To cross-compile (not fully tested), add the following:
|
||||
|
||||
|
@ -115,11 +115,11 @@ development and testing purposes.
|
||||
|
||||
## Setting up the build
|
||||
|
||||
Chromium uses [Ninja](https://ninja-build.org) as its main build tool along
|
||||
with a tool called [GN](../tools/gn/docs/quick_start.md) to generate `.ninja`
|
||||
files. You can create any number of *build directories* with different
|
||||
configurations. To create a build directory which builds Chrome for Android,
|
||||
run:
|
||||
Chromium uses [Ninja](https://ninja-build.org) as its main build tool along with
|
||||
a tool called [GN](https://gn.googlesource.com/gn/+/master/docs/quick_start.md)
|
||||
to generate `.ninja` files. You can create any number of *build directories*
|
||||
with different configurations. To create a build directory which builds Chrome
|
||||
for Android, run:
|
||||
|
||||
```shell
|
||||
gn gen --args='target_os="android"' out/Default
|
||||
|
@ -115,11 +115,11 @@ development and testing purposes.
|
||||
|
||||
## Setting up the build
|
||||
|
||||
Chromium uses [Ninja](https://ninja-build.org) as its main build tool along
|
||||
with a tool called [GN](../tools/gn/docs/quick_start.md) to generate `.ninja`
|
||||
files. You can create any number of *build directories* with different
|
||||
configurations. To create a build directory which builds Chrome for Android,
|
||||
run:
|
||||
Chromium uses [Ninja](https://ninja-build.org) as its main build tool along with
|
||||
a tool called [GN](https://gn.googlesource.com/gn/+/master/docs/quick_start.md)
|
||||
to generate `.ninja` files. You can create any number of *build directories*
|
||||
with different configurations. To create a build directory which builds Chrome
|
||||
for Android, run:
|
||||
|
||||
```shell
|
||||
$ gn gen --args='target_os="android" is_chromecast=true' out/Default
|
||||
|
@ -84,10 +84,10 @@ $ cd src
|
||||
|
||||
## Setting up the build
|
||||
|
||||
Chromium uses [Ninja](https://ninja-build.org) as its main build tool along
|
||||
with a tool called [GN](../tools/gn/docs/quick_start.md) to generate `.ninja`
|
||||
files. You can create any number of *build directories* with different
|
||||
configurations. To create a build directory, run:
|
||||
Chromium uses [Ninja](https://ninja-build.org) as its main build tool along with
|
||||
a tool called [GN](https://gn.googlesource.com/gn/+/master/docs/quick_start.md)
|
||||
to generate `.ninja` files. You can create any number of *build directories*
|
||||
with different configurations. To create a build directory, run:
|
||||
|
||||
```shell
|
||||
$ gn gen out/fuchsia --args="is_debug=false dcheck_always_on=true is_component_build=false target_os=\"fuchsia\""
|
||||
|
@ -105,10 +105,10 @@ development and testing purposes.
|
||||
|
||||
## Setting up the build
|
||||
|
||||
Chromium uses [Ninja](https://ninja-build.org) as its main build tool along
|
||||
with a tool called [GN](../tools/gn/docs/quick_start.md) to generate `.ninja`
|
||||
files. You can create any number of *build directories* with different
|
||||
configurations. To create a build directory, run:
|
||||
Chromium uses [Ninja](https://ninja-build.org) as its main build tool along with
|
||||
a tool called [GN](https://gn.googlesource.com/gn/+/master/docs/quick_start.md)
|
||||
to generate `.ninja` files. You can create any number of *build directories*
|
||||
with different configurations. To create a build directory, run:
|
||||
|
||||
```shell
|
||||
$ gn gen out/Default
|
||||
|
@ -98,10 +98,10 @@ development and testing purposes.
|
||||
|
||||
## Setting up the build
|
||||
|
||||
Chromium uses [Ninja](https://ninja-build.org) as its main build tool along
|
||||
with a tool called [GN](../tools/gn/docs/quick_start.md) to generate `.ninja`
|
||||
files. You can create any number of *build directories* with different
|
||||
configurations. To create a build directory, run:
|
||||
Chromium uses [Ninja](https://ninja-build.org) as its main build tool along with
|
||||
a tool called [GN](https://gn.googlesource.com/gn/+/master/docs/quick_start.md)
|
||||
to generate `.ninja` files. You can create any number of *build directories*
|
||||
with different configurations. To create a build directory, run:
|
||||
|
||||
```shell
|
||||
$ gn gen out/Default --args='is_chromecast=true'
|
||||
|
@ -84,10 +84,10 @@ development and testing purposes.
|
||||
|
||||
## Setting up the build
|
||||
|
||||
Chromium uses [Ninja](https://ninja-build.org) as its main build tool along
|
||||
with a tool called [GN](../tools/gn/docs/quick_start.md) to generate `.ninja`
|
||||
files. You can create any number of *build directories* with different
|
||||
configurations. To create a build directory:
|
||||
Chromium uses [Ninja](https://ninja-build.org) as its main build tool along with
|
||||
a tool called [GN](https://gn.googlesource.com/gn/+/master/docs/quick_start.md)
|
||||
to generate `.ninja` files. You can create any number of *build directories*
|
||||
with different configurations. To create a build directory:
|
||||
|
||||
```shell
|
||||
$ gn gen out/Default
|
||||
|
@ -9,14 +9,16 @@ running without a debugger attached and with the sandbox enabled.
|
||||
On all platforms, build the target `blink_tests`.
|
||||
|
||||
*** note
|
||||
**Mac:** Add `enable_dsyms = 1` to your
|
||||
[gn build arguments](../../tools/gn/docs/quick_start.md) before building. This
|
||||
slows down linking several minutes, so don't just always set it by default.
|
||||
**Mac:** Add `enable_dsyms = 1` to your [gn build
|
||||
arguments](https://gn.googlesource.com/gn/+/master/docs/quick_start.md) before
|
||||
building. This slows down linking several minutes, so don't just always set it
|
||||
by default.
|
||||
***
|
||||
|
||||
*** note
|
||||
**Linux:** Add `use_debug_fission = true` to your
|
||||
[gn build arguments](../../tools/gn/docs/quick_start.md) before building.
|
||||
**Linux:** Add `use_debug_fission = true` to your [gn build
|
||||
arguments](https://gn.googlesource.com/gn/+/master/docs/quick_start.md) before
|
||||
building.
|
||||
***
|
||||
|
||||
Then, create a directory where the crash dumps will be stored:
|
||||
|
@ -138,10 +138,10 @@ development and testing purposes.
|
||||
|
||||
## Setting up the build
|
||||
|
||||
Chromium uses [Ninja](https://ninja-build.org) as its main build tool along
|
||||
with a tool called [GN](../tools/gn/docs/quick_start.md) to generate `.ninja`
|
||||
files. You can create any number of *build directories* with different
|
||||
configurations. To create a build directory:
|
||||
Chromium uses [Ninja](https://ninja-build.org) as its main build tool along with
|
||||
a tool called [GN](https://gn.googlesource.com/gn/+/master/docs/quick_start.md)
|
||||
to generate `.ninja` files. You can create any number of *build directories*
|
||||
with different configurations. To create a build directory:
|
||||
|
||||
```shell
|
||||
$ gn gen out/Default
|
||||
@ -155,8 +155,8 @@ $ gn gen out/Default
|
||||
configuration](https://www.chromium.org/developers/gn-build-configuration).
|
||||
The default will be a debug component build matching the current host
|
||||
operating system and CPU.
|
||||
* For more info on GN, run `gn help` on the command line or read the
|
||||
[quick start guide](../tools/gn/docs/quick_start.md).
|
||||
* For more info on GN, run `gn help` on the command line or read the [quick
|
||||
start guide](https://gn.googlesource.com/gn/+/master/docs/quick_start.md).
|
||||
|
||||
### Using the Visual Studio IDE
|
||||
|
||||
|
Reference in New Issue
Block a user