| 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 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 class ChromiumLinuxPort(chromium.ChromiumPort): | 39 class ChromiumLinuxPort(chromium.ChromiumPort): |
| 40 port_name = 'chromium-linux' | 40 port_name = 'chromium-linux' |
| 41 | 41 |
| 42 SUPPORTED_ARCHITECTURES = ('x86', 'x86_64') | 42 SUPPORTED_ARCHITECTURES = ('x86', 'x86_64') |
| 43 | 43 |
| 44 FALLBACK_PATHS = { | 44 FALLBACK_PATHS = { |
| 45 'x86_64': [ | 45 'x86_64': [ |
| 46 'chromium-linux', | 46 'chromium-linux', |
| 47 'chromium-win', | 47 'chromium-win', |
| 48 'chromium', | |
| 49 ], | 48 ], |
| 50 'x86': [ | 49 'x86': [ |
| 51 'chromium-linux-x86', | 50 'chromium-linux-x86', |
| 52 'chromium-linux', | 51 'chromium-linux', |
| 53 'chromium-win', | 52 'chromium-win', |
| 54 'chromium', | |
| 55 ], | 53 ], |
| 56 } | 54 } |
| 57 | 55 |
| 58 DEFAULT_BUILD_DIRECTORIES = ('sconsbuild', 'out') | 56 DEFAULT_BUILD_DIRECTORIES = ('sconsbuild', 'out') |
| 59 | 57 |
| 60 @classmethod | 58 @classmethod |
| 61 def _determine_driver_path_statically(cls, host, options): | 59 def _determine_driver_path_statically(cls, host, options): |
| 62 config_object = config.Config(host.executive, host.filesystem) | 60 config_object = config.Config(host.executive, host.filesystem) |
| 63 build_directory = getattr(options, 'build_directory', None) | 61 build_directory = getattr(options, 'build_directory', None) |
| 64 webkit_base = WebKitFinder(host.filesystem).webkit_base() | 62 webkit_base = WebKitFinder(host.filesystem).webkit_base() |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 | 159 |
| 162 def _path_to_lighttpd_php(self): | 160 def _path_to_lighttpd_php(self): |
| 163 return "/usr/bin/php-cgi" | 161 return "/usr/bin/php-cgi" |
| 164 | 162 |
| 165 def _path_to_driver(self, configuration=None): | 163 def _path_to_driver(self, configuration=None): |
| 166 binary_name = self.driver_name() | 164 binary_name = self.driver_name() |
| 167 return self._build_path_with_configuration(configuration, binary_name) | 165 return self._build_path_with_configuration(configuration, binary_name) |
| 168 | 166 |
| 169 def _path_to_helper(self): | 167 def _path_to_helper(self): |
| 170 return None | 168 return None |
| OLD | NEW |