OLD | NEW |
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 29 matching lines...) Expand all Loading... |
40 class ChromiumWinPort(chromium.ChromiumPort): | 40 class ChromiumWinPort(chromium.ChromiumPort): |
41 port_name = 'chromium-win' | 41 port_name = 'chromium-win' |
42 | 42 |
43 # FIXME: Figure out how to unify this with base.TestConfiguration.all_system
s()? | 43 # FIXME: Figure out how to unify this with base.TestConfiguration.all_system
s()? |
44 SUPPORTED_VERSIONS = ('xp', 'win7') | 44 SUPPORTED_VERSIONS = ('xp', 'win7') |
45 | 45 |
46 FALLBACK_PATHS = { | 46 FALLBACK_PATHS = { |
47 'xp': [ | 47 'xp': [ |
48 'chromium-win-xp', | 48 'chromium-win-xp', |
49 'chromium-win', | 49 'chromium-win', |
50 'chromium', | |
51 ], | 50 ], |
52 'win7': [ | 51 'win7': [ |
53 'chromium-win', | 52 'chromium-win', |
54 'chromium', | |
55 ], | 53 ], |
56 } | 54 } |
57 | 55 |
58 DEFAULT_BUILD_DIRECTORIES = ('build', 'out') | 56 DEFAULT_BUILD_DIRECTORIES = ('build', 'out') |
59 | 57 |
60 @classmethod | 58 @classmethod |
61 def determine_full_port_name(cls, host, options, port_name): | 59 def determine_full_port_name(cls, host, options, port_name): |
62 if port_name.endswith('-win'): | 60 if port_name.endswith('-win'): |
63 assert host.platform.is_win() | 61 assert host.platform.is_win() |
64 # We don't maintain separate baselines for vista, so we pretend it i
s win7. | 62 # We don't maintain separate baselines for vista, so we pretend it i
s win7. |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 def _path_to_helper(self): | 145 def _path_to_helper(self): |
148 binary_name = 'LayoutTestHelper.exe' | 146 binary_name = 'LayoutTestHelper.exe' |
149 return self._build_path(binary_name) | 147 return self._build_path(binary_name) |
150 | 148 |
151 def _path_to_image_diff(self): | 149 def _path_to_image_diff(self): |
152 binary_name = 'ImageDiff.exe' | 150 binary_name = 'ImageDiff.exe' |
153 return self._build_path(binary_name) | 151 return self._build_path(binary_name) |
154 | 152 |
155 def _path_to_wdiff(self): | 153 def _path_to_wdiff(self): |
156 return self.path_from_chromium_base('third_party', 'cygwin', 'bin', 'wdi
ff.exe') | 154 return self.path_from_chromium_base('third_party', 'cygwin', 'bin', 'wdi
ff.exe') |
OLD | NEW |