Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Seeds a number of variables defined in chromium_config.py. | 5 """Seeds a number of variables defined in chromium_config.py. |
| 6 | 6 |
| 7 The recommended way is to fork this file and use a custom DEPS forked from | 7 The recommended way is to fork this file and use a custom DEPS forked from |
| 8 config/XXX/DEPS with the right configuration data.""" | 8 config/XXX/DEPS with the right configuration data.""" |
| 9 | 9 |
| 10 import socket | 10 import socket |
| 11 | 11 |
| 12 | 12 |
| 13 class classproperty(object): | 13 class classproperty(object): |
| 14 """A decorator that allows is_production_host to only to be defined once.""" | 14 """A decorator that allows is_production_host to only to be defined once.""" |
| 15 def __init__(self, getter): | 15 def __init__(self, getter): |
| 16 self.getter = getter | 16 self.getter = getter |
| 17 def __get__(self, instance, owner): | 17 def __get__(self, instance, owner): |
| 18 return self.getter(owner) | 18 return self.getter(owner) |
| 19 | 19 |
| 20 | 20 |
| 21 class Master(object): | 21 class Master(object): |
| 22 # Repository URLs used by the SVNPoller and 'gclient config'. | 22 # Repository URLs used by the SVNPoller and 'gclient config'. |
| 23 server_url = 'http://src.chromium.org' | 23 server_url = 'http://src.chromium.org' |
| 24 repo_root = '/svn' | 24 repo_root = '/svn' |
| 25 git_server_url = 'https://chromium.googlesource.com' | 25 git_server_url = 'https://chromium.googlesource.com' |
| 26 | 26 |
| 27 # External repos. | 27 # External repos. |
| 28 googlecode_url = 'http://%s.googlecode.com/svn' | 28 googlecode_url = 'http://%s.googlecode.com/svn' |
| 29 sourceforge_url = 'https://%(repo)s.svn.sourceforge.net/svnroot/%(repo)s' | 29 sourceforge_url = 'https://svn.code.sf.net/p/%(repo)s/code' |
|
Ronghua Wu (Left Chromium)
2013/08/21 15:35:20
DEPS file is still using http, I guess this is ok?
Ryan Tseng
2013/08/21 15:38:16
svn ls works okay for me. As long as we don't hav
| |
| 30 googlecode_revlinktmpl = 'https://code.google.com/p/%s/source/browse?r=%s' | 30 googlecode_revlinktmpl = 'https://code.google.com/p/%s/source/browse?r=%s' |
| 31 | 31 |
| 32 # Directly fetches from anonymous Blink svn server. | 32 # Directly fetches from anonymous Blink svn server. |
| 33 webkit_root_url = 'http://src.chromium.org/blink' | 33 webkit_root_url = 'http://src.chromium.org/blink' |
| 34 nacl_trunk_url = 'http://src.chromium.org/native_client/trunk' | 34 nacl_trunk_url = 'http://src.chromium.org/native_client/trunk' |
| 35 | 35 |
| 36 llvm_url = 'http://llvm.org/svn/llvm-project' | 36 llvm_url = 'http://llvm.org/svn/llvm-project' |
| 37 | 37 |
| 38 # Perf Dashboard upload URL. | 38 # Perf Dashboard upload URL. |
| 39 dashboard_upload_url = 'https://chromeperf.appspot.com' | 39 dashboard_upload_url = 'https://chromeperf.appspot.com' |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 166 # Web server base path. | 166 # Web server base path. |
| 167 www_dir_base = "\\\\" + archive_host + "\\www\\" | 167 www_dir_base = "\\\\" + archive_host + "\\www\\" |
| 168 | 168 |
| 169 @staticmethod | 169 @staticmethod |
| 170 def Internal(): | 170 def Internal(): |
| 171 pass | 171 pass |
| 172 | 172 |
| 173 | 173 |
| 174 class Distributed(object): | 174 class Distributed(object): |
| 175 """Not much to describe.""" | 175 """Not much to describe.""" |
| OLD | NEW |