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

Side by Side Diff: infra/scripts/legacy/site_config/config.py

Issue 1213433006: Fork runtest.py and everything it needs src-side for easier hacking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: runisolatedtest.py Created 5 years, 5 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
(Empty)
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 """Declares a number of site-dependent variables for use by scripts.
6 """
7
8 import os
9 from twisted.spread import banana
10
11 # DatabaseSetup was moved. Import it for backward compatibility
12 from common.chromium_utils import DatabaseSetup # pylint: disable=W0611
13 from config_bootstrap import config_private # pylint: disable=W0403,W0611
14 from config_bootstrap import Master # pylint: disable=W0403,W0611
15
16 SITE_CONFIG_PATH = os.path.abspath(os.path.dirname(__file__))
17
18 # By default, the banana's string size limit is 640kb, which is unsufficient
19 # when passing diff's around. Raise it to 100megs. Do this here since the limit
20 # is enforced on both the server and the client so both need to raise the
21 # limit.
22 banana.SIZE_LIMIT = 100 * 1024 * 1024
23
24
25 def SiteConfigPath():
26 return SITE_CONFIG_PATH
27
28
29
30
31
32
OLDNEW
« no previous file with comments | « infra/scripts/legacy/scripts/slave/xvfb.py ('k') | infra/scripts/legacy/site_config/config_bootstrap.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698