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

Side by Side Diff: recipe_modules/gclient/example.py

Issue 1651033004: depot_tools: import bot_update gclient git rietveld tryserver recipe modules (reland #1) (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: 80cols Created 4 years, 10 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
« no previous file with comments | « recipe_modules/gclient/config.py ('k') | recipe_modules/gclient/example.expected/basic.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2013 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 DEPS = [
6 'gclient',
7 'recipe_engine/path',
8 'recipe_engine/properties',
9 ]
10
11
12 TEST_CONFIGS = [
13 'android',
14 'android_bare',
15 'blink',
16 'blink_or_chromium',
17 'boringssl',
18 'build_internal',
19 'build_internal_scripts_slave',
20 'catapult',
21 'chrome_internal',
22 'chromium',
23 'chromium_lkcr',
24 'chromium_lkgr',
25 'chromium_skia',
26 'chromium_webrtc',
27 'chromium_webrtc_tot',
28 'crashpad',
29 'custom_tabs_client',
30 'dart',
31 'gerrit_test_cq_normal',
32 'gyp',
33 'infra',
34 'infradata_master_manager',
35 'internal_deps',
36 'ios',
37 'luci_gae',
38 'luci_go',
39 'luci_py',
40 'mojo',
41 'nacl',
42 'pdfium',
43 'perf',
44 'recipes_py',
45 'show_v8_revision',
46 'slave_deps',
47 'v8_bleeding_edge_git',
48 'v8_canary',
49 'wasm_llvm',
50 'webports',
51 'webrtc_test_resources',
52 'with_branch_heads',
53 ]
54
55
56 def RunSteps(api):
57 for config_name in TEST_CONFIGS:
58 api.gclient.make_config(config_name)
59
60 src_cfg = api.gclient.make_config(GIT_MODE=True)
61 soln = src_cfg.solutions.add()
62 soln.name = 'src'
63 soln.url = 'https://chromium.googlesource.com/chromium/src.git'
64 soln.revision = api.properties.get('revision')
65 src_cfg.parent_got_revision_mapping['parent_got_revision'] = 'got_revision'
66 api.gclient.c = src_cfg
67 api.gclient.checkout()
68
69 api.gclient.spec_alias = 'WebKit'
70 bl_cfg = api.gclient.make_config()
71 soln = bl_cfg.solutions.add()
72 soln.name = 'WebKit'
73 soln.url = 'svn://svn.chromium.org/blink/trunk'
74 bl_cfg.revisions['third_party/WebKit'] = '123'
75
76 # Use safesync url for lkgr.
77 soln.safesync_url = 'https://blink-status.appspot.com/lkgr'
78
79 bl_cfg.got_revision_mapping['src/blatley'] = 'got_blatley_revision'
80 api.gclient.checkout(
81 gclient_config=bl_cfg,
82 with_branch_heads=True,
83 cwd=api.path['slave_build'].join('src', 'third_party'))
84
85 api.gclient.break_locks()
86
87 del api.gclient.spec_alias
88
89 api.gclient.runhooks()
90
91 assert not api.gclient.is_blink_mode
92
93
94 def GenTests(api):
95 yield api.test('basic')
96
97 yield api.test('revision') + api.properties(revision='abc')
98
99 yield api.test('tryserver') + api.properties.tryserver()
OLDNEW
« no previous file with comments | « recipe_modules/gclient/config.py ('k') | recipe_modules/gclient/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698