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

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/linux.py

Issue 1592403002: update obsolete code.google.com documentation links (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 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
OLDNEW
1 # Copyright (C) 2010 Google Inc. All rights reserved. 1 # Copyright (C) 2010 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 SUPPORTED_VERSIONS = ('linux32', 'precise', 'trusty') 46 SUPPORTED_VERSIONS = ('linux32', 'precise', 'trusty')
47 47
48 FALLBACK_PATHS = {} 48 FALLBACK_PATHS = {}
49 FALLBACK_PATHS['trusty'] = ['linux'] + win.WinPort.latest_platform_fallback_ path() 49 FALLBACK_PATHS['trusty'] = ['linux'] + win.WinPort.latest_platform_fallback_ path()
50 FALLBACK_PATHS['precise'] = ['linux-precise'] + FALLBACK_PATHS['trusty'] 50 FALLBACK_PATHS['precise'] = ['linux-precise'] + FALLBACK_PATHS['trusty']
51 FALLBACK_PATHS['linux32'] = ['linux-x86'] + FALLBACK_PATHS['precise'] 51 FALLBACK_PATHS['linux32'] = ['linux-x86'] + FALLBACK_PATHS['precise']
52 52
53 DEFAULT_BUILD_DIRECTORIES = ('out',) 53 DEFAULT_BUILD_DIRECTORIES = ('out',)
54 54
55 BUILD_REQUIREMENTS_URL = 'https://code.google.com/p/chromium/wiki/LinuxBuild Instructions' 55 BUILD_REQUIREMENTS_URL = 'https://chromium.googlesource.com/chromium/src/+/m aster/docs/linux_build_instructions.md'
56 56
57 @classmethod 57 @classmethod
58 def _determine_driver_path_statically(cls, host, options): 58 def _determine_driver_path_statically(cls, host, options):
59 config_object = config.Config(host.executive, host.filesystem) 59 config_object = config.Config(host.executive, host.filesystem)
60 build_directory = getattr(options, 'build_directory', None) 60 build_directory = getattr(options, 'build_directory', None)
61 finder = WebKitFinder(host.filesystem) 61 finder = WebKitFinder(host.filesystem)
62 webkit_base = finder.webkit_base() 62 webkit_base = finder.webkit_base()
63 chromium_base = finder.chromium_base() 63 chromium_base = finder.chromium_base()
64 driver_name = getattr(options, 'driver_name', None) 64 driver_name = getattr(options, 'driver_name', None)
65 if driver_name is None: 65 if driver_name is None:
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 if not self.get_option('disable_breakpad'): 123 if not self.get_option('disable_breakpad'):
124 flags += ['--enable-crash-reporter', '--crash-dumps-dir=%s' % self._ dump_reader.crash_dumps_directory()] 124 flags += ['--enable-crash-reporter', '--crash-dumps-dir=%s' % self._ dump_reader.crash_dumps_directory()]
125 return flags 125 return flags
126 126
127 def check_build(self, needs_http, printer): 127 def check_build(self, needs_http, printer):
128 result = super(LinuxPort, self).check_build(needs_http, printer) 128 result = super(LinuxPort, self).check_build(needs_http, printer)
129 129
130 if result: 130 if result:
131 _log.error('For complete Linux build requirements, please see:') 131 _log.error('For complete Linux build requirements, please see:')
132 _log.error('') 132 _log.error('')
133 _log.error(' http://code.google.com/p/chromium/wiki/LinuxBuildIns tructions') 133 _log.error(' https://chromium.googlesource.com/chromium/src/+/mas ter/docs/linux_build_instructions.md')
134 return result 134 return result
135 135
136 def look_for_new_crash_logs(self, crashed_processes, start_time): 136 def look_for_new_crash_logs(self, crashed_processes, start_time):
137 if self.get_option('disable_breakpad'): 137 if self.get_option('disable_breakpad'):
138 return None 138 return None
139 return self._dump_reader.look_for_new_crash_logs(crashed_processes, star t_time) 139 return self._dump_reader.look_for_new_crash_logs(crashed_processes, star t_time)
140 140
141 def clobber_old_port_specific_results(self): 141 def clobber_old_port_specific_results(self):
142 if not self.get_option('disable_breakpad'): 142 if not self.get_option('disable_breakpad'):
143 self._dump_reader.clobber_old_results() 143 self._dump_reader.clobber_old_results()
(...skipping 24 matching lines...) Expand all
168 168
169 def _wdiff_missing_message(self): 169 def _wdiff_missing_message(self):
170 return 'wdiff is not installed; please install using "sudo apt-get insta ll wdiff"' 170 return 'wdiff is not installed; please install using "sudo apt-get insta ll wdiff"'
171 171
172 def _path_to_driver(self, configuration=None): 172 def _path_to_driver(self, configuration=None):
173 binary_name = self.driver_name() 173 binary_name = self.driver_name()
174 return self._build_path_with_configuration(configuration, binary_name) 174 return self._build_path_with_configuration(configuration, binary_name)
175 175
176 def _path_to_helper(self): 176 def _path_to_helper(self):
177 return None 177 return None
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698