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

Side by Side Diff: tools/ninja/ninja_output.py

Issue 904143003: [ycm] The YouCompleteMe configuration is not VIM specific. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « .ycm_extra_conf.py ('k') | tools/vim/ninja-build.vim » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 the V8 project authors. All rights reserved. 1 # Copyright 2015 the V8 project authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 5
6 import os 6 import os
7 import os.path 7 import os.path
8 8
9 9
10 def GetNinjaOutputDirectory(v8_root, configuration=None): 10 def GetNinjaOutputDirectory(v8_root, configuration=None):
(...skipping 24 matching lines...) Expand all
35 debug_mtime = 0 35 debug_mtime = 0
36 try: 36 try:
37 rel_mtime = os.path.getmtime(os.path.join(release_path, test_path)) 37 rel_mtime = os.path.getmtime(os.path.join(release_path, test_path))
38 except os.error: 38 except os.error:
39 rel_mtime = 0 39 rel_mtime = 0
40 return rel_mtime >= debug_mtime 40 return rel_mtime >= debug_mtime
41 41
42 if is_release_newer('.ninja_log') or is_release_newer('.ninja_deps'): 42 if is_release_newer('.ninja_log') or is_release_newer('.ninja_deps'):
43 return release_path 43 return release_path
44 return debug_path 44 return debug_path
OLDNEW
« no previous file with comments | « .ycm_extra_conf.py ('k') | tools/vim/ninja-build.vim » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698