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