0

clang docs: Tweak docs on using a local clang on Windows

Bug: none
Change-Id: I90e76f3c0c441fbbb32449cb7a85c8da774e643a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1849122
Reviewed-by: Hans Wennborg <hans@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#704251}
This commit is contained in:
Nico Weber
2019-10-09 17:58:16 +00:00
committed by Commit Bot
parent 1a35e972c4
commit d9b4f45e42

@ -74,6 +74,12 @@ symbol_level = 1
is_component_build = true
```
On Windows, for `clang_base_path` use something like this instead:
```
clang_base_path = "c:/src/llvm-build"
```
You can then run `head out/gn/toolchain.ninja` and check that the first to
lines set `cc` and `cxx` to your clang binary. If things look good, run `ninja
-C out/gn` to build.