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: Tools/GardeningServer/model/ct-builder-repository.html

Issue 728023004: Remove GardeningServer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
OLDNEW
(Empty)
1 <!--
2 Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
5 -->
6
7 <script>
8
9 var CTBuilderRepository;
10
11 (function() {
12
13 var BLINK_REV_URI = 'https://src.chromium.org/viewvc/blink/?pathrev=<revision> ';
14 var CHROMIUM_REV_URI = 'https://chromium.googlesource.com/chromium/' +
15 'src/+/<revision>';
16
17 var REVISION_URIS = {
18 'chromium': CHROMIUM_REV_URI,
19 'blink': BLINK_REV_URI,
20 'v8': '', // FIXME: Add v8 and nacl revision uris.
21 'nacl': ''
22 };
23
24 var BUILDER_SORT_ORDER = {
25 'chromium': 1,
26 'blink': 2,
27 'v8': 3,
28 'nacl': 4
29 };
30
31 CTBuilderRepository = function(name, revision) {
32 this.name = name;
33 this.revision = revision || '';
34 this.uri = REVISION_URIS[this.name].replace('<revision>', this.revision);
35 };
36
37 CTBuilderRepository.sortFunction = function(a, b) {
38 return BUILDER_SORT_ORDER[a.name] > BUILDER_SORT_ORDER[b.name];
39 };
40
41 })();
42
43 </script>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/model/ct-builder-list.html ('k') | Tools/GardeningServer/model/ct-builder-status.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698