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

Unified Diff: scripts/slave/compile.py

Issue 1931403002: Make it an error if there's more than one build rule for a single output. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build@master
Patch Set: Created 4 years, 8 months 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/compile.py
diff --git a/scripts/slave/compile.py b/scripts/slave/compile.py
index 3268c19a637b14e0ed8e0bdeec31d61ed62f523a..20beb0bfe22e2f4ad085152d19f3acaefd472647 100755
--- a/scripts/slave/compile.py
+++ b/scripts/slave/compile.py
@@ -879,7 +879,8 @@ def main_ninja(options, args):
print 'chdir to %s' % options.src_dir
os.chdir(options.src_dir)
- command = [options.ninja_path, '-C', options.target_output_dir]
+ command = [options.ninja_path, '-w', 'dupbuild=err',
+ '-C', options.target_output_dir]
# HACK(yyanagisawa): update environment files on |env| update.
# For compiling on Windows, environment in environment files are used.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698