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

Side by Side Diff: build/android/update_deps/update_third_party_deps.py

Issue 2820583002: Reland "Update third_party/checkstyle to 7.6.1" (Closed)
Patch Set: nit Created 3 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
« no previous file with comments | « DEPS ('k') | third_party/.gitignore » ('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/env python 1 #!/usr/bin/env python
2 # Copyright 2016 The Chromium Authors. All rights reserved. 2 # Copyright 2016 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 Uploads or downloads third party libraries to or from google cloud storage. 7 Uploads or downloads third party libraries to or from google cloud storage.
8
9 This script will only work for Android checkouts.
8 """ 10 """
9 11
10 import argparse 12 import argparse
11 import logging 13 import logging
12 import os 14 import os
13 import sys 15 import sys
14 16
15 17
16 sys.path.append(os.path.abspath( 18 sys.path.append(os.path.abspath(
17 os.path.join(os.path.dirname(__file__), os.pardir))) 19 os.path.join(os.path.dirname(__file__), os.pardir)))
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 logging.info('Skipping, not on an android checkout.') 124 logging.info('Skipping, not on an android checkout.')
123 return 0 125 return 0
124 126
125 arguments.gsutil = download_from_google_storage.Gsutil( 127 arguments.gsutil = download_from_google_storage.Gsutil(
126 download_from_google_storage.GSUTIL_DEFAULT_PATH) 128 download_from_google_storage.GSUTIL_DEFAULT_PATH)
127 return arguments.func(arguments) 129 return arguments.func(arguments)
128 130
129 131
130 if __name__ == '__main__': 132 if __name__ == '__main__':
131 sys.exit(main(sys.argv[1:])) 133 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « DEPS ('k') | third_party/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698