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

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

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

Powered by Google App Engine
This is Rietveld 408576698