summaryrefslogtreecommitdiff
path: root/tools/gyp
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-08-15 21:18:14 -0400
committerRyan Dahl <ry@tinyclouds.org>2011-08-15 21:18:21 -0400
commite57ed540e638da67259f59fede9dd43da920cf3b (patch)
treee128de3a824d51978298cd6bb4aa2c90b43ba98d /tools/gyp
parentb433c42a566259525487e60b128e34b32c3eecc5 (diff)
downloadandroid-node-v8-e57ed540e638da67259f59fede9dd43da920cf3b.tar.gz
android-node-v8-e57ed540e638da67259f59fede9dd43da920cf3b.tar.bz2
android-node-v8-e57ed540e638da67259f59fede9dd43da920cf3b.zip
GYP Support python 2.5.2
Diffstat (limited to 'tools/gyp')
-rw-r--r--tools/gyp/pylib/gyp/generator/make.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/gyp/pylib/gyp/generator/make.py b/tools/gyp/pylib/gyp/generator/make.py
index 986298441e..5a4b96ef47 100644
--- a/tools/gyp/pylib/gyp/generator/make.py
+++ b/tools/gyp/pylib/gyp/generator/make.py
@@ -2311,7 +2311,8 @@ def GenerateOutput(target_list, target_dicts, data, params):
if os.path.exists(mactool_path):
os.remove(mactool_path)
CopyMacTool(mactool_path)
- os.chmod(mactool_path, 0o755) # Make file executable.
+ os.chmod(mactool_path, stat.S_IRWXU | stat.S_IRGRP | stat.S_IWGRP |
+ stat.S_IROTH | stat.S_IWOTH) # Make file executable.
# Find the list of targets that derive from the gyp file(s) being built.
needed_targets = set()