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

Side by Side Diff: scripts/slave/recipes/chromium.fyi.win_misc_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, 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
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 ] 14 ]
16 15
17 16
18 def Chromium_Win_x64_Clobber_steps(api): 17 def Chromium_Win_x64_Clobber_steps(api):
19 build_properties = api.properties.legacy() 18 build_properties = api.properties.legacy()
20 # svnkill step; not necessary in recipes 19 # svnkill step; not necessary in recipes
21 # update scripts step; implicitly run by recipe engine. 20 # update scripts step; implicitly run by recipe engine.
22 # taskkill step 21 # taskkill step
23 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave", 22 api.python("taskkill", api.path["build"].join("scripts", "slave",
24 "kill_processes.py")) 23 "kill_processes.py"))
25 # bot_update step 24 # bot_update step
26 src_cfg = api.gclient.make_config(GIT_MODE=True) 25 src_cfg = api.gclient.make_config(GIT_MODE=True)
27 soln = src_cfg.solutions.add() 26 soln = src_cfg.solutions.add()
28 soln.name = "src" 27 soln.name = "src"
29 soln.url = "https://chromium.googlesource.com/chromium/src.git" 28 soln.url = "https://chromium.googlesource.com/chromium/src.git"
30 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} 29 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None}
31 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', 30 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk',
32 'googlecode_url': 'http://%s.googlecode.com/svn', 31 'googlecode_url': 'http://%s.googlecode.com/svn',
33 'nacl_trunk': 32 'nacl_trunk':
(...skipping 11 matching lines...) Expand all
45 build_properties.update(result.json.output.get("properties", {})) 44 build_properties.update(result.json.output.get("properties", {}))
46 # gclient revert step; made unnecessary by bot_update 45 # gclient revert step; made unnecessary by bot_update
47 # gclient update step; made unnecessary by bot_update 46 # gclient update step; made unnecessary by bot_update
48 # gclient runhooks wrapper step 47 # gclient runhooks wrapper step
49 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 48 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1',
50 'GYP_GENERATORS': 'ninja', 49 'GYP_GENERATORS': 'ninja',
51 'DEPOT_TOOLS_UPDATE': '0', 50 'DEPOT_TOOLS_UPDATE': '0',
52 'GYP_DEFINES': 'target_arch=x64 component=static_library', 51 'GYP_DEFINES': 'target_arch=x64 component=static_library',
53 'LANDMINES_VERBOSE': '1'} 52 'LANDMINES_VERBOSE': '1'}
54 api.python("gclient runhooks wrapper", 53 api.python("gclient runhooks wrapper",
55 api.infra_paths['build'].join("scripts", "slave", 54 api.path["build"].join("scripts", "slave",
56 "runhooks_wrapper.py"), 55 "runhooks_wrapper.py"),
57 env=env) 56 env=env)
58 # cleanup_temp step 57 # cleanup_temp step
59 api.chromium.cleanup_temp() 58 api.chromium.cleanup_temp()
60 # compile.py step 59 # compile.py step
61 args = ['--solution', 'out.sln', '--target', 'Release_x64', '--clobber', 60 args = ['--solution', 'out.sln', '--target', 'Release_x64', '--clobber',
62 '--build-tool=ninja', '--', 'chromium_builder_tests'] 61 '--build-tool=ninja', '--', 'chromium_builder_tests']
63 api.python("compile", 62 api.python("compile",
64 api.infra_paths['build'].join("scripts", "slave", "compile.py"), 63 api.path["build"].join("scripts", "slave", "compile.py"),
65 args=args) 64 args=args)
66 with api.step.defer_results(): 65 with api.step.defer_results():
67 # runtest step 66 # runtest step
68 api.python( 67 api.python(
69 "interactive_ui_tests", 68 "interactive_ui_tests",
70 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 69 api.path["build"].join("scripts", "slave", "runtest.py"),
71 args= 70 args=
72 ['--target', 'Release_x64', "--build-properties=%s" % 71 ['--target', 'Release_x64', "--build-properties=%s" %
73 api.json.dumps(build_properties, 72 api.json.dumps(build_properties,
74 separators=(',', ':')), 73 separators=(',', ':')),
75 ('--factory-properties={"blink_config":"chromium","gclient_env":' 74 ('--factory-properties={"blink_config":"chromium","gclient_env":'
76 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 75 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
77 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 76 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
78 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 77 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
79 '--annotate=gtest', '--test-type', 'interactive_ui_tests', 78 '--annotate=gtest', '--test-type', 'interactive_ui_tests',
80 'interactive_ui_tests.exe', '--gtest_print_time']) 79 'interactive_ui_tests.exe', '--gtest_print_time'])
81 # runtest step 80 # runtest step
82 api.python( 81 api.python(
83 "base_unittests", 82 "base_unittests",
84 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 83 api.path["build"].join("scripts", "slave", "runtest.py"),
85 args= 84 args=
86 ['--target', 'Release_x64', "--build-properties=%s" % 85 ['--target', 'Release_x64', "--build-properties=%s" %
87 api.json.dumps(build_properties, 86 api.json.dumps(build_properties,
88 separators=(',', ':')), 87 separators=(',', ':')),
89 ('--factory-properties={"blink_config":"chromium","gclient_env":' 88 ('--factory-properties={"blink_config":"chromium","gclient_env":'
90 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 89 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
91 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 90 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
92 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 91 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
93 '--annotate=gtest', '--test-type', 'base_unittests', 92 '--annotate=gtest', '--test-type', 'base_unittests',
94 'base_unittests.exe', '--gtest_print_time']) 93 'base_unittests.exe', '--gtest_print_time'])
95 # runtest step 94 # runtest step
96 api.python( 95 api.python(
97 "cacheinvalidation_unittests", 96 "cacheinvalidation_unittests",
98 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 97 api.path["build"].join("scripts", "slave", "runtest.py"),
99 args= 98 args=
100 ['--target', 'Release_x64', "--build-properties=%s" % 99 ['--target', 'Release_x64', "--build-properties=%s" %
101 api.json.dumps(build_properties, 100 api.json.dumps(build_properties,
102 separators=(',', ':')), 101 separators=(',', ':')),
103 ('--factory-properties={"blink_config":"chromium","gclient_env":' 102 ('--factory-properties={"blink_config":"chromium","gclient_env":'
104 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 103 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
105 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 104 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
106 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 105 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
107 '--annotate=gtest', '--test-type', 'cacheinvalidation_unittests', 106 '--annotate=gtest', '--test-type', 'cacheinvalidation_unittests',
108 'cacheinvalidation_unittests.exe', '--gtest_print_time']) 107 'cacheinvalidation_unittests.exe', '--gtest_print_time'])
109 # runtest step 108 # runtest step
110 api.python( 109 api.python(
111 "cc_unittests", 110 "cc_unittests",
112 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 111 api.path["build"].join("scripts", "slave", "runtest.py"),
113 args= 112 args=
114 ['--target', 'Release_x64', "--build-properties=%s" % 113 ['--target', 'Release_x64', "--build-properties=%s" %
115 api.json.dumps(build_properties, 114 api.json.dumps(build_properties,
116 separators=(',', ':')), 115 separators=(',', ':')),
117 ('--factory-properties={"blink_config":"chromium","gclient_env":' 116 ('--factory-properties={"blink_config":"chromium","gclient_env":'
118 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 117 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
119 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 118 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
120 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 119 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
121 '--annotate=gtest', '--test-type', 'cc_unittests', 120 '--annotate=gtest', '--test-type', 'cc_unittests',
122 'cc_unittests.exe', '--gtest_print_time']) 121 'cc_unittests.exe', '--gtest_print_time'])
123 # runtest step 122 # runtest step
124 api.python( 123 api.python(
125 "chromedriver_unittests", 124 "chromedriver_unittests",
126 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 125 api.path["build"].join("scripts", "slave", "runtest.py"),
127 args= 126 args=
128 ['--target', 'Release_x64', "--build-properties=%s" % 127 ['--target', 'Release_x64', "--build-properties=%s" %
129 api.json.dumps(build_properties, 128 api.json.dumps(build_properties,
130 separators=(',', ':')), 129 separators=(',', ':')),
131 ('--factory-properties={"blink_config":"chromium","gclient_env":' 130 ('--factory-properties={"blink_config":"chromium","gclient_env":'
132 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 131 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
133 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 132 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
134 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 133 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
135 '--annotate=gtest', '--test-type', 'chromedriver_unittests', 134 '--annotate=gtest', '--test-type', 'chromedriver_unittests',
136 'chromedriver_unittests.exe', '--gtest_print_time']) 135 'chromedriver_unittests.exe', '--gtest_print_time'])
137 # runtest step 136 # runtest step
138 api.python( 137 api.python(
139 "components_unittests", 138 "components_unittests",
140 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 139 api.path["build"].join("scripts", "slave", "runtest.py"),
141 args= 140 args=
142 ['--target', 'Release_x64', "--build-properties=%s" % 141 ['--target', 'Release_x64', "--build-properties=%s" %
143 api.json.dumps(build_properties, 142 api.json.dumps(build_properties,
144 separators=(',', ':')), 143 separators=(',', ':')),
145 ('--factory-properties={"blink_config":"chromium","gclient_env":' 144 ('--factory-properties={"blink_config":"chromium","gclient_env":'
146 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 145 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
147 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 146 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
148 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 147 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
149 '--annotate=gtest', '--test-type', 'components_unittests', 148 '--annotate=gtest', '--test-type', 'components_unittests',
150 'components_unittests.exe', '--gtest_print_time']) 149 'components_unittests.exe', '--gtest_print_time'])
151 # runtest step 150 # runtest step
152 api.python( 151 api.python(
153 "courgette_unittests", 152 "courgette_unittests",
154 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 153 api.path["build"].join("scripts", "slave", "runtest.py"),
155 args= 154 args=
156 ['--target', 'Release_x64', "--build-properties=%s" % 155 ['--target', 'Release_x64', "--build-properties=%s" %
157 api.json.dumps(build_properties, 156 api.json.dumps(build_properties,
158 separators=(',', ':')), 157 separators=(',', ':')),
159 ('--factory-properties={"blink_config":"chromium","gclient_env":' 158 ('--factory-properties={"blink_config":"chromium","gclient_env":'
160 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 159 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
161 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 160 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
162 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 161 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
163 '--annotate=gtest', '--test-type', 'courgette_unittests', 162 '--annotate=gtest', '--test-type', 'courgette_unittests',
164 'courgette_unittests.exe', '--gtest_print_time']) 163 'courgette_unittests.exe', '--gtest_print_time'])
165 # runtest step 164 # runtest step
166 api.python( 165 api.python(
167 "crypto_unittests", 166 "crypto_unittests",
168 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 167 api.path["build"].join("scripts", "slave", "runtest.py"),
169 args= 168 args=
170 ['--target', 'Release_x64', "--build-properties=%s" % 169 ['--target', 'Release_x64', "--build-properties=%s" %
171 api.json.dumps(build_properties, 170 api.json.dumps(build_properties,
172 separators=(',', ':')), 171 separators=(',', ':')),
173 ('--factory-properties={"blink_config":"chromium","gclient_env":' 172 ('--factory-properties={"blink_config":"chromium","gclient_env":'
174 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 173 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
175 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 174 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
176 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 175 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
177 '--annotate=gtest', '--test-type', 'crypto_unittests', 176 '--annotate=gtest', '--test-type', 'crypto_unittests',
178 'crypto_unittests.exe', '--gtest_print_time']) 177 'crypto_unittests.exe', '--gtest_print_time'])
179 # runtest step 178 # runtest step
180 api.python( 179 api.python(
181 "gcm_unit_tests", 180 "gcm_unit_tests",
182 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 181 api.path["build"].join("scripts", "slave", "runtest.py"),
183 args= 182 args=
184 ['--target', 'Release_x64', "--build-properties=%s" % 183 ['--target', 'Release_x64', "--build-properties=%s" %
185 api.json.dumps(build_properties, 184 api.json.dumps(build_properties,
186 separators=(',', ':')), 185 separators=(',', ':')),
187 ('--factory-properties={"blink_config":"chromium","gclient_env":' 186 ('--factory-properties={"blink_config":"chromium","gclient_env":'
188 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 187 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
189 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 188 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
190 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 189 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
191 '--annotate=gtest', '--test-type', 'gcm_unit_tests', 190 '--annotate=gtest', '--test-type', 'gcm_unit_tests',
192 'gcm_unit_tests.exe', '--gtest_print_time']) 191 'gcm_unit_tests.exe', '--gtest_print_time'])
193 # runtest step 192 # runtest step
194 api.python( 193 api.python(
195 "gpu_unittests", 194 "gpu_unittests",
196 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 195 api.path["build"].join("scripts", "slave", "runtest.py"),
197 args= 196 args=
198 ['--target', 'Release_x64', "--build-properties=%s" % 197 ['--target', 'Release_x64', "--build-properties=%s" %
199 api.json.dumps(build_properties, 198 api.json.dumps(build_properties,
200 separators=(',', ':')), 199 separators=(',', ':')),
201 ('--factory-properties={"blink_config":"chromium","gclient_env":' 200 ('--factory-properties={"blink_config":"chromium","gclient_env":'
202 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 201 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
203 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 202 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
204 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 203 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
205 '--annotate=gtest', '--test-type', 'gpu_unittests', 204 '--annotate=gtest', '--test-type', 'gpu_unittests',
206 'gpu_unittests.exe', '--gmock_verbose=error', '--gtest_print_time']) 205 'gpu_unittests.exe', '--gmock_verbose=error', '--gtest_print_time'])
207 # runtest step 206 # runtest step
208 api.python( 207 api.python(
209 "url_unittests", 208 "url_unittests",
210 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 209 api.path["build"].join("scripts", "slave", "runtest.py"),
211 args= 210 args=
212 ['--target', 'Release_x64', "--build-properties=%s" % 211 ['--target', 'Release_x64', "--build-properties=%s" %
213 api.json.dumps(build_properties, 212 api.json.dumps(build_properties,
214 separators=(',', ':')), 213 separators=(',', ':')),
215 ('--factory-properties={"blink_config":"chromium","gclient_env":' 214 ('--factory-properties={"blink_config":"chromium","gclient_env":'
216 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 215 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
217 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 216 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
218 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 217 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
219 '--annotate=gtest', '--test-type', 'url_unittests', 218 '--annotate=gtest', '--test-type', 'url_unittests',
220 'url_unittests.exe', '--gtest_print_time']) 219 'url_unittests.exe', '--gtest_print_time'])
221 # runtest step 220 # runtest step
222 api.python( 221 api.python(
223 "jingle_unittests", 222 "jingle_unittests",
224 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 223 api.path["build"].join("scripts", "slave", "runtest.py"),
225 args= 224 args=
226 ['--target', 'Release_x64', "--build-properties=%s" % 225 ['--target', 'Release_x64', "--build-properties=%s" %
227 api.json.dumps(build_properties, 226 api.json.dumps(build_properties,
228 separators=(',', ':')), 227 separators=(',', ':')),
229 ('--factory-properties={"blink_config":"chromium","gclient_env":' 228 ('--factory-properties={"blink_config":"chromium","gclient_env":'
230 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 229 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
231 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 230 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
232 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 231 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
233 '--annotate=gtest', '--test-type', 'jingle_unittests', 232 '--annotate=gtest', '--test-type', 'jingle_unittests',
234 'jingle_unittests.exe', '--gtest_print_time']) 233 'jingle_unittests.exe', '--gtest_print_time'])
235 # runtest step 234 # runtest step
236 api.python( 235 api.python(
237 "media_unittests", 236 "media_unittests",
238 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 237 api.path["build"].join("scripts", "slave", "runtest.py"),
239 args= 238 args=
240 ['--target', 'Release_x64', "--build-properties=%s" % 239 ['--target', 'Release_x64', "--build-properties=%s" %
241 api.json.dumps(build_properties, 240 api.json.dumps(build_properties,
242 separators=(',', ':')), 241 separators=(',', ':')),
243 ('--factory-properties={"blink_config":"chromium","gclient_env":' 242 ('--factory-properties={"blink_config":"chromium","gclient_env":'
244 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 243 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
245 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 244 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
246 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 245 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
247 '--annotate=gtest', '--test-type', 'media_unittests', 246 '--annotate=gtest', '--test-type', 'media_unittests',
248 'media_unittests.exe', '--gtest_print_time']) 247 'media_unittests.exe', '--gtest_print_time'])
249 # runtest step 248 # runtest step
250 api.python( 249 api.python(
251 "net_unittests", 250 "net_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', 'Release_x64', "--build-properties=%s" % 253 ['--target', 'Release_x64', "--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","gclient_env":' 256 ('--factory-properties={"blink_config":"chromium","gclient_env":'
258 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 257 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
259 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 258 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
260 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 259 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
261 '--annotate=gtest', '--test-type', 'net_unittests', 260 '--annotate=gtest', '--test-type', 'net_unittests',
262 'net_unittests.exe', '--gtest_print_time']) 261 'net_unittests.exe', '--gtest_print_time'])
263 # runtest step 262 # runtest step
264 api.python( 263 api.python(
265 "ppapi_unittests", 264 "ppapi_unittests",
266 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 265 api.path["build"].join("scripts", "slave", "runtest.py"),
267 args= 266 args=
268 ['--target', 'Release_x64', "--build-properties=%s" % 267 ['--target', 'Release_x64', "--build-properties=%s" %
269 api.json.dumps(build_properties, 268 api.json.dumps(build_properties,
270 separators=(',', ':')), 269 separators=(',', ':')),
271 ('--factory-properties={"blink_config":"chromium","gclient_env":' 270 ('--factory-properties={"blink_config":"chromium","gclient_env":'
272 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 271 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
273 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 272 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
274 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 273 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
275 '--annotate=gtest', '--test-type', 'ppapi_unittests', 274 '--annotate=gtest', '--test-type', 'ppapi_unittests',
276 'ppapi_unittests.exe', '--gtest_print_time']) 275 'ppapi_unittests.exe', '--gtest_print_time'])
277 # runtest step 276 # runtest step
278 api.python( 277 api.python(
279 "printing_unittests", 278 "printing_unittests",
280 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 279 api.path["build"].join("scripts", "slave", "runtest.py"),
281 args= 280 args=
282 ['--target', 'Release_x64', "--build-properties=%s" % 281 ['--target', 'Release_x64', "--build-properties=%s" %
283 api.json.dumps(build_properties, 282 api.json.dumps(build_properties,
284 separators=(',', ':')), 283 separators=(',', ':')),
285 ('--factory-properties={"blink_config":"chromium","gclient_env":' 284 ('--factory-properties={"blink_config":"chromium","gclient_env":'
286 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 285 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
287 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 286 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
288 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 287 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
289 '--annotate=gtest', '--test-type', 'printing_unittests', 288 '--annotate=gtest', '--test-type', 'printing_unittests',
290 'printing_unittests.exe', '--gtest_print_time']) 289 'printing_unittests.exe', '--gtest_print_time'])
291 # runtest step 290 # runtest step
292 api.python( 291 api.python(
293 "remoting_unittests", 292 "remoting_unittests",
294 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 293 api.path["build"].join("scripts", "slave", "runtest.py"),
295 args= 294 args=
296 ['--target', 'Release_x64', "--build-properties=%s" % 295 ['--target', 'Release_x64', "--build-properties=%s" %
297 api.json.dumps(build_properties, 296 api.json.dumps(build_properties,
298 separators=(',', ':')), 297 separators=(',', ':')),
299 ('--factory-properties={"blink_config":"chromium","gclient_env":' 298 ('--factory-properties={"blink_config":"chromium","gclient_env":'
300 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 299 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
301 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 300 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
302 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 301 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
303 '--annotate=gtest', '--test-type', 'remoting_unittests', 302 '--annotate=gtest', '--test-type', 'remoting_unittests',
304 'remoting_unittests.exe', '--gtest_print_time']) 303 'remoting_unittests.exe', '--gtest_print_time'])
305 # runtest step 304 # runtest step
306 api.python( 305 api.python(
307 "sbox_unittests", 306 "sbox_unittests",
308 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 307 api.path["build"].join("scripts", "slave", "runtest.py"),
309 args= 308 args=
310 ['--target', 'Release_x64', "--build-properties=%s" % 309 ['--target', 'Release_x64', "--build-properties=%s" %
311 api.json.dumps(build_properties, 310 api.json.dumps(build_properties,
312 separators=(',', ':')), 311 separators=(',', ':')),
313 ('--factory-properties={"blink_config":"chromium","gclient_env":' 312 ('--factory-properties={"blink_config":"chromium","gclient_env":'
314 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 313 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
315 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 314 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
316 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 315 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
317 '--annotate=gtest', '--test-type', 'sbox_unittests', 316 '--annotate=gtest', '--test-type', 'sbox_unittests',
318 'sbox_unittests.exe', '--gtest_print_time']) 317 'sbox_unittests.exe', '--gtest_print_time'])
319 # runtest step 318 # runtest step
320 api.python( 319 api.python(
321 "sbox_integration_tests", 320 "sbox_integration_tests",
322 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 321 api.path["build"].join("scripts", "slave", "runtest.py"),
323 args= 322 args=
324 ['--target', 'Release_x64', "--build-properties=%s" % 323 ['--target', 'Release_x64', "--build-properties=%s" %
325 api.json.dumps(build_properties, 324 api.json.dumps(build_properties,
326 separators=(',', ':')), 325 separators=(',', ':')),
327 ('--factory-properties={"blink_config":"chromium","gclient_env":' 326 ('--factory-properties={"blink_config":"chromium","gclient_env":'
328 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 327 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
329 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 328 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
330 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 329 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
331 '--annotate=gtest', '--test-type', 'sbox_integration_tests', 330 '--annotate=gtest', '--test-type', 'sbox_integration_tests',
332 'sbox_integration_tests.exe', '--gtest_print_time']) 331 'sbox_integration_tests.exe', '--gtest_print_time'])
333 # runtest step 332 # runtest step
334 api.python( 333 api.python(
335 "sbox_validation_tests", 334 "sbox_validation_tests",
336 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 335 api.path["build"].join("scripts", "slave", "runtest.py"),
337 args= 336 args=
338 ['--target', 'Release_x64', "--build-properties=%s" % 337 ['--target', 'Release_x64', "--build-properties=%s" %
339 api.json.dumps(build_properties, 338 api.json.dumps(build_properties,
340 separators=(',', ':')), 339 separators=(',', ':')),
341 ('--factory-properties={"blink_config":"chromium","gclient_env":' 340 ('--factory-properties={"blink_config":"chromium","gclient_env":'
342 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 341 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
343 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 342 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
344 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 343 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
345 '--annotate=gtest', '--test-type', 'sbox_validation_tests', 344 '--annotate=gtest', '--test-type', 'sbox_validation_tests',
346 'sbox_validation_tests.exe', '--gtest_print_time']) 345 'sbox_validation_tests.exe', '--gtest_print_time'])
347 # runtest step 346 # runtest step
348 api.python( 347 api.python(
349 "ipc_tests", 348 "ipc_tests",
350 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 349 api.path["build"].join("scripts", "slave", "runtest.py"),
351 args= 350 args=
352 ['--target', 'Release_x64', "--build-properties=%s" % 351 ['--target', 'Release_x64', "--build-properties=%s" %
353 api.json.dumps(build_properties, 352 api.json.dumps(build_properties,
354 separators=(',', ':')), 353 separators=(',', ':')),
355 ('--factory-properties={"blink_config":"chromium","gclient_env":' 354 ('--factory-properties={"blink_config":"chromium","gclient_env":'
356 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 355 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
357 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 356 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
358 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 357 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
359 '--annotate=gtest', '--test-type', 'ipc_tests', 'ipc_tests.exe', 358 '--annotate=gtest', '--test-type', 'ipc_tests', 'ipc_tests.exe',
360 '--gtest_print_time']) 359 '--gtest_print_time'])
361 # runtest step 360 # runtest step
362 api.python( 361 api.python(
363 "sync_unit_tests", 362 "sync_unit_tests",
364 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 363 api.path["build"].join("scripts", "slave", "runtest.py"),
365 args= 364 args=
366 ['--target', 'Release_x64', "--build-properties=%s" % 365 ['--target', 'Release_x64', "--build-properties=%s" %
367 api.json.dumps(build_properties, 366 api.json.dumps(build_properties,
368 separators=(',', ':')), 367 separators=(',', ':')),
369 ('--factory-properties={"blink_config":"chromium","gclient_env":' 368 ('--factory-properties={"blink_config":"chromium","gclient_env":'
370 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 369 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
371 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 370 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
372 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 371 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
373 '--annotate=gtest', '--test-type', 'sync_unit_tests', 372 '--annotate=gtest', '--test-type', 'sync_unit_tests',
374 'sync_unit_tests.exe', '--gtest_print_time']) 373 'sync_unit_tests.exe', '--gtest_print_time'])
375 # runtest step 374 # runtest step
376 api.python( 375 api.python(
377 "unit_tests", 376 "unit_tests",
378 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 377 api.path["build"].join("scripts", "slave", "runtest.py"),
379 args= 378 args=
380 ['--target', 'Release_x64', "--build-properties=%s" % 379 ['--target', 'Release_x64', "--build-properties=%s" %
381 api.json.dumps(build_properties, 380 api.json.dumps(build_properties,
382 separators=(',', ':')), 381 separators=(',', ':')),
383 ('--factory-properties={"blink_config":"chromium","gclient_env":' 382 ('--factory-properties={"blink_config":"chromium","gclient_env":'
384 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 383 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
385 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 384 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
386 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 385 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
387 '--annotate=gtest', '--test-type', 'unit_tests', 'unit_tests.exe', 386 '--annotate=gtest', '--test-type', 'unit_tests', 'unit_tests.exe',
388 '--gtest_print_time']) 387 '--gtest_print_time'])
389 # runtest step 388 # runtest step
390 api.python( 389 api.python(
391 "skia_unittests", 390 "skia_unittests",
392 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 391 api.path["build"].join("scripts", "slave", "runtest.py"),
393 args= 392 args=
394 ['--target', 'Release_x64', "--build-properties=%s" % 393 ['--target', 'Release_x64', "--build-properties=%s" %
395 api.json.dumps(build_properties, 394 api.json.dumps(build_properties,
396 separators=(',', ':')), 395 separators=(',', ':')),
397 ('--factory-properties={"blink_config":"chromium","gclient_env":' 396 ('--factory-properties={"blink_config":"chromium","gclient_env":'
398 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 397 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
399 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 398 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
400 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 399 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
401 '--annotate=gtest', '--test-type', 'skia_unittests', 400 '--annotate=gtest', '--test-type', 'skia_unittests',
402 'skia_unittests.exe', '--gtest_print_time']) 401 'skia_unittests.exe', '--gtest_print_time'])
403 # runtest step 402 # runtest step
404 api.python( 403 api.python(
405 "sql_unittests", 404 "sql_unittests",
406 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 405 api.path["build"].join("scripts", "slave", "runtest.py"),
407 args= 406 args=
408 ['--target', 'Release_x64', "--build-properties=%s" % 407 ['--target', 'Release_x64', "--build-properties=%s" %
409 api.json.dumps(build_properties, 408 api.json.dumps(build_properties,
410 separators=(',', ':')), 409 separators=(',', ':')),
411 ('--factory-properties={"blink_config":"chromium","gclient_env":' 410 ('--factory-properties={"blink_config":"chromium","gclient_env":'
412 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 411 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
413 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 412 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
414 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 413 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
415 '--annotate=gtest', '--test-type', 'sql_unittests', 414 '--annotate=gtest', '--test-type', 'sql_unittests',
416 'sql_unittests.exe', '--gtest_print_time']) 415 'sql_unittests.exe', '--gtest_print_time'])
417 # runtest step 416 # runtest step
418 api.python( 417 api.python(
419 "ui_base_unittests", 418 "ui_base_unittests",
420 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 419 api.path["build"].join("scripts", "slave", "runtest.py"),
421 args= 420 args=
422 ['--target', 'Release_x64', "--build-properties=%s" % 421 ['--target', 'Release_x64', "--build-properties=%s" %
423 api.json.dumps(build_properties, 422 api.json.dumps(build_properties,
424 separators=(',', ':')), 423 separators=(',', ':')),
425 ('--factory-properties={"blink_config":"chromium","gclient_env":' 424 ('--factory-properties={"blink_config":"chromium","gclient_env":'
426 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 425 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
427 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 426 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
428 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 427 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
429 '--annotate=gtest', '--test-type', 'ui_base_unittests', 428 '--annotate=gtest', '--test-type', 'ui_base_unittests',
430 'ui_base_unittests.exe', '--gtest_print_time']) 429 'ui_base_unittests.exe', '--gtest_print_time'])
431 # runtest step 430 # runtest step
432 api.python( 431 api.python(
433 "content_unittests", 432 "content_unittests",
434 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 433 api.path["build"].join("scripts", "slave", "runtest.py"),
435 args= 434 args=
436 ['--target', 'Release_x64', "--build-properties=%s" % 435 ['--target', 'Release_x64', "--build-properties=%s" %
437 api.json.dumps(build_properties, 436 api.json.dumps(build_properties,
438 separators=(',', ':')), 437 separators=(',', ':')),
439 ('--factory-properties={"blink_config":"chromium","gclient_env":' 438 ('--factory-properties={"blink_config":"chromium","gclient_env":'
440 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 439 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
441 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 440 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
442 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 441 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
443 '--annotate=gtest', '--test-type', 'content_unittests', 442 '--annotate=gtest', '--test-type', 'content_unittests',
444 'content_unittests.exe', '--gtest_print_time']) 443 'content_unittests.exe', '--gtest_print_time'])
445 # runtest step 444 # runtest step
446 api.python( 445 api.python(
447 "views_unittests", 446 "views_unittests",
448 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 447 api.path["build"].join("scripts", "slave", "runtest.py"),
449 args= 448 args=
450 ['--target', 'Release_x64', "--build-properties=%s" % 449 ['--target', 'Release_x64', "--build-properties=%s" %
451 api.json.dumps(build_properties, 450 api.json.dumps(build_properties,
452 separators=(',', ':')), 451 separators=(',', ':')),
453 ('--factory-properties={"blink_config":"chromium","gclient_env":' 452 ('--factory-properties={"blink_config":"chromium","gclient_env":'
454 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 453 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
455 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 454 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
456 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 455 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
457 '--annotate=gtest', '--test-type', 'views_unittests', 456 '--annotate=gtest', '--test-type', 'views_unittests',
458 'views_unittests.exe', '--gtest_print_time']) 457 'views_unittests.exe', '--gtest_print_time'])
459 # runtest step 458 # runtest step
460 api.python( 459 api.python(
461 "browser_tests", 460 "browser_tests",
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', 'Release_x64', "--build-properties=%s" % 463 ['--target', 'Release_x64', "--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","gclient_env":' 466 ('--factory-properties={"blink_config":"chromium","gclient_env":'
468 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 467 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
469 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 468 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
470 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 469 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
471 '--annotate=gtest', '--test-type', 'browser_tests', 470 '--annotate=gtest', '--test-type', 'browser_tests',
472 'browser_tests.exe', '--lib=browser_tests', '--gtest_print_time']) 471 'browser_tests.exe', '--lib=browser_tests', '--gtest_print_time'])
473 # runtest step 472 # runtest step
474 api.python( 473 api.python(
475 "content_browsertests", 474 "content_browsertests",
476 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 475 api.path["build"].join("scripts", "slave", "runtest.py"),
477 args= 476 args=
478 ['--target', 'Release_x64', "--build-properties=%s" % 477 ['--target', 'Release_x64', "--build-properties=%s" %
479 api.json.dumps(build_properties, 478 api.json.dumps(build_properties,
480 separators=(',', ':')), 479 separators=(',', ':')),
481 ('--factory-properties={"blink_config":"chromium","gclient_env":' 480 ('--factory-properties={"blink_config":"chromium","gclient_env":'
482 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 481 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
483 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 482 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
484 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 483 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
485 '--annotate=gtest', '--test-type', 'content_browsertests', 484 '--annotate=gtest', '--test-type', 'content_browsertests',
486 'content_browsertests.exe', '--gtest_print_time']) 485 'content_browsertests.exe', '--gtest_print_time'])
487 # runtest step 486 # runtest step
488 api.python( 487 api.python(
489 "installer_util_unittests", 488 "installer_util_unittests",
490 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 489 api.path["build"].join("scripts", "slave", "runtest.py"),
491 args= 490 args=
492 ['--target', 'Release_x64', "--build-properties=%s" % 491 ['--target', 'Release_x64', "--build-properties=%s" %
493 api.json.dumps(build_properties, 492 api.json.dumps(build_properties,
494 separators=(',', ':')), 493 separators=(',', ':')),
495 ('--factory-properties={"blink_config":"chromium","gclient_env":' 494 ('--factory-properties={"blink_config":"chromium","gclient_env":'
496 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 495 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
497 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 496 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
498 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 497 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
499 '--annotate=gtest', '--test-type', 'installer_util_unittests', 498 '--annotate=gtest', '--test-type', 'installer_util_unittests',
500 'installer_util_unittests.exe', '--gtest_print_time']) 499 'installer_util_unittests.exe', '--gtest_print_time'])
501 # runtest step 500 # runtest step
502 api.python( 501 api.python(
503 "sync_integration_tests", 502 "sync_integration_tests",
504 api.infra_paths['build'].join("scripts", "slave", "runtest.py"), 503 api.path["build"].join("scripts", "slave", "runtest.py"),
505 args= 504 args=
506 ['--target', 'Release_x64', "--build-properties=%s" % 505 ['--target', 'Release_x64', "--build-properties=%s" %
507 api.json.dumps(build_properties, 506 api.json.dumps(build_properties,
508 separators=(',', ':')), 507 separators=(',', ':')),
509 ('--factory-properties={"blink_config":"chromium","gclient_env":' 508 ('--factory-properties={"blink_config":"chromium","gclient_env":'
510 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",' 509 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'
511 '"GYP_DEFINES":"target_arch=x64 component=static_library",' 510 '"GYP_DEFINES":"target_arch=x64 component=static_library",'
512 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'), 511 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"}}'),
513 '--annotate=gtest', '--test-type', 'sync_integration_tests', 512 '--annotate=gtest', '--test-type', 'sync_integration_tests',
514 'sync_integration_tests.exe', '--ui-test-action-max-timeout=120000', 513 'sync_integration_tests.exe', '--ui-test-action-max-timeout=120000',
515 '--gtest_print_time']) 514 '--gtest_print_time'])
516 # nacl_integration step 515 # nacl_integration step
517 api.python("nacl_integration", 516 api.python("nacl_integration",
518 api.infra_paths['slave_build'].join( 517 api.path["slave_build"].join('src', 'chrome', 'test',
519 'src', 'chrome', 'test', 'nacl_test_injection', 518 'nacl_test_injection',
520 'buildbot_nacl_integration.py'), 519 'buildbot_nacl_integration.py'),
521 args=['--mode', 'Release_x64'], 520 args=['--mode', 'Release_x64'],
522 env={}, 521 env={},
523 cwd=api.infra_paths['slave_build']) 522 cwd=api.path["slave_build"])
524 523
525 524
526 def Windows_8_App_Certification_steps(api): 525 def Windows_8_App_Certification_steps(api):
527 build_properties = api.properties.legacy() 526 build_properties = api.properties.legacy()
528 # svnkill step; not necessary in recipes 527 # svnkill step; not necessary in recipes
529 # update scripts step; implicitly run by recipe engine. 528 # update scripts step; implicitly run by recipe engine.
530 # taskkill step 529 # taskkill step
531 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave", 530 api.python("taskkill", api.path["build"].join("scripts", "slave",
532 "kill_processes.py")) 531 "kill_processes.py"))
533 # bot_update step 532 # bot_update step
534 src_cfg = api.gclient.make_config(GIT_MODE=True) 533 src_cfg = api.gclient.make_config(GIT_MODE=True)
535 soln = src_cfg.solutions.add() 534 soln = src_cfg.solutions.add()
536 soln.name = "src" 535 soln.name = "src"
537 soln.url = "https://chromium.googlesource.com/chromium/src.git" 536 soln.url = "https://chromium.googlesource.com/chromium/src.git"
538 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} 537 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None}
539 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk', 538 soln.custom_vars = {'webkit_trunk': 'http://src.chromium.org/blink/trunk',
540 'googlecode_url': 'http://%s.googlecode.com/svn', 539 'googlecode_url': 'http://%s.googlecode.com/svn',
541 'nacl_trunk': 540 'nacl_trunk':
(...skipping 10 matching lines...) Expand all
552 result = api.bot_update.ensure_checkout(force=True) 551 result = api.bot_update.ensure_checkout(force=True)
553 build_properties.update(result.json.output.get("properties", {})) 552 build_properties.update(result.json.output.get("properties", {}))
554 # gclient revert step; made unnecessary by bot_update 553 # gclient revert step; made unnecessary by bot_update
555 # gclient update step; made unnecessary by bot_update 554 # gclient update step; made unnecessary by bot_update
556 # gclient runhooks wrapper step 555 # gclient runhooks wrapper step
557 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 556 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1',
558 'LANDMINES_VERBOSE': '1', 557 'LANDMINES_VERBOSE': '1',
559 'DEPOT_TOOLS_UPDATE': '0', 558 'DEPOT_TOOLS_UPDATE': '0',
560 'GYP_DEFINES': ' component=static_library'} 559 'GYP_DEFINES': ' component=static_library'}
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', 'chrome.sln', '--target', 'Release'] 567 args = ['--solution', 'chrome.sln', '--target', 'Release']
569 if "clobber" in api.properties: 568 if "clobber" in api.properties:
570 args.append("--clobber") 569 args.append("--clobber")
571 api.python("compile", 570 api.python("compile",
572 api.infra_paths['build'].join("scripts", "slave", "compile.py"), 571 api.path["build"].join("scripts", "slave", "compile.py"),
573 args=args) 572 args=args)
574 573
575 574
576 dispatch_directory = { 575 dispatch_directory = {
577 'Chromium Win x64 Clobber': Chromium_Win_x64_Clobber_steps, 576 'Chromium Win x64 Clobber': Chromium_Win_x64_Clobber_steps,
578 'Windows 8 App Certification': Windows_8_App_Certification_steps, 577 'Windows 8 App Certification': Windows_8_App_Certification_steps,
579 } 578 }
580 579
581 580
582 def RunSteps(api): 581 def RunSteps(api):
(...skipping 27 matching lines...) Expand all
610 api.properties(got_revision='123456789abcdef') + 609 api.properties(got_revision='123456789abcdef') +
611 api.properties(buildnumber='42') + 610 api.properties(buildnumber='42') +
612 api.properties(clobber='') + 611 api.properties(clobber='') +
613 api.properties(slavename='TestSlave') 612 api.properties(slavename='TestSlave')
614 ) 613 )
615 yield (api.test('builder_not_in_dispatch_directory') + 614 yield (api.test('builder_not_in_dispatch_directory') +
616 api.properties(mastername='chromium.fyi') + 615 api.properties(mastername='chromium.fyi') +
617 api.properties(buildername='nonexistent_builder') + 616 api.properties(buildername='nonexistent_builder') +
618 api.properties(slavename='TestSlave') 617 api.properties(slavename='TestSlave')
619 ) 618 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698