summaryrefslogtreecommitdiff
path: root/tools/gyp/pylib/gyp/generator/make.py
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-08-15 18:26:48 -0700
committerRyan Dahl <ry@tinyclouds.org>2011-08-15 18:26:48 -0700
commit72246d97a243549c337ad91ab9c113ea7716a83e (patch)
tree900cb6801c487c469e2f7a773134805c6a8243ce /tools/gyp/pylib/gyp/generator/make.py
parente57ed540e638da67259f59fede9dd43da920cf3b (diff)
downloadandroid-node-v8-72246d97a243549c337ad91ab9c113ea7716a83e.tar.gz
android-node-v8-72246d97a243549c337ad91ab9c113ea7716a83e.tar.bz2
android-node-v8-72246d97a243549c337ad91ab9c113ea7716a83e.zip
Complete GYP support for Python 2.5.2
Diffstat (limited to 'tools/gyp/pylib/gyp/generator/make.py')
-rw-r--r--tools/gyp/pylib/gyp/generator/make.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/gyp/pylib/gyp/generator/make.py b/tools/gyp/pylib/gyp/generator/make.py
index 5a4b96ef47..5ebc5c96c7 100644
--- a/tools/gyp/pylib/gyp/generator/make.py
+++ b/tools/gyp/pylib/gyp/generator/make.py
@@ -29,6 +29,7 @@ import gyp.system_test
import os.path
import os
import sys
+import stat
# Debugging-related imports -- remove me once we're solid.
import code
@@ -2311,8 +2312,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, stat.S_IRWXU | stat.S_IRGRP | stat.S_IWGRP |
- stat.S_IROTH | stat.S_IWOTH) # Make file executable.
+ os.chmod(mactool_path, stat.S_IRWXU | stat.S_IRGRP | stat.S_IXGRP |
+ stat.S_IROTH | stat.S_IXOTH) # Make file executable.
# Find the list of targets that derive from the gyp file(s) being built.
needed_targets = set()