docs: Mention to add `use_system_xcode=true`

Also fix the name of the docs/building.md file.

Bug:

Change-Id: I342adcbc1427c533d2248d23d53f169d4a4a54cd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/34466
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez 2020-12-02 15:59:49 +00:00 committed by Commit Bot service account
parent bb913a94da
commit 429a12542f
2 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,7 @@ Helpful links:
Developer documentation:
- [Dawn overview](docs/overview.md)
- [Building Dawn](docs/buiding.md)
- [Building Dawn](docs/building.md)
- [Contributing to Dawn](CONTRIBUTING.md)
- [Testing Dawn](docs/testing.md)
- [Debugging Dawn](docs/debugging.md)

View File

@ -26,5 +26,7 @@ gclient sync
Then generate build files using `gn args out/Debug` or `gn args out/Release`.
A text editor will appear asking build options, the most common option is `is_debug=true/false`; otherwise `gn args out/Release --list` shows all the possible options.
On macOS you'll want to add the `use_system_xcode=true` in most cases. (and if you're a googler please get XCode from go/xcode).
Then use `ninja -C out/Release` to build dawn and for example `./out/Release/dawn_end2end_tests` to run the tests.