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

Side by Side Diff: mojo/public/tools/download_network_service.py

Issue 917423004: Add android_x86 android_x64 to network_service download list (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase code Created 5 years, 10 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 | « no previous file | no next file » | 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 2015 The Chromium Authors. All rights reserved. 2 # Copyright 2015 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 import argparse 6 import argparse
7 import os 7 import os
8 import sys 8 import sys
9 import tempfile 9 import tempfile
10 import zipfile 10 import zipfile
11 11
12 _PLATFORMS = ["linux-x64", "android-arm"] 12 _PLATFORMS = ["linux-x64", "android-arm", "android-x86", "android-x64"]
13 _APPS = ["network_service", "network_service_apptests"] 13 _APPS = ["network_service", "network_service_apptests"]
14 _CURRENT_PATH = os.path.dirname(os.path.realpath(__file__)) 14 _CURRENT_PATH = os.path.dirname(os.path.realpath(__file__))
15 sys.path.insert(0, os.path.join(_CURRENT_PATH, "pylib")) 15 sys.path.insert(0, os.path.join(_CURRENT_PATH, "pylib"))
16 import gs 16 import gs
17 17
18 if not sys.platform.startswith("linux"): 18 if not sys.platform.startswith("linux"):
19 print "Not supported for your platform" 19 print "Not supported for your platform"
20 sys.exit(0) 20 sys.exit(0)
21 21
22 script_dir = os.path.dirname(os.path.realpath(__file__)) 22 script_dir = os.path.dirname(os.path.realpath(__file__))
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 version = version_file.read().strip() 80 version = version_file.read().strip()
81 81
82 for app in _APPS: 82 for app in _APPS:
83 download_app(app, version, args.tools_directory) 83 download_app(app, version, args.tools_directory)
84 84
85 return 0 85 return 0
86 86
87 87
88 if __name__ == "__main__": 88 if __name__ == "__main__":
89 sys.exit(main()) 89 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698