OLD | NEW |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. |
noelallen1
2012/09/19 19:47:25
This should stay as Chromium I would think.
| |
3 # 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 |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """ This script creates the PPAPI project settings template. | 6 """ This script creates the PPAPI project settings template. |
7 | 7 |
8 For copyright reasons, we should not directly distribute the PPAPI template | 8 For copyright reasons, we should not directly distribute the PPAPI template |
9 because it is nearly a clone of the Win32 template which is Copyrighted. | 9 because it is nearly a clone of the Win32 template which is Copyrighted. |
10 Instead, this script copies the existing Win32 template from the user's system | 10 Instead, this script copies the existing Win32 template from the user's system |
11 and intelligently modifies the copy to be the PPAPI template. | 11 and intelligently modifies the copy to be the PPAPI template. |
12 """ | 12 """ |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
197 def main(): | 197 def main(): |
198 parser = optparse.OptionParser(usage='Usage: %prog [options]') | 198 parser = optparse.OptionParser(usage='Usage: %prog [options]') |
199 parser.add_option('-b', '--msbuild-path', dest='msbuild_path', | 199 parser.add_option('-b', '--msbuild-path', dest='msbuild_path', |
200 default=DEFAULT_MS_BUILD_DIRECTORY, | 200 default=DEFAULT_MS_BUILD_DIRECTORY, |
201 help='Provide the path to the MSBuild directory', metavar='PATH') | 201 help='Provide the path to the MSBuild directory', metavar='PATH') |
202 (options, args) = parser.parse_args() | 202 (options, args) = parser.parse_args() |
203 CreatePPAPI(options.msbuild_path) | 203 CreatePPAPI(options.msbuild_path) |
204 | 204 |
205 if __name__ == '__main__': | 205 if __name__ == '__main__': |
206 main() | 206 main() |
OLD | NEW |