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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 class LinuxPort(base.Port): | 43 class LinuxPort(base.Port): |
44 port_name = 'linux' | 44 port_name = 'linux' |
45 | 45 |
46 SUPPORTED_VERSIONS = ('x86', 'x86_64') | 46 SUPPORTED_VERSIONS = ('x86', 'x86_64') |
47 | 47 |
48 FALLBACK_PATHS = { 'x86_64': [ 'linux' ] + win.WinPort.latest_platform_fallb
ack_path() } | 48 FALLBACK_PATHS = { 'x86_64': [ 'linux' ] + win.WinPort.latest_platform_fallb
ack_path() } |
49 FALLBACK_PATHS['x86'] = ['linux-x86'] + FALLBACK_PATHS['x86_64'] | 49 FALLBACK_PATHS['x86'] = ['linux-x86'] + FALLBACK_PATHS['x86_64'] |
50 | 50 |
51 DEFAULT_BUILD_DIRECTORIES = ('out',) | 51 DEFAULT_BUILD_DIRECTORIES = ('out',) |
52 | 52 |
| 53 BUILD_REQUIREMENTS_URL = 'https://code.google.com/p/chromium/wiki/LinuxBuild
Instructions' |
| 54 |
53 @classmethod | 55 @classmethod |
54 def _determine_driver_path_statically(cls, host, options): | 56 def _determine_driver_path_statically(cls, host, options): |
55 config_object = config.Config(host.executive, host.filesystem) | 57 config_object = config.Config(host.executive, host.filesystem) |
56 build_directory = getattr(options, 'build_directory', None) | 58 build_directory = getattr(options, 'build_directory', None) |
57 finder = WebKitFinder(host.filesystem) | 59 finder = WebKitFinder(host.filesystem) |
58 webkit_base = finder.webkit_base() | 60 webkit_base = finder.webkit_base() |
59 chromium_base = finder.chromium_base() | 61 chromium_base = finder.chromium_base() |
60 driver_name = getattr(options, 'driver_name', None) | 62 driver_name = getattr(options, 'driver_name', None) |
61 if driver_name is None: | 63 if driver_name is None: |
62 driver_name = cls.CONTENT_SHELL_NAME | 64 driver_name = cls.CONTENT_SHELL_NAME |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 | 190 |
189 def path_to_lighttpd_php(self): | 191 def path_to_lighttpd_php(self): |
190 return "/usr/bin/php-cgi" | 192 return "/usr/bin/php-cgi" |
191 | 193 |
192 def _path_to_driver(self, configuration=None): | 194 def _path_to_driver(self, configuration=None): |
193 binary_name = self.driver_name() | 195 binary_name = self.driver_name() |
194 return self._build_path_with_configuration(configuration, binary_name) | 196 return self._build_path_with_configuration(configuration, binary_name) |
195 | 197 |
196 def _path_to_helper(self): | 198 def _path_to_helper(self): |
197 return None | 199 return None |
OLD | NEW |