OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 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 | 6 |
7 """Generate Doxygen documentation.""" | 7 """Generate Doxygen documentation.""" |
8 | 8 |
9 | 9 |
10 import datetime | 10 import datetime |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 # Upload. | 67 # Upload. |
68 cmd = [gsutil_path, 'cp', '-a', 'public-read', '-R', | 68 cmd = [gsutil_path, 'cp', '-a', 'public-read', '-R', |
69 DOXYGEN_WORKING_DIR, DOXYGEN_GS_PATH] | 69 DOXYGEN_WORKING_DIR, DOXYGEN_GS_PATH] |
70 subprocess.check_call(cmd) | 70 subprocess.check_call(cmd) |
71 | 71 |
72 | 72 |
73 if '__main__' == __name__: | 73 if '__main__' == __name__: |
74 generate_and_upload_doxygen(*sys.argv[1:]) | 74 generate_and_upload_doxygen(*sys.argv[1:]) |
75 | 75 |
OLD | NEW |