Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: tools/mb/docs/design_spec.md

Issue 1440173002: Update MB for the new way to run 'analyze'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: original patch for review Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/mb/mb.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/mb/docs/design_spec.md
diff --git a/tools/mb/docs/design_spec.md b/tools/mb/docs/design_spec.md
index 55f8c794d2bfb0680c3765094b4e5add67e79be8..525a02b0672a127b075df7a94a9a58e8357424d1 100644
--- a/tools/mb/docs/design_spec.md
+++ b/tools/mb/docs/design_spec.md
@@ -187,8 +187,11 @@ treat this as an error, if so desired.
Any of the three inputs may be an empty list:
-* It doesn't make sense to call analyze at all if no files were modified,
- so this should probably return an error.
+* It normally doesn't make sense to call analyze at all if no files
+ were modified, but in rare cases we can hit a race where we try to
+ test a patch after it has already been committed, in which case
+ the list of modified files is empty. We should return 'no dependency'
+ in that case.
Dirk Pranke 2015/11/13 02:14:28 sky@, you might want to double-check that GYP hand
sky 2015/11/13 16:26:49 GYP ends up generating an error in this case. I do
* Passing an empty list for one or the other of test_targets and
additional_compile_targets is perfectly sensible: in the former case,
« no previous file with comments | « no previous file | tools/mb/mb.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698