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

Side by Side Diff: Tools/Scripts/webkitpy/layout_tests/port/mac.py

Issue 196413027: Point to build requirements page when there is a dependency check failure. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 FALLBACK_PATHS['mavericks'] = ['mac'] 52 FALLBACK_PATHS['mavericks'] = ['mac']
53 FALLBACK_PATHS['mountainlion'] = ['mac-mountainlion'] + FALLBACK_PATHS['mave ricks'] 53 FALLBACK_PATHS['mountainlion'] = ['mac-mountainlion'] + FALLBACK_PATHS['mave ricks']
54 FALLBACK_PATHS['retina'] = ['mac-retina'] + FALLBACK_PATHS['mountainlion'] 54 FALLBACK_PATHS['retina'] = ['mac-retina'] + FALLBACK_PATHS['mountainlion']
55 FALLBACK_PATHS['lion'] = ['mac-lion'] + FALLBACK_PATHS['mountainlion'] 55 FALLBACK_PATHS['lion'] = ['mac-lion'] + FALLBACK_PATHS['mountainlion']
56 FALLBACK_PATHS['snowleopard'] = ['mac-snowleopard'] + FALLBACK_PATHS['lion'] 56 FALLBACK_PATHS['snowleopard'] = ['mac-snowleopard'] + FALLBACK_PATHS['lion']
57 57
58 DEFAULT_BUILD_DIRECTORIES = ('xcodebuild', 'out') 58 DEFAULT_BUILD_DIRECTORIES = ('xcodebuild', 'out')
59 59
60 CONTENT_SHELL_NAME = 'Content Shell' 60 CONTENT_SHELL_NAME = 'Content Shell'
61 61
62 BUILD_REQUIREMENTS_URL = 'https://code.google.com/p/chromium/wiki/MacBuildIn structions'
63
62 @classmethod 64 @classmethod
63 def determine_full_port_name(cls, host, options, port_name): 65 def determine_full_port_name(cls, host, options, port_name):
64 if port_name.endswith('mac'): 66 if port_name.endswith('mac'):
65 if host.platform.os_version in ('future',): 67 if host.platform.os_version in ('future',):
66 version = 'mavericks' 68 version = 'mavericks'
67 else: 69 else:
68 version = host.platform.os_version 70 version = host.platform.os_version
69 if host.platform.is_highdpi(): 71 if host.platform.is_highdpi():
70 version = 'retina' 72 version = 'retina'
71 return port_name + '-' + version 73 return port_name + '-' + version
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 def _path_to_driver(self, configuration=None): 121 def _path_to_driver(self, configuration=None):
120 # FIXME: make |configuration| happy with case-sensitive file systems. 122 # FIXME: make |configuration| happy with case-sensitive file systems.
121 return self._build_path_with_configuration(configuration, self.driver_na me() + '.app', 'Contents', 'MacOS', self.driver_name()) 123 return self._build_path_with_configuration(configuration, self.driver_na me() + '.app', 'Contents', 'MacOS', self.driver_name())
122 124
123 def _path_to_helper(self): 125 def _path_to_helper(self):
124 binary_name = 'layout_test_helper' 126 binary_name = 'layout_test_helper'
125 return self._build_path(binary_name) 127 return self._build_path(binary_name)
126 128
127 def _path_to_wdiff(self): 129 def _path_to_wdiff(self):
128 return 'wdiff' 130 return 'wdiff'
OLDNEW
« no previous file with comments | « Tools/Scripts/webkitpy/layout_tests/port/linux.py ('k') | Tools/Scripts/webkitpy/layout_tests/port/win.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698