Update doc/developing.md with linux details

This information is very helpful to someone new to Crashpad to be able
to get up and running quickly (i.e. what I would have needed).

Bug: crashpad:291
Change-Id: Ibc84a009dbd7c93dd098e658cbe895957c6dca16
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1567847
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
This commit is contained in:
Peter Wen 2019-04-15 14:24:03 -04:00 committed by Commit Bot
parent e50676dcf2
commit 1c78fe23bd

View File

@ -106,6 +106,21 @@ GN and Ninja are part of the
[depot_tools](https://www.chromium.org/developers/how-tos/depottools). Theres
no need to install them separately.
#### Optional Linux Configs
To pull and use Crashpad's version of clang and sysroot, make the following
changes.
Add the following to `~/crashpad/.gclient`.
```
"custom_vars": { "pull_linux_clang": True },
```
Add these args to `out/Default/args.gn`.
```
clang_path = "//third_party/linux/clang/linux-amd64"
target_sysroot = "//third_party/linux/sysroot"
```
### Android
Crashpads Android port is in its early stages. This build relies on