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

Side by Side Diff: site_config/config.py

Issue 3777004: Fix imports and bring over a missing file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: Created 10 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « scripts/master/factory/chromeos_factory.py ('k') | 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/python 1 #!/usr/bin/python
2 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2010 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 """Declares a number of site-dependent variables for use by scripts. 6 """Declares a number of site-dependent variables for use by scripts.
7 7
8 A typical use of this module would be 8 A typical use of this module would be
9 9
10 import chromium_config as config 10 import chromium_config as config
11 11
12 v8_url = config.Master.v8_url 12 v8_url = config.Master.v8_url
13 """ 13 """
14 14
15 import os 15 import os
16 import sys 16 import sys
17 17
18 from twisted.spread import banana 18 from twisted.spread import banana
19 19
20 try: 20 import config_private
21 import config_private
22 except:
23 import config_default as config_private
24 from common import chromium_utils 21 from common import chromium_utils
25 22
26 # By default, the banana's string size limit is 640kb, which is unsufficient 23 # By default, the banana's string size limit is 640kb, which is unsufficient
27 # when passing diff's around. Raise it to 100megs. Do this here since the limit 24 # when passing diff's around. Raise it to 100megs. Do this here since the limit
28 # is enforced on both the server and the client so both need to raise the 25 # is enforced on both the server and the client so both need to raise the
29 # limit. 26 # limit.
30 banana.SIZE_LIMIT = 100 * 1024 * 1024 27 banana.SIZE_LIMIT = 100 * 1024 * 1024
31 28
32 29
33 class Master(config_private.Master): 30 class Master(config_private.Master):
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 202
206 # Where to find layout test results by default, above the build directory. 203 # Where to find layout test results by default, above the build directory.
207 layout_test_result_dir = 'layout-test-results' 204 layout_test_result_dir = 'layout-test-results'
208 205
209 # Where to save layout test results. 206 # Where to save layout test results.
210 layout_test_result_archive = www_dir_base + 'layout_test_results' 207 layout_test_result_archive = www_dir_base + 'layout_test_results'
211 208
212 # Where to save gtest JSON results. 209 # Where to save gtest JSON results.
213 gtest_result_archive = www_dir_base + 'gtest_results' 210 gtest_result_archive = www_dir_base + 'gtest_results'
214 211
215 class IRC(config_private.IRC):
216 """Options for the IRC bot."""
217 # Where the IRC bot lives.
218 host = 'irc.freenode.net'
219 channels = ['#chromium']
220
221 default_topic = 'IRC bot not yet connected'
222
223 whuffie_file = '~/www/irc/whuffie_list.js'
224 whuffie_reason_file = '~/www/irc/whuffie_reasons.js'
225 topic_file = '~/www/irc/topic_list.js'
226
227 # Any URLs found in IRC topics will be passed as %s to this format before
228 # being added to the topic-list page. It must contain exactly one "%s" token.
229 # To disable URL mangling, set this to "%s".
230 href_redirect_format = 'http://www.google.com/url?sa=D&q=%s'
231
232
233 class Distributed(config_private.Distributed): 212 class Distributed(config_private.Distributed):
234 # File holding current version information. 213 # File holding current version information.
235 version_file = Installer.version_file 214 version_file = Installer.version_file
OLDNEW
« no previous file with comments | « scripts/master/factory/chromeos_factory.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698