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

Side by Side Diff: scripts/slave/recipes/chromium.fyi.debug_win_block.recipe_autogen.py

Issue 1919193002: build: roll infra_paths changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: merge Created 4 years, 7 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
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 DEPS = [ 5 DEPS = [
6 'chromium', 6 'chromium',
7 'depot_tools/bot_update', 7 'depot_tools/bot_update',
8 'depot_tools/gclient', 8 'depot_tools/gclient',
9 'depot_tools/infra_paths',
9 'recipe_engine/json', 10 'recipe_engine/json',
10 'recipe_engine/path', 11 'recipe_engine/path',
11 'recipe_engine/properties', 12 'recipe_engine/properties',
12 'recipe_engine/python', 13 'recipe_engine/python',
13 'recipe_engine/step', 14 'recipe_engine/step',
14 'trigger', 15 'trigger',
15 ] 16 ]
16 17
17 18
18 def Vista_Tests__dbg__1__steps(api): 19 def Vista_Tests__dbg__1__steps(api):
19 build_properties = api.properties.legacy() 20 build_properties = api.properties.legacy()
20 # svnkill step; not necessary in recipes 21 # svnkill step; not necessary in recipes
21 # update scripts step; implicitly run by recipe engine. 22 # update scripts step; implicitly run by recipe engine.
22 # taskkill step 23 # taskkill step
23 api.python("taskkill", api.path["build"].join("scripts", "slave", 24 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave",
24 "kill_processes.py")) 25 "kill_processes.py"))
25 # bot_update step 26 # bot_update step
26 src_cfg = api.gclient.make_config(GIT_MODE=True) 27 src_cfg = api.gclient.make_config(GIT_MODE=True)
27 soln = src_cfg.solutions.add() 28 soln = src_cfg.solutions.add()
28 soln.name = "src" 29 soln.name = "src"
29 soln.url = "https://chromium.googlesource.com/chromium/src.git" 30 soln.url = "https://chromium.googlesource.com/chromium/src.git"
30 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} 31 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None}
31 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', 32 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk',
32 'googlecode_url': 'http://%s.googlecode.com/svn', 33 'googlecode_url': 'http://%s.googlecode.com/svn',
33 'nacl_trunk': 34 'nacl_trunk':
(...skipping 11 matching lines...) Expand all
45 build_properties.update(result.json.output.get("properties", {})) 46 build_properties.update(result.json.output.get("properties", {}))
46 # gclient revert step; made unnecessary by bot_update 47 # gclient revert step; made unnecessary by bot_update
47 # gclient update step; made unnecessary by bot_update 48 # gclient update step; made unnecessary by bot_update
48 # gclient runhooks wrapper step 49 # gclient runhooks wrapper step
49 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 50 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1',
50 'GYP_CHROMIUM_NO_ACTION': '1', 51 'GYP_CHROMIUM_NO_ACTION': '1',
51 'LANDMINES_VERBOSE': '1', 52 'LANDMINES_VERBOSE': '1',
52 'DEPOT_TOOLS_UPDATE': '0', 53 'DEPOT_TOOLS_UPDATE': '0',
53 'GYP_DEFINES': ' component=shared_library'} 54 'GYP_DEFINES': ' component=shared_library'}
54 api.python("gclient runhooks wrapper", 55 api.python("gclient runhooks wrapper",
55 api.path["build"].join("scripts", "slave", 56 api.infra_paths['build'].join("scripts", "slave",
56 "runhooks_wrapper.py"), 57 "runhooks_wrapper.py"),
57 env=env) 58 env=env)
58 # cleanup_temp step 59 # cleanup_temp step
59 api.chromium.cleanup_temp() 60 api.chromium.cleanup_temp()
60 # extract build step 61 # extract build step
61 api.python( 62 api.python(
62 "extract build", 63 "extract build",
63 api.path["build"].join("scripts", "slave", "extract_build.py"), 64 api.infra_paths['build'].join("scripts", "slave", "extract_build.py"),
64 args=["--target", "Debug", "--build-archive-url", build_properties[ 65 args=["--target", "Debug", "--build-archive-url", build_properties[
65 "parent_build_archive_url"], '--build-properties=%s' % 66 "parent_build_archive_url"], '--build-properties=%s' %
66 api.json.dumps(build_properties, 67 api.json.dumps(build_properties,
67 separators=(',', ':'))]) 68 separators=(',', ':'))])
68 # runtest step 69 # runtest step
69 api.python( 70 api.python(
70 "base_unittests", 71 "base_unittests",
71 api.path["build"].join("scripts", "slave", "runtest.py"), 72 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
72 args= 73 args=
73 ['--target', 'Debug', "--build-properties=%s" % 74 ['--target', 'Debug', "--build-properties=%s" %
74 api.json.dumps(build_properties, 75 api.json.dumps(build_properties,
75 separators=(',', ':')), 76 separators=(',', ':')),
76 '--factory-properties={"blink_config":"chromium",'+\ 77 '--factory-properties={"blink_config":"chromium",'+\
77 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 78 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
78 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 79 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
79 '"1","GYP_DEFINES":" component=shared_library",'+\ 80 '"1","GYP_DEFINES":" component=shared_library",'+\
80 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 81 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
81 '--annotate=gtest', '--test-type', 'base_unittests', 82 '--annotate=gtest', '--test-type', 'base_unittests',
82 'base_unittests.exe', '--gtest_print_time']) 83 'base_unittests.exe', '--gtest_print_time'])
83 # runtest step 84 # runtest step
84 api.python( 85 api.python(
85 "cacheinvalidation_unittests", 86 "cacheinvalidation_unittests",
86 api.path["build"].join("scripts", "slave", "runtest.py"), 87 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
87 args= 88 args=
88 ['--target', 'Debug', "--build-properties=%s" % 89 ['--target', 'Debug', "--build-properties=%s" %
89 api.json.dumps(build_properties, 90 api.json.dumps(build_properties,
90 separators=(',', ':')), 91 separators=(',', ':')),
91 '--factory-properties={"blink_config":"chromium",'+\ 92 '--factory-properties={"blink_config":"chromium",'+\
92 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 93 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
93 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 94 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
94 '"1","GYP_DEFINES":" component=shared_library",'+\ 95 '"1","GYP_DEFINES":" component=shared_library",'+\
95 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 96 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
96 '--annotate=gtest', '--test-type', 'cacheinvalidation_unittests', 97 '--annotate=gtest', '--test-type', 'cacheinvalidation_unittests',
97 'cacheinvalidation_unittests.exe', '--gtest_print_time']) 98 'cacheinvalidation_unittests.exe', '--gtest_print_time'])
98 # runtest step 99 # runtest step
99 api.python( 100 api.python(
100 "chrome_elf_unittests", 101 "chrome_elf_unittests",
101 api.path["build"].join("scripts", "slave", "runtest.py"), 102 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
102 args= 103 args=
103 ['--target', 'Debug', "--build-properties=%s" % 104 ['--target', 'Debug', "--build-properties=%s" %
104 api.json.dumps(build_properties, 105 api.json.dumps(build_properties,
105 separators=(',', ':')), 106 separators=(',', ':')),
106 '--factory-properties={"blink_config":"chromium",'+\ 107 '--factory-properties={"blink_config":"chromium",'+\
107 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 108 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
108 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 109 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
109 '"1","GYP_DEFINES":" component=shared_library",'+\ 110 '"1","GYP_DEFINES":" component=shared_library",'+\
110 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 111 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
111 '--annotate=gtest', '--test-type', 'chrome_elf_unittests', 112 '--annotate=gtest', '--test-type', 'chrome_elf_unittests',
112 'chrome_elf_unittests.exe', '--gtest_print_time']) 113 'chrome_elf_unittests.exe', '--gtest_print_time'])
113 # runtest step 114 # runtest step
114 api.python( 115 api.python(
115 "components_unittests", 116 "components_unittests",
116 api.path["build"].join("scripts", "slave", "runtest.py"), 117 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
117 args= 118 args=
118 ['--target', 'Debug', "--build-properties=%s" % 119 ['--target', 'Debug', "--build-properties=%s" %
119 api.json.dumps(build_properties, 120 api.json.dumps(build_properties,
120 separators=(',', ':')), 121 separators=(',', ':')),
121 '--factory-properties={"blink_config":"chromium",'+\ 122 '--factory-properties={"blink_config":"chromium",'+\
122 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 123 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
123 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 124 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
124 '"1","GYP_DEFINES":" component=shared_library",'+\ 125 '"1","GYP_DEFINES":" component=shared_library",'+\
125 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 126 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
126 '--annotate=gtest', '--test-type', 'components_unittests', 127 '--annotate=gtest', '--test-type', 'components_unittests',
127 'components_unittests.exe', '--gtest_print_time']) 128 'components_unittests.exe', '--gtest_print_time'])
128 # runtest step 129 # runtest step
129 api.python( 130 api.python(
130 "courgette_unittests", 131 "courgette_unittests",
131 api.path["build"].join("scripts", "slave", "runtest.py"), 132 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
132 args= 133 args=
133 ['--target', 'Debug', "--build-properties=%s" % 134 ['--target', 'Debug', "--build-properties=%s" %
134 api.json.dumps(build_properties, 135 api.json.dumps(build_properties,
135 separators=(',', ':')), 136 separators=(',', ':')),
136 '--factory-properties={"blink_config":"chromium",'+\ 137 '--factory-properties={"blink_config":"chromium",'+\
137 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 138 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
138 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 139 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
139 '"1","GYP_DEFINES":" component=shared_library",'+\ 140 '"1","GYP_DEFINES":" component=shared_library",'+\
140 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 141 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
141 '--annotate=gtest', '--test-type', 'courgette_unittests', 142 '--annotate=gtest', '--test-type', 'courgette_unittests',
142 'courgette_unittests.exe', '--gtest_print_time']) 143 'courgette_unittests.exe', '--gtest_print_time'])
143 # runtest step 144 # runtest step
144 api.python( 145 api.python(
145 "crypto_unittests", 146 "crypto_unittests",
146 api.path["build"].join("scripts", "slave", "runtest.py"), 147 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
147 args= 148 args=
148 ['--target', 'Debug', "--build-properties=%s" % 149 ['--target', 'Debug', "--build-properties=%s" %
149 api.json.dumps(build_properties, 150 api.json.dumps(build_properties,
150 separators=(',', ':')), 151 separators=(',', ':')),
151 '--factory-properties={"blink_config":"chromium",'+\ 152 '--factory-properties={"blink_config":"chromium",'+\
152 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 153 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
153 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 154 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
154 '"1","GYP_DEFINES":" component=shared_library",'+\ 155 '"1","GYP_DEFINES":" component=shared_library",'+\
155 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 156 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
156 '--annotate=gtest', '--test-type', 'crypto_unittests', 157 '--annotate=gtest', '--test-type', 'crypto_unittests',
157 'crypto_unittests.exe', '--gtest_print_time']) 158 'crypto_unittests.exe', '--gtest_print_time'])
158 # runtest step 159 # runtest step
159 api.python( 160 api.python(
160 "extensions_unittests", 161 "extensions_unittests",
161 api.path["build"].join("scripts", "slave", "runtest.py"), 162 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
162 args= 163 args=
163 ['--target', 'Debug', "--build-properties=%s" % 164 ['--target', 'Debug', "--build-properties=%s" %
164 api.json.dumps(build_properties, 165 api.json.dumps(build_properties,
165 separators=(',', ':')), 166 separators=(',', ':')),
166 '--factory-properties={"blink_config":"chromium",'+\ 167 '--factory-properties={"blink_config":"chromium",'+\
167 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 168 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
168 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 169 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
169 '"1","GYP_DEFINES":" component=shared_library",'+\ 170 '"1","GYP_DEFINES":" component=shared_library",'+\
170 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 171 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
171 '--annotate=gtest', '--test-type', 'extensions_unittests', 172 '--annotate=gtest', '--test-type', 'extensions_unittests',
172 'extensions_unittests.exe', '--gtest_print_time']) 173 'extensions_unittests.exe', '--gtest_print_time'])
173 # runtest step 174 # runtest step
174 api.python( 175 api.python(
175 "gcm_unit_tests", 176 "gcm_unit_tests",
176 api.path["build"].join("scripts", "slave", "runtest.py"), 177 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
177 args= 178 args=
178 ['--target', 'Debug', "--build-properties=%s" % 179 ['--target', 'Debug', "--build-properties=%s" %
179 api.json.dumps(build_properties, 180 api.json.dumps(build_properties,
180 separators=(',', ':')), 181 separators=(',', ':')),
181 '--factory-properties={"blink_config":"chromium",'+\ 182 '--factory-properties={"blink_config":"chromium",'+\
182 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 183 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
183 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 184 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
184 '"1","GYP_DEFINES":" component=shared_library",'+\ 185 '"1","GYP_DEFINES":" component=shared_library",'+\
185 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 186 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
186 '--annotate=gtest', '--test-type', 'gcm_unit_tests', 187 '--annotate=gtest', '--test-type', 'gcm_unit_tests',
187 'gcm_unit_tests.exe', '--gtest_print_time']) 188 'gcm_unit_tests.exe', '--gtest_print_time'])
188 # runtest step 189 # runtest step
189 api.python( 190 api.python(
190 "google_apis_unittests", 191 "google_apis_unittests",
191 api.path["build"].join("scripts", "slave", "runtest.py"), 192 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
192 args= 193 args=
193 ['--target', 'Debug', "--build-properties=%s" % 194 ['--target', 'Debug', "--build-properties=%s" %
194 api.json.dumps(build_properties, 195 api.json.dumps(build_properties,
195 separators=(',', ':')), 196 separators=(',', ':')),
196 '--factory-properties={"blink_config":"chromium",'+\ 197 '--factory-properties={"blink_config":"chromium",'+\
197 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 198 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
198 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 199 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
199 '"1","GYP_DEFINES":" component=shared_library",'+\ 200 '"1","GYP_DEFINES":" component=shared_library",'+\
200 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 201 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
201 '--annotate=gtest', '--test-type', 'google_apis_unittests', 202 '--annotate=gtest', '--test-type', 'google_apis_unittests',
202 'google_apis_unittests.exe', '--gtest_print_time']) 203 'google_apis_unittests.exe', '--gtest_print_time'])
203 # runtest step 204 # runtest step
204 api.python( 205 api.python(
205 "gpu_unittests", 206 "gpu_unittests",
206 api.path["build"].join("scripts", "slave", "runtest.py"), 207 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
207 args= 208 args=
208 ['--target', 'Debug', "--build-properties=%s" % 209 ['--target', 'Debug', "--build-properties=%s" %
209 api.json.dumps(build_properties, 210 api.json.dumps(build_properties,
210 separators=(',', ':')), 211 separators=(',', ':')),
211 '--factory-properties={"blink_config":"chromium",'+\ 212 '--factory-properties={"blink_config":"chromium",'+\
212 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 213 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
213 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 214 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
214 '"1","GYP_DEFINES":" component=shared_library",'+\ 215 '"1","GYP_DEFINES":" component=shared_library",'+\
215 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 216 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
216 '--annotate=gtest', '--test-type', 'gpu_unittests', 217 '--annotate=gtest', '--test-type', 'gpu_unittests',
217 'gpu_unittests.exe', '--gmock_verbose=error', '--gtest_print_time']) 218 'gpu_unittests.exe', '--gmock_verbose=error', '--gtest_print_time'])
218 # runtest step 219 # runtest step
219 api.python( 220 api.python(
220 "url_unittests", 221 "url_unittests",
221 api.path["build"].join("scripts", "slave", "runtest.py"), 222 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
222 args= 223 args=
223 ['--target', 'Debug', "--build-properties=%s" % 224 ['--target', 'Debug', "--build-properties=%s" %
224 api.json.dumps(build_properties, 225 api.json.dumps(build_properties,
225 separators=(',', ':')), 226 separators=(',', ':')),
226 '--factory-properties={"blink_config":"chromium",'+\ 227 '--factory-properties={"blink_config":"chromium",'+\
227 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 228 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
228 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 229 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
229 '"1","GYP_DEFINES":" component=shared_library",'+\ 230 '"1","GYP_DEFINES":" component=shared_library",'+\
230 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 231 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
231 '--annotate=gtest', '--test-type', 'url_unittests', 232 '--annotate=gtest', '--test-type', 'url_unittests',
232 'url_unittests.exe', '--gtest_print_time']) 233 'url_unittests.exe', '--gtest_print_time'])
233 # runtest step 234 # runtest step
234 api.python( 235 api.python(
235 "jingle_unittests", 236 "jingle_unittests",
236 api.path["build"].join("scripts", "slave", "runtest.py"), 237 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
237 args= 238 args=
238 ['--target', 'Debug', "--build-properties=%s" % 239 ['--target', 'Debug', "--build-properties=%s" %
239 api.json.dumps(build_properties, 240 api.json.dumps(build_properties,
240 separators=(',', ':')), 241 separators=(',', ':')),
241 '--factory-properties={"blink_config":"chromium",'+\ 242 '--factory-properties={"blink_config":"chromium",'+\
242 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 243 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
243 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 244 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
244 '"1","GYP_DEFINES":" component=shared_library",'+\ 245 '"1","GYP_DEFINES":" component=shared_library",'+\
245 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 246 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
246 '--annotate=gtest', '--test-type', 'jingle_unittests', 247 '--annotate=gtest', '--test-type', 'jingle_unittests',
247 'jingle_unittests.exe', '--gtest_print_time']) 248 'jingle_unittests.exe', '--gtest_print_time'])
248 # runtest step 249 # runtest step
249 api.python( 250 api.python(
250 "device_unittests", 251 "device_unittests",
251 api.path["build"].join("scripts", "slave", "runtest.py"), 252 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
252 args= 253 args=
253 ['--target', 'Debug', "--build-properties=%s" % 254 ['--target', 'Debug', "--build-properties=%s" %
254 api.json.dumps(build_properties, 255 api.json.dumps(build_properties,
255 separators=(',', ':')), 256 separators=(',', ':')),
256 '--factory-properties={"blink_config":"chromium",'+\ 257 '--factory-properties={"blink_config":"chromium",'+\
257 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 258 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
258 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 259 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
259 '"1","GYP_DEFINES":" component=shared_library",'+\ 260 '"1","GYP_DEFINES":" component=shared_library",'+\
260 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 261 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
261 '--annotate=gtest', '--test-type', 'device_unittests', 262 '--annotate=gtest', '--test-type', 'device_unittests',
262 'device_unittests.exe', '--gtest_print_time']) 263 'device_unittests.exe', '--gtest_print_time'])
263 # runtest step 264 # runtest step
264 api.python( 265 api.python(
265 "media_unittests", 266 "media_unittests",
266 api.path["build"].join("scripts", "slave", "runtest.py"), 267 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
267 args= 268 args=
268 ['--target', 'Debug', "--build-properties=%s" % 269 ['--target', 'Debug', "--build-properties=%s" %
269 api.json.dumps(build_properties, 270 api.json.dumps(build_properties,
270 separators=(',', ':')), 271 separators=(',', ':')),
271 '--factory-properties={"blink_config":"chromium",'+\ 272 '--factory-properties={"blink_config":"chromium",'+\
272 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 273 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
273 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 274 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
274 '"1","GYP_DEFINES":" component=shared_library",'+\ 275 '"1","GYP_DEFINES":" component=shared_library",'+\
275 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 276 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
276 '--annotate=gtest', '--test-type', 'media_unittests', 277 '--annotate=gtest', '--test-type', 'media_unittests',
277 'media_unittests.exe', '--gtest_print_time']) 278 'media_unittests.exe', '--gtest_print_time'])
278 # runtest step 279 # runtest step
279 api.python( 280 api.python(
280 "net_unittests", 281 "net_unittests",
281 api.path["build"].join("scripts", "slave", "runtest.py"), 282 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
282 args= 283 args=
283 ['--target', 'Debug', "--build-properties=%s" % 284 ['--target', 'Debug', "--build-properties=%s" %
284 api.json.dumps(build_properties, 285 api.json.dumps(build_properties,
285 separators=(',', ':')), 286 separators=(',', ':')),
286 '--factory-properties={"blink_config":"chromium",'+\ 287 '--factory-properties={"blink_config":"chromium",'+\
287 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 288 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
288 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 289 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
289 '"1","GYP_DEFINES":" component=shared_library",'+\ 290 '"1","GYP_DEFINES":" component=shared_library",'+\
290 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 291 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
291 '--annotate=gtest', '--test-type', 'net_unittests', 292 '--annotate=gtest', '--test-type', 'net_unittests',
292 'net_unittests.exe', '--gtest_print_time']) 293 'net_unittests.exe', '--gtest_print_time'])
293 # runtest step 294 # runtest step
294 api.python( 295 api.python(
295 "ppapi_unittests", 296 "ppapi_unittests",
296 api.path["build"].join("scripts", "slave", "runtest.py"), 297 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
297 args= 298 args=
298 ['--target', 'Debug', "--build-properties=%s" % 299 ['--target', 'Debug', "--build-properties=%s" %
299 api.json.dumps(build_properties, 300 api.json.dumps(build_properties,
300 separators=(',', ':')), 301 separators=(',', ':')),
301 '--factory-properties={"blink_config":"chromium",'+\ 302 '--factory-properties={"blink_config":"chromium",'+\
302 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 303 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
303 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 304 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
304 '"1","GYP_DEFINES":" component=shared_library",'+\ 305 '"1","GYP_DEFINES":" component=shared_library",'+\
305 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 306 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
306 '--annotate=gtest', '--test-type', 'ppapi_unittests', 307 '--annotate=gtest', '--test-type', 'ppapi_unittests',
307 'ppapi_unittests.exe', '--gtest_print_time']) 308 'ppapi_unittests.exe', '--gtest_print_time'])
308 # runtest step 309 # runtest step
309 api.python( 310 api.python(
310 "printing_unittests", 311 "printing_unittests",
311 api.path["build"].join("scripts", "slave", "runtest.py"), 312 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
312 args= 313 args=
313 ['--target', 'Debug', "--build-properties=%s" % 314 ['--target', 'Debug', "--build-properties=%s" %
314 api.json.dumps(build_properties, 315 api.json.dumps(build_properties,
315 separators=(',', ':')), 316 separators=(',', ':')),
316 '--factory-properties={"blink_config":"chromium",'+\ 317 '--factory-properties={"blink_config":"chromium",'+\
317 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 318 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
318 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 319 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
319 '"1","GYP_DEFINES":" component=shared_library",'+\ 320 '"1","GYP_DEFINES":" component=shared_library",'+\
320 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 321 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
321 '--annotate=gtest', '--test-type', 'printing_unittests', 322 '--annotate=gtest', '--test-type', 'printing_unittests',
322 'printing_unittests.exe', '--gtest_print_time']) 323 'printing_unittests.exe', '--gtest_print_time'])
323 # runtest step 324 # runtest step
324 api.python( 325 api.python(
325 "remoting_unittests", 326 "remoting_unittests",
326 api.path["build"].join("scripts", "slave", "runtest.py"), 327 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
327 args= 328 args=
328 ['--target', 'Debug', "--build-properties=%s" % 329 ['--target', 'Debug', "--build-properties=%s" %
329 api.json.dumps(build_properties, 330 api.json.dumps(build_properties,
330 separators=(',', ':')), 331 separators=(',', ':')),
331 '--factory-properties={"blink_config":"chromium",'+\ 332 '--factory-properties={"blink_config":"chromium",'+\
332 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 333 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
333 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 334 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
334 '"1","GYP_DEFINES":" component=shared_library",'+\ 335 '"1","GYP_DEFINES":" component=shared_library",'+\
335 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 336 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
336 '--annotate=gtest', '--test-type', 'remoting_unittests', 337 '--annotate=gtest', '--test-type', 'remoting_unittests',
337 'remoting_unittests.exe', '--gtest_print_time']) 338 'remoting_unittests.exe', '--gtest_print_time'])
338 # runtest step 339 # runtest step
339 api.python( 340 api.python(
340 "sbox_unittests", 341 "sbox_unittests",
341 api.path["build"].join("scripts", "slave", "runtest.py"), 342 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
342 args= 343 args=
343 ['--target', 'Debug', "--build-properties=%s" % 344 ['--target', 'Debug', "--build-properties=%s" %
344 api.json.dumps(build_properties, 345 api.json.dumps(build_properties,
345 separators=(',', ':')), 346 separators=(',', ':')),
346 '--factory-properties={"blink_config":"chromium",'+\ 347 '--factory-properties={"blink_config":"chromium",'+\
347 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 348 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
348 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 349 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
349 '"1","GYP_DEFINES":" component=shared_library",'+\ 350 '"1","GYP_DEFINES":" component=shared_library",'+\
350 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 351 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
351 '--annotate=gtest', '--test-type', 'sbox_unittests', 352 '--annotate=gtest', '--test-type', 'sbox_unittests',
352 'sbox_unittests.exe', '--gtest_print_time']) 353 'sbox_unittests.exe', '--gtest_print_time'])
353 # runtest step 354 # runtest step
354 api.python( 355 api.python(
355 "sbox_integration_tests", 356 "sbox_integration_tests",
356 api.path["build"].join("scripts", "slave", "runtest.py"), 357 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
357 args= 358 args=
358 ['--target', 'Debug', "--build-properties=%s" % 359 ['--target', 'Debug', "--build-properties=%s" %
359 api.json.dumps(build_properties, 360 api.json.dumps(build_properties,
360 separators=(',', ':')), 361 separators=(',', ':')),
361 '--factory-properties={"blink_config":"chromium",'+\ 362 '--factory-properties={"blink_config":"chromium",'+\
362 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 363 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
363 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 364 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
364 '"1","GYP_DEFINES":" component=shared_library",'+\ 365 '"1","GYP_DEFINES":" component=shared_library",'+\
365 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 366 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
366 '--annotate=gtest', '--test-type', 'sbox_integration_tests', 367 '--annotate=gtest', '--test-type', 'sbox_integration_tests',
367 'sbox_integration_tests.exe', '--gtest_print_time']) 368 'sbox_integration_tests.exe', '--gtest_print_time'])
368 # runtest step 369 # runtest step
369 api.python( 370 api.python(
370 "sbox_validation_tests", 371 "sbox_validation_tests",
371 api.path["build"].join("scripts", "slave", "runtest.py"), 372 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
372 args= 373 args=
373 ['--target', 'Debug', "--build-properties=%s" % 374 ['--target', 'Debug', "--build-properties=%s" %
374 api.json.dumps(build_properties, 375 api.json.dumps(build_properties,
375 separators=(',', ':')), 376 separators=(',', ':')),
376 '--factory-properties={"blink_config":"chromium",'+\ 377 '--factory-properties={"blink_config":"chromium",'+\
377 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 378 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
378 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 379 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
379 '"1","GYP_DEFINES":" component=shared_library",'+\ 380 '"1","GYP_DEFINES":" component=shared_library",'+\
380 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 381 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
381 '--annotate=gtest', '--test-type', 'sbox_validation_tests', 382 '--annotate=gtest', '--test-type', 'sbox_validation_tests',
382 'sbox_validation_tests.exe', '--gtest_print_time']) 383 'sbox_validation_tests.exe', '--gtest_print_time'])
383 # runtest step 384 # runtest step
384 api.python( 385 api.python(
385 "ipc_tests", 386 "ipc_tests",
386 api.path["build"].join("scripts", "slave", "runtest.py"), 387 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
387 args= 388 args=
388 ['--target', 'Debug', "--build-properties=%s" % 389 ['--target', 'Debug', "--build-properties=%s" %
389 api.json.dumps(build_properties, 390 api.json.dumps(build_properties,
390 separators=(',', ':')), 391 separators=(',', ':')),
391 '--factory-properties={"blink_config":"chromium",'+\ 392 '--factory-properties={"blink_config":"chromium",'+\
392 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 393 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
393 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 394 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
394 '"1","GYP_DEFINES":" component=shared_library",'+\ 395 '"1","GYP_DEFINES":" component=shared_library",'+\
395 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 396 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
396 '--annotate=gtest', '--test-type', 'ipc_tests', 'ipc_tests.exe', 397 '--annotate=gtest', '--test-type', 'ipc_tests', 'ipc_tests.exe',
397 '--gtest_print_time']) 398 '--gtest_print_time'])
398 # runtest step 399 # runtest step
399 api.python( 400 api.python(
400 "sync_unit_tests", 401 "sync_unit_tests",
401 api.path["build"].join("scripts", "slave", "runtest.py"), 402 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
402 args= 403 args=
403 ['--target', 'Debug', "--build-properties=%s" % 404 ['--target', 'Debug', "--build-properties=%s" %
404 api.json.dumps(build_properties, 405 api.json.dumps(build_properties,
405 separators=(',', ':')), 406 separators=(',', ':')),
406 '--factory-properties={"blink_config":"chromium",'+\ 407 '--factory-properties={"blink_config":"chromium",'+\
407 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 408 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
408 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 409 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
409 '"1","GYP_DEFINES":" component=shared_library",'+\ 410 '"1","GYP_DEFINES":" component=shared_library",'+\
410 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 411 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
411 '--annotate=gtest', '--test-type', 'sync_unit_tests', 412 '--annotate=gtest', '--test-type', 'sync_unit_tests',
412 'sync_unit_tests.exe', '--gtest_print_time']) 413 'sync_unit_tests.exe', '--gtest_print_time'])
413 # runtest step 414 # runtest step
414 api.python( 415 api.python(
415 "unit_tests", 416 "unit_tests",
416 api.path["build"].join("scripts", "slave", "runtest.py"), 417 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
417 args= 418 args=
418 ['--target', 'Debug', "--build-properties=%s" % 419 ['--target', 'Debug', "--build-properties=%s" %
419 api.json.dumps(build_properties, 420 api.json.dumps(build_properties,
420 separators=(',', ':')), 421 separators=(',', ':')),
421 '--factory-properties={"blink_config":"chromium",'+\ 422 '--factory-properties={"blink_config":"chromium",'+\
422 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 423 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
423 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 424 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
424 '"1","GYP_DEFINES":" component=shared_library",'+\ 425 '"1","GYP_DEFINES":" component=shared_library",'+\
425 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 426 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
426 '--annotate=gtest', '--test-type', 'unit_tests', 'unit_tests.exe', 427 '--annotate=gtest', '--test-type', 'unit_tests', 'unit_tests.exe',
427 '--gtest_print_time']) 428 '--gtest_print_time'])
428 # runtest step 429 # runtest step
429 api.python( 430 api.python(
430 "skia_unittests", 431 "skia_unittests",
431 api.path["build"].join("scripts", "slave", "runtest.py"), 432 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
432 args= 433 args=
433 ['--target', 'Debug', "--build-properties=%s" % 434 ['--target', 'Debug', "--build-properties=%s" %
434 api.json.dumps(build_properties, 435 api.json.dumps(build_properties,
435 separators=(',', ':')), 436 separators=(',', ':')),
436 '--factory-properties={"blink_config":"chromium",'+\ 437 '--factory-properties={"blink_config":"chromium",'+\
437 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 438 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
438 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 439 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
439 '"1","GYP_DEFINES":" component=shared_library",'+\ 440 '"1","GYP_DEFINES":" component=shared_library",'+\
440 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 441 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
441 '--annotate=gtest', '--test-type', 'skia_unittests', 442 '--annotate=gtest', '--test-type', 'skia_unittests',
442 'skia_unittests.exe', '--gtest_print_time']) 443 'skia_unittests.exe', '--gtest_print_time'])
443 # runtest step 444 # runtest step
444 api.python( 445 api.python(
445 "sql_unittests", 446 "sql_unittests",
446 api.path["build"].join("scripts", "slave", "runtest.py"), 447 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
447 args= 448 args=
448 ['--target', 'Debug', "--build-properties=%s" % 449 ['--target', 'Debug', "--build-properties=%s" %
449 api.json.dumps(build_properties, 450 api.json.dumps(build_properties,
450 separators=(',', ':')), 451 separators=(',', ':')),
451 '--factory-properties={"blink_config":"chromium",'+\ 452 '--factory-properties={"blink_config":"chromium",'+\
452 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 453 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
453 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 454 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
454 '"1","GYP_DEFINES":" component=shared_library",'+\ 455 '"1","GYP_DEFINES":" component=shared_library",'+\
455 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 456 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
456 '--annotate=gtest', '--test-type', 'sql_unittests', 457 '--annotate=gtest', '--test-type', 'sql_unittests',
457 'sql_unittests.exe', '--gtest_print_time']) 458 'sql_unittests.exe', '--gtest_print_time'])
458 # runtest step 459 # runtest step
459 api.python( 460 api.python(
460 "ui_base_unittests", 461 "ui_base_unittests",
461 api.path["build"].join("scripts", "slave", "runtest.py"), 462 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
462 args= 463 args=
463 ['--target', 'Debug', "--build-properties=%s" % 464 ['--target', 'Debug', "--build-properties=%s" %
464 api.json.dumps(build_properties, 465 api.json.dumps(build_properties,
465 separators=(',', ':')), 466 separators=(',', ':')),
466 '--factory-properties={"blink_config":"chromium",'+\ 467 '--factory-properties={"blink_config":"chromium",'+\
467 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 468 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
468 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 469 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
469 '"1","GYP_DEFINES":" component=shared_library",'+\ 470 '"1","GYP_DEFINES":" component=shared_library",'+\
470 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 471 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
471 '--annotate=gtest', '--test-type', 'ui_base_unittests', 472 '--annotate=gtest', '--test-type', 'ui_base_unittests',
472 'ui_base_unittests.exe', '--gtest_print_time']) 473 'ui_base_unittests.exe', '--gtest_print_time'])
473 # runtest step 474 # runtest step
474 api.python( 475 api.python(
475 "content_unittests", 476 "content_unittests",
476 api.path["build"].join("scripts", "slave", "runtest.py"), 477 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
477 args= 478 args=
478 ['--target', 'Debug', "--build-properties=%s" % 479 ['--target', 'Debug', "--build-properties=%s" %
479 api.json.dumps(build_properties, 480 api.json.dumps(build_properties,
480 separators=(',', ':')), 481 separators=(',', ':')),
481 '--factory-properties={"blink_config":"chromium",'+\ 482 '--factory-properties={"blink_config":"chromium",'+\
482 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 483 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
483 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 484 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
484 '"1","GYP_DEFINES":" component=shared_library",'+\ 485 '"1","GYP_DEFINES":" component=shared_library",'+\
485 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 486 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
486 '--annotate=gtest', '--test-type', 'content_unittests', 487 '--annotate=gtest', '--test-type', 'content_unittests',
487 'content_unittests.exe', '--gtest_print_time']) 488 'content_unittests.exe', '--gtest_print_time'])
488 # runtest step 489 # runtest step
489 api.python( 490 api.python(
490 "views_unittests", 491 "views_unittests",
491 api.path["build"].join("scripts", "slave", "runtest.py"), 492 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
492 args= 493 args=
493 ['--target', 'Debug', "--build-properties=%s" % 494 ['--target', 'Debug', "--build-properties=%s" %
494 api.json.dumps(build_properties, 495 api.json.dumps(build_properties,
495 separators=(',', ':')), 496 separators=(',', ':')),
496 '--factory-properties={"blink_config":"chromium",'+\ 497 '--factory-properties={"blink_config":"chromium",'+\
497 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 498 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
498 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 499 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
499 '"1","GYP_DEFINES":" component=shared_library",'+\ 500 '"1","GYP_DEFINES":" component=shared_library",'+\
500 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 501 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
501 '--annotate=gtest', '--test-type', 'views_unittests', 502 '--annotate=gtest', '--test-type', 'views_unittests',
502 'views_unittests.exe', '--gtest_print_time']) 503 'views_unittests.exe', '--gtest_print_time'])
503 # runtest step 504 # runtest step
504 api.python( 505 api.python(
505 "installer_util_unittests", 506 "installer_util_unittests",
506 api.path["build"].join("scripts", "slave", "runtest.py"), 507 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
507 args= 508 args=
508 ['--target', 'Debug', "--build-properties=%s" % 509 ['--target', 'Debug', "--build-properties=%s" %
509 api.json.dumps(build_properties, 510 api.json.dumps(build_properties,
510 separators=(',', ':')), 511 separators=(',', ':')),
511 '--factory-properties={"blink_config":"chromium",'+\ 512 '--factory-properties={"blink_config":"chromium",'+\
512 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 513 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
513 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\ 514 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":'+\
514 '"1","GYP_DEFINES":" component=shared_library",'+\ 515 '"1","GYP_DEFINES":" component=shared_library",'+\
515 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 516 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
516 '--annotate=gtest', '--test-type', 'installer_util_unittests', 517 '--annotate=gtest', '--test-type', 'installer_util_unittests',
517 'installer_util_unittests.exe', '--gtest_print_time']) 518 'installer_util_unittests.exe', '--gtest_print_time'])
518 # process dumps step 519 # process dumps step
519 api.python("process dumps", 520 api.python("process dumps",
520 api.path["build"].join("scripts", "slave", "process_dumps.py"), 521 api.infra_paths['build'].join("scripts", "slave", "process_dumps. py"),
521 args=["--target", "Debug"]) 522 args=["--target", "Debug"])
522 523
523 524
524 def Chromium_Builder__dbg__steps(api): 525 def Chromium_Builder__dbg__steps(api):
525 build_properties = api.properties.legacy() 526 build_properties = api.properties.legacy()
526 # svnkill step; not necessary in recipes 527 # svnkill step; not necessary in recipes
527 # update scripts step; implicitly run by recipe engine. 528 # update scripts step; implicitly run by recipe engine.
528 # taskkill step 529 # taskkill step
529 api.python("taskkill", api.path["build"].join("scripts", "slave", 530 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave",
530 "kill_processes.py")) 531 "kill_processes.py"))
531 # bot_update step 532 # bot_update step
532 src_cfg = api.gclient.make_config(GIT_MODE=True) 533 src_cfg = api.gclient.make_config(GIT_MODE=True)
533 soln = src_cfg.solutions.add() 534 soln = src_cfg.solutions.add()
534 soln.name = "src" 535 soln.name = "src"
535 soln.url = "https://chromium.googlesource.com/chromium/src.git" 536 soln.url = "https://chromium.googlesource.com/chromium/src.git"
536 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} 537 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None}
537 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', 538 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk',
538 'googlecode_url': 'http://%s.googlecode.com/svn', 539 'googlecode_url': 'http://%s.googlecode.com/svn',
539 'nacl_trunk': 540 'nacl_trunk':
(...skipping 11 matching lines...) Expand all
551 build_properties.update(result.json.output.get("properties", {})) 552 build_properties.update(result.json.output.get("properties", {}))
552 # gclient revert step; made unnecessary by bot_update 553 # gclient revert step; made unnecessary by bot_update
553 # gclient update step; made unnecessary by bot_update 554 # gclient update step; made unnecessary by bot_update
554 # gclient runhooks wrapper step 555 # gclient runhooks wrapper step
555 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 556 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1',
556 'LANDMINES_VERBOSE': '1', 557 'LANDMINES_VERBOSE': '1',
557 'DEPOT_TOOLS_UPDATE': '0', 558 'DEPOT_TOOLS_UPDATE': '0',
558 'GYP_DEFINES': 'fastbuild=1 component=shared_library', 559 'GYP_DEFINES': 'fastbuild=1 component=shared_library',
559 'GYP_MSVS_VERSION': '2015'} 560 'GYP_MSVS_VERSION': '2015'}
560 api.python("gclient runhooks wrapper", 561 api.python("gclient runhooks wrapper",
561 api.path["build"].join("scripts", "slave", 562 api.infra_paths['build'].join("scripts", "slave",
562 "runhooks_wrapper.py"), 563 "runhooks_wrapper.py"),
563 env=env) 564 env=env)
564 # cleanup_temp step 565 # cleanup_temp step
565 api.chromium.cleanup_temp() 566 api.chromium.cleanup_temp()
566 # compile.py step 567 # compile.py step
567 args = ['--solution', 'all.sln', '--project', 'chromium_builder_tests', 568 args = ['--solution', 'all.sln', '--project', 'chromium_builder_tests',
568 '--target', 'Debug', '--compiler=goma'] 569 '--target', 'Debug', '--compiler=goma']
569 if "clobber" in api.properties: 570 if "clobber" in api.properties:
570 args.append("--clobber") 571 args.append("--clobber")
571 api.python("compile", 572 api.python("compile",
572 api.path["build"].join("scripts", "slave", "compile.py"), 573 api.infra_paths['build'].join("scripts", "slave", "compile.py"),
573 args=args) 574 args=args)
574 # zip_build step 575 # zip_build step
575 step_result = api.python( 576 step_result = api.python(
576 "zip build", 577 "zip build",
577 api.path["build"].join("scripts", "slave", "zip_build.py"), 578 api.infra_paths['build'].join("scripts", "slave", "zip_build.py"),
578 args= 579 args=
579 ["--json-urls", api.json.output(), "--target", "Debug", '--build-url', 580 ["--json-urls", api.json.output(), "--target", "Debug", '--build-url',
580 'gs://chromium-build-transfer/Chromium FYI Builder (dbg)', 581 'gs://chromium-build-transfer/Chromium FYI Builder (dbg)',
581 '--build-properties=%s' % api.json.dumps(build_properties, 582 '--build-properties=%s' % api.json.dumps(build_properties,
582 separators=(',', ':')), 583 separators=(',', ':')),
583 '--factory-properties={"blink_config":"chromium",'+\ 584 '--factory-properties={"blink_config":"chromium",'+\
584 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 585 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
585 '"DEPOT_TOOLS_UPDATE":"0","GYP_DEFINES":'+\ 586 '"DEPOT_TOOLS_UPDATE":"0","GYP_DEFINES":'+\
586 '"fastbuild=1 component=shared_library",'+\ 587 '"fastbuild=1 component=shared_library",'+\
587 '"GYP_MSVS_VERSION":"2015","LANDMINES_VERBOSE":"1"},'+\ 588 '"GYP_MSVS_VERSION":"2015","LANDMINES_VERBOSE":"1"},'+\
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 "root": build_properties.get("root", ""), }}, 670 "root": build_properties.get("root", ""), }},
670 ] 671 ]
671 api.trigger(*trigger_spec) 672 api.trigger(*trigger_spec)
672 673
673 674
674 def Vista_Tests__dbg__2__steps(api): 675 def Vista_Tests__dbg__2__steps(api):
675 build_properties = api.properties.legacy() 676 build_properties = api.properties.legacy()
676 # svnkill step; not necessary in recipes 677 # svnkill step; not necessary in recipes
677 # update scripts step; implicitly run by recipe engine. 678 # update scripts step; implicitly run by recipe engine.
678 # taskkill step 679 # taskkill step
679 api.python("taskkill", api.path["build"].join("scripts", "slave", 680 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave",
680 "kill_processes.py")) 681 "kill_processes.py"))
681 # bot_update step 682 # bot_update step
682 src_cfg = api.gclient.make_config(GIT_MODE=True) 683 src_cfg = api.gclient.make_config(GIT_MODE=True)
683 soln = src_cfg.solutions.add() 684 soln = src_cfg.solutions.add()
684 soln.name = "src" 685 soln.name = "src"
685 soln.url = "https://chromium.googlesource.com/chromium/src.git" 686 soln.url = "https://chromium.googlesource.com/chromium/src.git"
686 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} 687 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None}
687 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', 688 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk',
688 'googlecode_url': 'http://%s.googlecode.com/svn', 689 'googlecode_url': 'http://%s.googlecode.com/svn',
689 'nacl_trunk': 690 'nacl_trunk':
(...skipping 11 matching lines...) Expand all
701 build_properties.update(result.json.output.get("properties", {})) 702 build_properties.update(result.json.output.get("properties", {}))
702 # gclient revert step; made unnecessary by bot_update 703 # gclient revert step; made unnecessary by bot_update
703 # gclient update step; made unnecessary by bot_update 704 # gclient update step; made unnecessary by bot_update
704 # gclient runhooks wrapper step 705 # gclient runhooks wrapper step
705 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 706 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1',
706 'GYP_CHROMIUM_NO_ACTION': '1', 707 'GYP_CHROMIUM_NO_ACTION': '1',
707 'LANDMINES_VERBOSE': '1', 708 'LANDMINES_VERBOSE': '1',
708 'DEPOT_TOOLS_UPDATE': '0', 709 'DEPOT_TOOLS_UPDATE': '0',
709 'GYP_DEFINES': ' component=shared_library'} 710 'GYP_DEFINES': ' component=shared_library'}
710 api.python("gclient runhooks wrapper", 711 api.python("gclient runhooks wrapper",
711 api.path["build"].join("scripts", "slave", 712 api.infra_paths['build'].join("scripts", "slave",
712 "runhooks_wrapper.py"), 713 "runhooks_wrapper.py"),
713 env=env) 714 env=env)
714 # cleanup_temp step 715 # cleanup_temp step
715 api.chromium.cleanup_temp() 716 api.chromium.cleanup_temp()
716 # extract build step 717 # extract build step
717 api.python( 718 api.python(
718 "extract build", 719 "extract build",
719 api.path["build"].join("scripts", "slave", "extract_build.py"), 720 api.infra_paths['build'].join("scripts", "slave", "extract_build.py"),
720 args=["--target", "Debug", "--build-archive-url", build_properties[ 721 args=["--target", "Debug", "--build-archive-url", build_properties[
721 "parent_build_archive_url"], '--build-properties=%s' % 722 "parent_build_archive_url"], '--build-properties=%s' %
722 api.json.dumps(build_properties, 723 api.json.dumps(build_properties,
723 separators=(',', ':'))]) 724 separators=(',', ':'))])
724 # runtest step 725 # runtest step
725 api.python( 726 api.python(
726 "browser_tests", 727 "browser_tests",
727 api.path["build"].join("scripts", "slave", "runtest.py"), 728 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
728 args= 729 args=
729 ['--target', 'Debug', "--build-properties=%s" % 730 ['--target', 'Debug', "--build-properties=%s" %
730 api.json.dumps(build_properties, 731 api.json.dumps(build_properties,
731 separators=(',', ':')), 732 separators=(',', ':')),
732 '--factory-properties={"blink_config":"chromium",'+\ 733 '--factory-properties={"blink_config":"chromium",'+\
733 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 734 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
734 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":"1",'+\ 735 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":"1",'+\
735 '"GYP_DEFINES":" component=shared_library",'+\ 736 '"GYP_DEFINES":" component=shared_library",'+\
736 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 737 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
737 '--annotate=gtest', '--test-type', 'browser_tests', 738 '--annotate=gtest', '--test-type', 'browser_tests',
738 'browser_tests.exe', '--lib=browser_tests', '--gtest_print_time']) 739 'browser_tests.exe', '--lib=browser_tests', '--gtest_print_time'])
739 # runtest step 740 # runtest step
740 api.python( 741 api.python(
741 "content_browsertests", 742 "content_browsertests",
742 api.path["build"].join("scripts", "slave", "runtest.py"), 743 api.infra_paths['build'].join("scripts", "slave", "runtest.py"),
743 args= 744 args=
744 ['--target', 'Debug', "--build-properties=%s" % 745 ['--target', 'Debug', "--build-properties=%s" %
745 api.json.dumps(build_properties, 746 api.json.dumps(build_properties,
746 separators=(',', ':')), 747 separators=(',', ':')),
747 '--factory-properties={"blink_config":"chromium",'+\ 748 '--factory-properties={"blink_config":"chromium",'+\
748 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ 749 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\
749 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":"1",'+\ 750 '"DEPOT_TOOLS_UPDATE":"0","GYP_CHROMIUM_NO_ACTION":"1",'+\
750 '"GYP_DEFINES":" component=shared_library",'+\ 751 '"GYP_DEFINES":" component=shared_library",'+\
751 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}', 752 '"LANDMINES_VERBOSE":"1"},"process_dumps":true}',
752 '--annotate=gtest', '--test-type', 'content_browsertests', 753 '--annotate=gtest', '--test-type', 'content_browsertests',
753 'content_browsertests.exe', '--gtest_print_time']) 754 'content_browsertests.exe', '--gtest_print_time'])
754 # process dumps step 755 # process dumps step
755 api.python("process dumps", 756 api.python("process dumps",
756 api.path["build"].join("scripts", "slave", "process_dumps.py"), 757 api.infra_paths['build'].join("scripts", "slave", "process_dumps. py"),
757 args=["--target", "Debug"]) 758 args=["--target", "Debug"])
758 759
759 760
760 dispatch_directory = { 761 dispatch_directory = {
761 'Vista Tests (dbg)(1)': Vista_Tests__dbg__1__steps, 762 'Vista Tests (dbg)(1)': Vista_Tests__dbg__1__steps,
762 'Chromium Builder (dbg)': Chromium_Builder__dbg__steps, 763 'Chromium Builder (dbg)': Chromium_Builder__dbg__steps,
763 'Vista Tests (dbg)(2)': Vista_Tests__dbg__2__steps, 764 'Vista Tests (dbg)(2)': Vista_Tests__dbg__2__steps,
764 } 765 }
765 766
766 767
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 api.properties(got_revision='123456789abcdef') + 810 api.properties(got_revision='123456789abcdef') +
810 api.properties(buildnumber='42') + 811 api.properties(buildnumber='42') +
811 api.properties(parent_build_archive_url='abc') + 812 api.properties(parent_build_archive_url='abc') +
812 api.properties(slavename='TestSlave') 813 api.properties(slavename='TestSlave')
813 ) 814 )
814 yield (api.test('builder_not_in_dispatch_directory') + 815 yield (api.test('builder_not_in_dispatch_directory') +
815 api.properties(mastername='chromium.fyi') + 816 api.properties(mastername='chromium.fyi') +
816 api.properties(buildername='nonexistent_builder') + 817 api.properties(buildername='nonexistent_builder') +
817 api.properties(slavename='TestSlave') 818 api.properties(slavename='TestSlave')
818 ) 819 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698