From adbae7e226e63018f388bdb197ca5c8f36514a45 Mon Sep 17 00:00:00 2001 From: "tony@chromium.org" Date: Thu, 16 Jun 2011 17:15:47 +0000 Subject: Add support for Linux kernels >=3.0-rc1 in Python related build files by: - replacing occurences of sys.platform == 'linux2' with sys.platform.startswith('linux') - congregating occurences of sys.platform in ('linux[X]', 'linuxY', ...) to sys.platform.startswith('linux') - adding the key 'linux3' to all relevant lookup dicts BUG=85845 TEST=Try building chromium on Linux >=3.0-r1 Review URL: http://codereview.chromium.org/7172016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89354 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/tools/process_dumps_linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/tools') diff --git a/chrome/tools/process_dumps_linux.py b/chrome/tools/process_dumps_linux.py index 26e37fd..3e3bf3e 100755 --- a/chrome/tools/process_dumps_linux.py +++ b/chrome/tools/process_dumps_linux.py @@ -292,7 +292,7 @@ if '__main__' == __name__: (options, args) = parser.parse_args() - if sys.platform == 'linux2': + if sys.platform.startswith('linux'): sys.exit(main_linux(options, args)) else: sys.exit(1) -- cgit v1.1