aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/dev/chrome
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2016-04-29 07:08:12 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-29 07:08:12 -0700
commit7ae5627be21fec1b08c455dd544f2405c51d89b1 (patch)
treeacbfe055c57cb06cca53034557cc2623c2c250b6 /site/dev/chrome
parent5668648e875abe0a064caabef432ade4745deb89 (diff)
Update running Chromium trybots on Skia CLs docs.
Diffstat (limited to 'site/dev/chrome')
-rw-r--r--site/dev/chrome/multi_repo_trybots.md29
1 files changed, 14 insertions, 15 deletions
diff --git a/site/dev/chrome/multi_repo_trybots.md b/site/dev/chrome/multi_repo_trybots.md
index c58ae2f523..c3ffbe2fe8 100644
--- a/site/dev/chrome/multi_repo_trybots.md
+++ b/site/dev/chrome/multi_repo_trybots.md
@@ -7,14 +7,16 @@ proposed Skia change. This often happens with Skia API changes and changes
which affect Blink layout tests. While simple to do locally, this explains how
to do so on the Chromium trybots.
-The basic idea is to make your Chromium and Blink change in the usual way, but
-then pull in other changes by modifying the \<chromium>/src/DEPS file.
-
-
-Rietveld
---------
-If the the patch to be applied is to a project already in Chromium (like Skia)
-and the patch is already in Rietveld, then add the following to
+Skia only changes
+-----------------
+If the Skia patch is already in Rietveld and there are no associated Chromium
+changes, then it is possible to just run the Chromium trybots. This will apply
+the Skia patch and run the bot.
+
+Skia and Chromium changes
+-------------------------
+If the Skia patch is already in Rietveld and there are associated Chromium
+changes, then in the Chromium CL add the following to
\<chromium>/src/DEPS in the 'hooks' array just before the 'gyp' hook.
{
@@ -45,17 +47,14 @@ has the form 'issue\<issue>_\<patchset>.diff'.
An example of this being used can be seen at
https://crrev.com/1877673002/#ps120001 .
-Finally, run the post-sync hooks again to update the Skia source code
-
- $ gclient runhooks
-
+To test locally, run `gclient runhooks` to update the Skia source code.
Note that if your local skia patch in `third_party/skia` isn't clean (e.g., you
already applied some patch to it), then `gclient runhooks` won't successfully
run. In that case, run `git reset --hard` inside `third_party/skia` before
`gclient runhooks`.
-External changes not in rietveld
---------------------------------
+Arbitrary changes
+-----------------
If the patch is to files where the above is not possible, then it is still
possible to patch the files manually by adding the following to
\<chromium>/src/DEPS in the 'hooks' array just before the 'gyp' hook.
@@ -81,6 +80,6 @@ https://crrev.com/1866773002/#ps20001 .
Try the patch
-------------
-After committing these \<chromium>/src/DEPS and \<chromium>/src/patch/ changes
+After committing a \<chromium>/src/DEPS or \<chromium>/src/patch/ change
locally, 'git cl upload' can be used in the usual way. Be sure to add
'COMMIT=false' to the issue description to avoid accidentally checking it in.