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 Chromium Authors. All rights reserved. |
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 """Creates a zip archive for the Chrome Remote Desktop Host installer. | 6 """Creates a zip archive for the Chrome Remote Desktop Host installer. |
7 | 7 |
8 This script builds a zip file that contains all the files needed to build an | 8 This script builds a zip file that contains all the files needed to build an |
9 installer for Chrome Remote Desktop Host. | 9 installer for Chrome Remote Desktop Host. |
10 | 10 |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 print "ERROR: len(--generated-files) != len(--generated-files-dst)" | 192 print "ERROR: len(--generated-files) != len(--generated-files-dst)" |
193 return 1 | 193 return 1 |
194 while len(generated_files) > len(generated_files_dst): | 194 while len(generated_files) > len(generated_files_dst): |
195 generated_files_dst.append('') | 195 generated_files_dst.append('') |
196 | 196 |
197 result = buildHostArchive(temp_dir, zip_path, source_files_root, | 197 result = buildHostArchive(temp_dir, zip_path, source_files_root, |
198 source_files, generated_files, generated_files_dst) | 198 source_files, generated_files, generated_files_dst) |
199 | 199 |
200 return 0 | 200 return 0 |
201 | 201 |
| 202 |
202 if __name__ == '__main__': | 203 if __name__ == '__main__': |
203 sys.exit(main()) | 204 sys.exit(main()) |
OLD | NEW |