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

Side by Side Diff: native_client_sdk/src/build_tools/install_third_party.py

Issue 10139026: Set svn:executable bit on scripts that are executable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update Created 8 years, 8 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 #! -*- python -*- 1 #!/usr/bin/env python
2 #
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 4 # found in the LICENSE file.
6 5
7 """Build and install all the third-party tools and libraries required to build 6 """Build and install all the third-party tools and libraries required to build
8 the SDK code. To add a script, add it to the array |THIRD_PARTY_SCRIPTS|. 7 the SDK code. To add a script, add it to the array |THIRD_PARTY_SCRIPTS|.
9 Before running the scripts, a couple of environment variables get set: 8 Before running the scripts, a couple of environment variables get set:
10 PYTHONPATH - append this script's dir to the search path for module import. 9 PYTHONPATH - append this script's dir to the search path for module import.
11 NACL_SDK_ROOT - forced to point to the root of this repo. 10 NACL_SDK_ROOT - forced to point to the root of this repo.
12 """ 11 """
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 ] 70 ]
72 71
73 for script in THIRD_PARTY_SCRIPTS: 72 for script in THIRD_PARTY_SCRIPTS:
74 print "Running install script: %s" % os.path.join(SCRIPT_DIR, script) 73 print "Running install script: %s" % os.path.join(SCRIPT_DIR, script)
75 py_command = [sys.executable, os.path.join(SCRIPT_DIR, script)] 74 py_command = [sys.executable, os.path.join(SCRIPT_DIR, script)]
76 subprocess.check_call(py_command + script_argv, env=shell_env) 75 subprocess.check_call(py_command + script_argv, env=shell_env)
77 76
78 77
79 if __name__ == '__main__': 78 if __name__ == '__main__':
80 main(sys.argv[1:]) 79 main(sys.argv[1:])
OLDNEW
« no previous file with comments | « native_client_sdk/src/build_tools/install_boost/install_boost.py ('k') | native_client_sdk/src/build_tools/manifest_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698