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

Side by Side Diff: build_tools/generate_windows_installer.py

Issue 6635045: Updates to make install_third_party build gtest and gmock on windows. Base URL: http://nativeclient-sdk.googlecode.com/svn/trunk/src/
Patch Set: Created 9 years, 9 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
« no previous file with comments | « build_tools/build_utils.py ('k') | build_tools/install_gtest/install_gtest.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright 2011, Google Inc. 2 # Copyright 2011, Google Inc.
3 # All rights reserved. 3 # All rights reserved.
4 # 4 #
5 # Redistribution and use in source and binary forms, with or without 5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are 6 # modification, are permitted provided that the following conditions are
7 # met: 7 # met:
8 # 8 #
9 # * Redistributions of source code must retain the above copyright 9 # * Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer. 10 # notice, this list of conditions and the following disclaimer.
(...skipping 23 matching lines...) Expand all
34 import optparse 34 import optparse
35 import os 35 import os
36 import shutil 36 import shutil
37 import stat 37 import stat
38 import string 38 import string
39 import subprocess 39 import subprocess
40 import sys 40 import sys
41 41
42 # TODO(NaCl SDK team): Put tumbler back in the package when it's ported. 42 # TODO(NaCl SDK team): Put tumbler back in the package when it's ported.
43 IGNORE_PATTERN = ('.download*', '.svn*', '.gitignore*', '.git*', 'tumbler*', 43 IGNORE_PATTERN = ('.download*', '.svn*', '.gitignore*', '.git*', 'tumbler*',
44 'cygwin*', 'toolchain*') 44 'cygwin*')
45 INSTALLER_DIRS = ['examples', 45 INSTALLER_DIRS = ['examples',
46 'project_templates', 46 'project_templates',
47 'third_party'] 47 'third_party']
48 INSTALLER_FILES = ['AUTHORS', 48 INSTALLER_FILES = ['AUTHORS',
49 'COPYING', 49 'COPYING',
50 'LICENSE', 50 'LICENSE',
51 'NOTICE', 51 'NOTICE',
52 'README'] 52 'README']
53 53
54 def RawVersion(): 54 def RawVersion():
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 else: 226 else:
227 print "Can not create NSIS script (even after 100 tries)" 227 print "Can not create NSIS script (even after 100 tries)"
228 228
229 # Clean up. 229 # Clean up.
230 os.chdir(home_dir) 230 os.chdir(home_dir)
231 shutil.rmtree(temp_dir) 231 shutil.rmtree(temp_dir)
232 232
233 233
234 if __name__ == '__main__': 234 if __name__ == '__main__':
235 main(sys.argv[1:]) 235 main(sys.argv[1:])
OLDNEW
« no previous file with comments | « build_tools/build_utils.py ('k') | build_tools/install_gtest/install_gtest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698