mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 01:08:01 +08:00
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:
parent
e50676dcf2
commit
1c78fe23bd
@ -106,6 +106,21 @@ GN and Ninja are part of the
|
|||||||
[depot_tools](https://www.chromium.org/developers/how-tos/depottools). There’s
|
[depot_tools](https://www.chromium.org/developers/how-tos/depottools). There’s
|
||||||
no need to install them separately.
|
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
|
### Android
|
||||||
|
|
||||||
Crashpad’s Android port is in its early stages. This build relies on
|
Crashpad’s Android port is in its early stages. This build relies on
|
||||||
|
Loading…
x
Reference in New Issue
Block a user