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

Unified Diff: tools/coverity/coverity.py

Issue 7172016: Add linux3 build support to chromium (base repository) (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 6 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 | « tools/code_coverage/process_coverage.py ('k') | tools/heapcheck/chrome_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/coverity/coverity.py
===================================================================
--- tools/coverity/coverity.py (revision 89310)
+++ tools/coverity/coverity.py (working copy)
@@ -135,7 +135,7 @@
print 'Elapsed time: %ds' % (time.time() - start_time)
# Do a clean build. Remove the build output directory first.
- if sys.platform == 'linux2':
+ if sys.platform.startswith('linux'):
rm_path = os.path.join(options.source_dir,'src','out',options.target)
elif sys.platform == 'win32':
rm_path = os.path.join(options.source_dir,options.solution_dir,
@@ -165,7 +165,7 @@
print 'Elapsed time: %ds' % (time.time() - start_time)
use_shell_during_make = False
- if sys.platform == 'linux2':
+ if sys.platform.startswith('linux'):
use_shell_during_make = True
os.chdir('src')
_RunCommand('pwd', options.dry_run, shell=True)
« no previous file with comments | « tools/code_coverage/process_coverage.py ('k') | tools/heapcheck/chrome_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698