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

Unified Diff: pylib/gyp/aix_tool.py

Issue 23707059: gyp: Add AIX support Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pylib/gyp/common.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pylib/gyp/aix_tool.py
diff --git a/pylib/gyp/sun_tool.py b/pylib/gyp/aix_tool.py
similarity index 89%
copy from pylib/gyp/sun_tool.py
copy to pylib/gyp/aix_tool.py
index 90d59c824095abbcfcae9384b03f3e37d464b36b..462c85913efb2f79d99d8f8c7a12ebe947c24e9b 100755
--- a/pylib/gyp/sun_tool.py
+++ b/pylib/gyp/aix_tool.py
@@ -3,7 +3,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""These functions are executed via gyp-sun-tool when using the Makefile
+"""These functions are executed via gyp-aix-tool when using the Makefile
generator."""
import fcntl
@@ -14,11 +14,11 @@ import sys
def main(args):
- executor = SunTool()
+ executor = AIXTool()
executor.Dispatch(args)
-class SunTool(object):
+class AIXTool(object):
"""This class performs all the SunOS tooling steps. The methods can either be
executed directly, or dispatched from an argument list."""
@@ -37,7 +37,7 @@ class SunTool(object):
def ExecFlock(self, lockfile, *cmd_list):
"""Emulates the most basic behavior of Linux's flock(1)."""
# Rely on exception handling to report errors.
- # Note that the stock python on SunOS has a bug
+ # Note that the stock python has a bug
# where fcntl.flock(fd, LOCK_EX) always fails
# with EBADF, that's why we use this F_SETLK
# hack instead.
« no previous file with comments | « no previous file | pylib/gyp/common.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698