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

Side by Side Diff: tools/bisect-builds.py

Issue 863033004: Add com.chrome.work as supported channel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
OLDNEW
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 """Snapshot Build Bisect Tool 6 """Snapshot Build Bisect Tool
7 7
8 This script bisects a snapshot archive using binary search. It starts at 8 This script bisects a snapshot archive using binary search. It starts at
9 a bad revision (it will try to guess HEAD) and asks for a last known-good 9 a bad revision (it will try to guess HEAD) and asks for a last known-good
10 revision. It will then binary search across this revision range by downloading, 10 revision. It will then binary search across this revision range by downloading,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 CREDENTIAL_ERROR_MESSAGE = ('You are attempting to access protected data with ' 91 CREDENTIAL_ERROR_MESSAGE = ('You are attempting to access protected data with '
92 'no configured credentials') 92 'no configured credentials')
93 93
94 # Package name needed to uninstall chrome from Android devices. 94 # Package name needed to uninstall chrome from Android devices.
95 ANDROID_CHROME_PACKAGE_NAME = { 95 ANDROID_CHROME_PACKAGE_NAME = {
96 'Chrome.apk': 'com.google.android.apps.chrome', 96 'Chrome.apk': 'com.google.android.apps.chrome',
97 'ChromeBeta.apk': 'com.chrome.beta', 97 'ChromeBeta.apk': 'com.chrome.beta',
98 'ChromeCanary.apk': 'com.chrome.canary', 98 'ChromeCanary.apk': 'com.chrome.canary',
99 'ChromeDev.apk': 'com.google.android.apps.chrome_dev', 99 'ChromeDev.apk': 'com.google.android.apps.chrome_dev',
100 'ChromeStable.apk': 'com.android.chrome', 100 'ChromeStable.apk': 'com.android.chrome',
101 'ChromeWork.apk': 'com.chrome.work',
101 } 102 }
102 103
103 ############################################################################### 104 ###############################################################################
104 105
105 import httplib 106 import httplib
106 import json 107 import json
107 import optparse 108 import optparse
108 import os 109 import os
109 import re 110 import re
110 import shlex 111 import shlex
(...skipping 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1294 1295
1295 print 'CHANGELOG URL:' 1296 print 'CHANGELOG URL:'
1296 if opts.official_builds: 1297 if opts.official_builds:
1297 print OFFICIAL_CHANGELOG_URL % (min_chromium_rev, max_chromium_rev) 1298 print OFFICIAL_CHANGELOG_URL % (min_chromium_rev, max_chromium_rev)
1298 else: 1299 else:
1299 PrintChangeLog(min_chromium_rev, max_chromium_rev) 1300 PrintChangeLog(min_chromium_rev, max_chromium_rev)
1300 1301
1301 1302
1302 if __name__ == '__main__': 1303 if __name__ == '__main__':
1303 sys.exit(main()) 1304 sys.exit(main())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698