summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authordanakj <danakj@chromium.org>2016-01-27 16:26:33 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-28 00:27:53 +0000
commit30d0f8c92a47b357789076692ec2eeb571bf312e (patch)
tree7a5062ccb25ee0461bf9706c46310c15258ba029 /docs
parent727bd37e175b238e38463e2d05e58f542a1427ac (diff)
downloadchromium_src-30d0f8c92a47b357789076692ec2eeb571bf312e.zip
chromium_src-30d0f8c92a47b357789076692ec2eeb571bf312e.tar.gz
chromium_src-30d0f8c92a47b357789076692ec2eeb571bf312e.tar.bz2
clang tools: Add --bootstrap to the documentation for update.py
This lets us build the clang tools with clang not gcc, which appears to have bugs! Also work around the gcc bug in one place we know it happens anyways, just because. R=dcheng BUG=580745 Review URL: https://codereview.chromium.org/1647733002 Cr-Commit-Position: refs/heads/master@{#371933}
Diffstat (limited to 'docs')
-rw-r--r--docs/clang_tool_refactoring.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/clang_tool_refactoring.md b/docs/clang_tool_refactoring.md
index 3d9c9ed..ef7faab 100644
--- a/docs/clang_tool_refactoring.md
+++ b/docs/clang_tool_refactoring.md
@@ -97,7 +97,7 @@ doesn't work well for Chromium:
Synopsis:
```shell
-tools/clang/scripts/update.py --force-local-build --without-android \
+tools/clang/scripts/update.py --bootstrap --force-local-build --without-android \
--tools blink_gc_plugin plugins rewrite_to_chrome_style
```
@@ -109,6 +109,9 @@ subdirectories in
[//tools/clang](https://chromium.googlesource.com/chromium/src/+/master/tools/clang).
Generally, `--tools` should always include `blink_gc_plugin` and `plugins`: otherwise, Chromium won't build.
+It is important to use --bootstrap as there appear to be [bugs](https://crbug.com/580745)
+in the clang library this script produces if you build it with gcc, which is the default.
+
## Running
First, build all chromium targets to avoid failures due to missing dependecies
that are generated as part of the build: