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

Side by Side Diff: webkit/tools/layout_tests/webkitpy/layout_tests/layout_package/platform_utils.py

Issue 650015: Solaris: first set of patches to make WebKit build on Solaris. This set is mo... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Platform-specific utilities and pseudo-constants 5 """Platform-specific utilities and pseudo-constants
6 6
7 Any functions whose implementations or values differ from one platform to 7 Any functions whose implementations or values differ from one platform to
8 another should be defined in their respective platform_utils_<platform>.py 8 another should be defined in their respective platform_utils_<platform>.py
9 modules. The appropriate one of those will be imported into this module to 9 modules. The appropriate one of those will be imported into this module to
10 provide callers with a common, platform-independent interface. 10 provide callers with a common, platform-independent interface.
11 11
12 This file should only ever be imported by layout_package.path_utils. 12 This file should only ever be imported by layout_package.path_utils.
13 """ 13 """
14 14
15 import sys 15 import sys
16 16
17 # We may not support the version of Python that a user has installed (Cygwin 17 # We may not support the version of Python that a user has installed (Cygwin
18 # especially has had problems), but we'll allow the platform utils to be 18 # especially has had problems), but we'll allow the platform utils to be
19 # included in any case so we don't get an import error. 19 # included in any case so we don't get an import error.
20 if sys.platform in ('cygwin', 'win32'): 20 if sys.platform in ('cygwin', 'win32'):
21 from platform_utils_win import * 21 from platform_utils_win import *
22 elif sys.platform == 'darwin': 22 elif sys.platform == 'darwin':
23 from platform_utils_mac import * 23 from platform_utils_mac import *
24 elif sys.platform in ('linux', 'linux2', 'freebsd7', 'openbsd4'): 24 elif sys.platform in ('linux', 'linux2', 'freebsd7', 'openbsd4', 'sunos5'):
25 from platform_utils_linux import * 25 from platform_utils_linux import *
OLDNEW
« no previous file with comments | « webkit/glue/webkit_resources.grd ('k') | webkit/tools/pepper_test_plugin/pepper_test_plugin.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698