| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'depot_tools/gclient', | 6 'depot_tools/gclient', |
| 7 'depot_tools/bot_update', | 7 'depot_tools/bot_update', |
| 8 'recipe_engine/path', | 8 'recipe_engine/path', |
| 9 'recipe_engine/platform', | 9 'recipe_engine/platform', |
| 10 'recipe_engine/properties', | 10 'recipe_engine/properties', |
| 11 'recipe_engine/python', | 11 'recipe_engine/python', |
| 12 'recipe_engine/step', | 12 'recipe_engine/step', |
| 13 ] | 13 ] |
| 14 | 14 |
| 15 from recipe_engine.recipe_api import Property | 15 from recipe_engine.recipe_api import Property |
| 16 | 16 |
| 17 PROPERTIES = { | 17 PROPERTIES = { |
| 18 'skia': Property(default=False, kind=bool), | 18 'skia': Property(default=False, kind=bool), |
| 19 'xfa': Property(default=False, kind=bool), | 19 'xfa': Property(default=False, kind=bool), |
| 20 'memory_tool': Property(default=None, kind=str), | 20 'memory_tool': Property(default=None, kind=str), |
| 21 'v8': Property(default=True, kind=bool), | 21 'v8': Property(default=True, kind=bool), |
| 22 'win64': Property(default=False, kind=bool), | 22 'win32': Property(default=False, kind=bool), |
| 23 'clang': Property(default=False, kind=bool), | 23 'clang': Property(default=False, kind=bool), |
| 24 'rel': Property(default=False, kind=bool), | 24 'rel': Property(default=False, kind=bool), |
| 25 'gn': Property(default=False, kind=bool), | 25 'gn': Property(default=True, kind=bool), |
| 26 'skip_test': Property(default=False, kind=bool), | 26 'skip_test': Property(default=False, kind=bool), |
| 27 'target_os': Property(default=None, kind=str), | 27 'target_os': Property(default=None, kind=str), |
| 28 } | 28 } |
| 29 | 29 |
| 30 | 30 def _CheckoutSteps(api, memory_tool, skia, xfa, v8, win32, clang, gn, |
| 31 def _MakeGypDefines(gyp_defines): | |
| 32 return ' '.join(['%s=%s' % (key, str(value)) for key, value in | |
| 33 gyp_defines.iteritems()]) | |
| 34 | |
| 35 | |
| 36 def _CheckoutSteps(api, memory_tool, skia, xfa, v8, win64, clang, gn, | |
| 37 target_os): | 31 target_os): |
| 38 # Checkout pdfium and its dependencies (specified in DEPS) using gclient | 32 # Checkout pdfium and its dependencies (specified in DEPS) using gclient |
| 39 api.gclient.set_config('pdfium') | 33 api.gclient.set_config('pdfium') |
| 40 if target_os: | 34 if target_os: |
| 41 api.gclient.c.target_os = {target_os} | 35 api.gclient.c.target_os = {target_os} |
| 42 api.bot_update.ensure_checkout(force=True) | 36 api.bot_update.ensure_checkout(force=True) |
| 43 | 37 |
| 44 gyp_defines = { | 38 gyp_defines = [ |
| 45 'pdf_enable_v8': int(v8), | 39 'pdf_enable_v8=%d' % int(v8), |
| 46 'pdf_enable_xfa': int(xfa), | 40 'pdf_enable_xfa=%d' % int(xfa), |
| 47 } | 41 ] |
| 48 | 42 |
| 49 if skia: | 43 if skia: |
| 50 gyp_defines['pdf_use_skia'] = 1 | 44 gyp_defines.append('pdf_use_skia=1') |
| 51 | 45 |
| 52 if memory_tool == 'asan': | 46 if memory_tool == 'asan': |
| 53 gyp_defines['asan'] = 1 | 47 gyp_defines.append('asan=1') |
| 54 | 48 |
| 55 if clang: | 49 if clang: |
| 56 gyp_defines['clang'] = 1 | 50 gyp_defines.append('clang=1') |
| 57 | |
| 58 if win64: | |
| 59 gyp_defines['target_arch'] = 'x64' | |
| 60 | 51 |
| 61 if gn: | 52 if gn: |
| 62 env = {'GYP_CHROMIUM_NO_ACTION' : '1', | 53 if win32: |
| 63 'GYP_DEFINES': _MakeGypDefines(gyp_defines)} | 54 gyp_defines.append('target_arch=ia32') |
| 55 env = {'GYP_PDFIUM_NO_ACTION' : '1', |
| 56 'GYP_DEFINES': ' '.join(gyp_defines)} |
| 64 else: | 57 else: |
| 65 env = {'GYP_DEFINES': _MakeGypDefines(gyp_defines)} | 58 if not win32: |
| 59 gyp_defines.append('target_arch=x64') |
| 60 env = {'GYP_DEFINES': ' '.join(gyp_defines)} |
| 66 | 61 |
| 67 api.gclient.runhooks(env=env) | 62 api.gclient.runhooks(env=env) |
| 68 | 63 |
| 69 | 64 |
| 70 def _GNGenBuilds(api, skia, xfa, v8, rel, target_os, out_dir): | 65 def _GNGenBuilds(api, memory_tool, skia, xfa, v8, win32, clang, rel, |
| 66 target_os, out_dir): |
| 71 gn_bool = {True: 'true', False: 'false'}; | 67 gn_bool = {True: 'true', False: 'false'}; |
| 72 # Generate build files by GN. | 68 # Generate build files by GN. |
| 73 checkout = api.path['checkout'] | 69 checkout = api.path['checkout'] |
| 74 gn_cmd = api.path['depot_tools'].join('gn.py') | 70 gn_cmd = api.path['depot_tools'].join('gn.py') |
| 75 | 71 |
| 76 # Prepare the arguments to pass in. | 72 # Prepare the arguments to pass in. |
| 77 args = [ | 73 args = [ |
| 78 'is_debug=%s' % gn_bool[not rel], | 74 'is_debug=%s' % gn_bool[not rel], |
| 79 'pdf_enable_v8=%s' % gn_bool[v8], | 75 'pdf_enable_v8=%s' % gn_bool[v8], |
| 80 'pdf_enable_xfa=%s' % gn_bool[xfa], | 76 'pdf_enable_xfa=%s' % gn_bool[xfa], |
| 81 'pdf_use_skia=%s' % gn_bool[skia], | 77 'pdf_use_skia=%s' % gn_bool[skia], |
| 82 'pdf_is_standalone=true', | 78 'pdf_is_standalone=true', |
| 83 ] | 79 ] |
| 80 if clang: |
| 81 args.append('is_clang=true') |
| 82 if memory_tool == 'asan': |
| 83 args.append('is_asan=true') |
| 84 if target_os: | 84 if target_os: |
| 85 args.append('target_os="%s"' % target_os) | 85 args.append('target_os="%s"' % target_os) |
| 86 if win32: |
| 87 args.append('target_cpu=\"x86\"') |
| 86 | 88 |
| 87 api.python('gn gen', gn_cmd, | 89 api.python('gn gen', gn_cmd, |
| 88 ['--root=' + str(checkout), 'gen', '//out/' + out_dir, | 90 ['--root=' + str(checkout), 'gen', '//out/' + out_dir, |
| 89 '--args=' + ' '.join(args)], | 91 '--args=' + ' '.join(args)], |
| 90 cwd=checkout) | 92 cwd=checkout) |
| 91 | 93 |
| 92 def _BuildSteps(api, out_dir): | 94 def _BuildSteps(api, out_dir): |
| 93 # Build sample file using Ninja | 95 # Build sample file using Ninja |
| 94 debug_path = api.path['checkout'].join('out', out_dir) | 96 debug_path = api.path['checkout'].join('out', out_dir) |
| 95 api.step('compile with ninja', ['ninja', '-C', debug_path]) | 97 api.step('compile with ninja', ['ninja', '-C', debug_path]) |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 'run_pixel_tests.py')) | 157 'run_pixel_tests.py')) |
| 156 api.python('pixel tests', pixel_tests_path, script_args, | 158 api.python('pixel tests', pixel_tests_path, script_args, |
| 157 cwd=api.path['checkout'], env=env) | 159 cwd=api.path['checkout'], env=env) |
| 158 | 160 |
| 159 corpus_tests_path = str(api.path['checkout'].join('testing', 'tools', | 161 corpus_tests_path = str(api.path['checkout'].join('testing', 'tools', |
| 160 'run_corpus_tests.py')) | 162 'run_corpus_tests.py')) |
| 161 api.python('corpus tests', corpus_tests_path, script_args, | 163 api.python('corpus tests', corpus_tests_path, script_args, |
| 162 cwd=api.path['checkout'], env=env) | 164 cwd=api.path['checkout'], env=env) |
| 163 | 165 |
| 164 | 166 |
| 165 def RunSteps(api, memory_tool, skia, xfa, v8, win64, clang, rel, gn, skip_test, | 167 def RunSteps(api, memory_tool, skia, xfa, v8, win32, clang, rel, gn, skip_test, |
| 166 target_os): | 168 target_os): |
| 167 _CheckoutSteps(api, memory_tool, skia, xfa, v8, win64, clang, gn, target_os) | 169 _CheckoutSteps(api, memory_tool, skia, xfa, v8, win32, clang, gn, target_os) |
| 168 | 170 |
| 169 out_dir = 'Release' if rel else 'Debug' | 171 out_dir = 'Release' if rel else 'Debug' |
| 170 if win64: | 172 if win32: |
| 171 out_dir += '_x64' | 173 out_dir += '_x86' |
| 172 | 174 |
| 173 if gn: | 175 if gn: |
| 174 _GNGenBuilds(api, skia, xfa, v8, rel, target_os, out_dir) | 176 _GNGenBuilds(api, memory_tool, skia, xfa, v8, win32, clang, rel, target_os, |
| 177 out_dir) |
| 175 | 178 |
| 176 _BuildSteps(api, out_dir) | 179 _BuildSteps(api, out_dir) |
| 177 | 180 |
| 178 if skip_test: | 181 if skip_test: |
| 179 return | 182 return |
| 180 | 183 |
| 181 with api.step.defer_results(): | 184 with api.step.defer_results(): |
| 182 _RunTests(api, memory_tool, v8, out_dir) | 185 _RunTests(api, memory_tool, v8, out_dir) |
| 183 | 186 |
| 184 | 187 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 203 api.properties(mastername="client.pdfium", | 206 api.properties(mastername="client.pdfium", |
| 204 buildername='mac', | 207 buildername='mac', |
| 205 slavename="test_slave") | 208 slavename="test_slave") |
| 206 ) | 209 ) |
| 207 | 210 |
| 208 yield ( | 211 yield ( |
| 209 api.test('win_no_v8') + | 212 api.test('win_no_v8') + |
| 210 api.platform('win', 64) + | 213 api.platform('win', 64) + |
| 211 api.properties(v8=False, | 214 api.properties(v8=False, |
| 212 mastername="client.pdfium", | 215 mastername="client.pdfium", |
| 213 buildername='windows', | 216 buildername='windows_no_v8', |
| 214 slavename="test_slave") | 217 slavename="test_slave") |
| 215 ) | 218 ) |
| 216 yield ( | 219 yield ( |
| 217 api.test('linux_no_v8') + | 220 api.test('linux_no_v8') + |
| 218 api.platform('linux', 64) + | 221 api.platform('linux', 64) + |
| 219 api.properties(v8=False, | 222 api.properties(v8=False, |
| 220 mastername="client.pdfium", | 223 mastername="client.pdfium", |
| 221 buildername='linux', | 224 buildername='linux_no_v8', |
| 222 slavename="test_slave") | 225 slavename="test_slave") |
| 223 ) | 226 ) |
| 224 yield ( | 227 yield ( |
| 225 api.test('mac_no_v8') + | 228 api.test('mac_no_v8') + |
| 226 api.platform('mac', 64) + | 229 api.platform('mac', 64) + |
| 227 api.properties(v8=False, | 230 api.properties(v8=False, |
| 228 mastername="client.pdfium", | 231 mastername="client.pdfium", |
| 229 buildername='mac', | 232 buildername='mac_no_v8', |
| 233 slavename="test_slave") |
| 234 ) |
| 235 |
| 236 yield ( |
| 237 api.test('win_skia_gyp') + |
| 238 api.platform('win', 64) + |
| 239 api.properties(skia=True, |
| 240 xfa=True, |
| 241 gn=False, |
| 242 skip_test=True, |
| 243 mastername="client.pdfium", |
| 244 buildername='windows_skia_gyp', |
| 230 slavename="test_slave") | 245 slavename="test_slave") |
| 231 ) | 246 ) |
| 232 | 247 |
| 233 yield ( | 248 yield ( |
| 234 api.test('win_skia') + | 249 api.test('win_skia') + |
| 235 api.platform('win', 64) + | 250 api.platform('win', 64) + |
| 236 api.properties(skia=True, | 251 api.properties(skia=True, |
| 237 xfa=True, | 252 xfa=True, |
| 238 skip_test=True, | 253 skip_test=True, |
| 239 mastername="client.pdfium", | 254 mastername="client.pdfium", |
| 240 buildername='windows_skia', | 255 buildername='windows_skia', |
| 241 slavename="test_slave") | 256 slavename="test_slave") |
| 242 ) | 257 ) |
| 243 | 258 |
| 244 yield ( | 259 yield ( |
| 245 api.test('win_skia_gn') + | 260 api.test('win_xfa_32') + |
| 246 api.platform('win', 64) + | 261 api.platform('win', 64) + |
| 247 api.properties(skia=True, | 262 api.properties(xfa=True, |
| 248 xfa=True, | 263 win32=True, |
| 249 gn=True, | |
| 250 skip_test=True, | |
| 251 mastername="client.pdfium", | 264 mastername="client.pdfium", |
| 252 buildername='windows_skia_gn', | 265 buildername='windows_xfa_32', |
| 266 slavename="test_slave") |
| 267 ) |
| 268 |
| 269 yield ( |
| 270 api.test('win_xfa_gyp') + |
| 271 api.platform('win', 64) + |
| 272 api.properties(xfa=True, |
| 273 gn=False, |
| 274 mastername="client.pdfium", |
| 275 buildername='windows_xfa_gyp', |
| 276 slavename="test_slave") |
| 277 ) |
| 278 |
| 279 yield ( |
| 280 api.test('win_xfa_rel_gyp') + |
| 281 api.platform('win', 64) + |
| 282 api.properties(xfa=True, |
| 283 rel=True, |
| 284 gn=False, |
| 285 mastername="client.pdfium", |
| 286 buildername='windows_xfa_rel_gyp', |
| 253 slavename="test_slave") | 287 slavename="test_slave") |
| 254 ) | 288 ) |
| 255 | 289 |
| 256 yield ( | 290 yield ( |
| 257 api.test('win_xfa') + | 291 api.test('win_xfa') + |
| 258 api.platform('win', 64) + | 292 api.platform('win', 64) + |
| 259 api.properties(xfa=True, | 293 api.properties(xfa=True, |
| 260 mastername="client.pdfium", | 294 mastername="client.pdfium", |
| 261 buildername='windows_xfa', | 295 buildername='windows_xfa', |
| 262 slavename="test_slave") | 296 slavename="test_slave") |
| 263 ) | 297 ) |
| 264 | 298 |
| 265 yield ( | 299 yield ( |
| 266 api.test('win_xfa_64') + | 300 api.test('win_xfa_rel') + |
| 267 api.platform('win', 64) + | 301 api.platform('win', 64) + |
| 268 api.properties(xfa=True, | 302 api.properties(xfa=True, |
| 269 win64=True, | 303 rel=True, |
| 270 mastername="client.pdfium", | 304 mastername="client.pdfium", |
| 271 buildername='windows_xfa_64', | 305 buildername='windows_xfa_rel', |
| 272 slavename="test_slave") | 306 slavename="test_slave") |
| 273 ) | 307 ) |
| 274 | 308 |
| 275 yield ( | 309 yield ( |
| 276 api.test('win_xfa_64_rel') + | 310 api.test('win_xfa_clang_32') + |
| 277 api.platform('win', 64) + | 311 api.platform('win', 64) + |
| 278 api.properties(xfa=True, | 312 api.properties(xfa=True, |
| 279 win64=True, | 313 clang=True, |
| 280 rel=True, | 314 win32=True, |
| 281 mastername="client.pdfium", | 315 mastername="client.pdfium", |
| 282 buildername='windows_xfa_64_rel', | 316 buildername='windows_xfa_clang_32', |
| 283 slavename="test_slave") | |
| 284 ) | |
| 285 | |
| 286 yield ( | |
| 287 api.test('win_xfa_64_debug_gn') + | |
| 288 api.platform('win', 64) + | |
| 289 api.properties(xfa=True, | |
| 290 win64=True, | |
| 291 gn=True, | |
| 292 mastername="client.pdfium", | |
| 293 buildername='windows_xfa_64_debug_gn', | |
| 294 slavename="test_slave") | |
| 295 ) | |
| 296 | |
| 297 yield ( | |
| 298 api.test('win_xfa_64_rel_gn') + | |
| 299 api.platform('win', 64) + | |
| 300 api.properties(xfa=True, | |
| 301 win64=True, | |
| 302 rel=True, | |
| 303 gn=True, | |
| 304 mastername="client.pdfium", | |
| 305 buildername='windows_xfa_64_rel_gn', | |
| 306 slavename="test_slave") | 317 slavename="test_slave") |
| 307 ) | 318 ) |
| 308 | 319 |
| 309 yield ( | 320 yield ( |
| 310 api.test('win_xfa_clang') + | 321 api.test('win_xfa_clang') + |
| 311 api.platform('win', 64) + | 322 api.platform('win', 64) + |
| 312 api.properties(xfa=True, | 323 api.properties(xfa=True, |
| 313 clang=True, | 324 clang=True, |
| 314 mastername="client.pdfium", | 325 mastername="client.pdfium", |
| 315 buildername='windows_xfa_clang', | 326 buildername='windows_xfa_clang', |
| 316 slavename="test_slave") | 327 slavename="test_slave") |
| 317 ) | 328 ) |
| 318 | 329 |
| 319 yield ( | 330 yield ( |
| 320 api.test('win_xfa_clang_x64') + | 331 api.test('linux_skia_gyp') + |
| 321 api.platform('win', 64) + | 332 api.platform('linux', 64) + |
| 322 api.properties(xfa=True, | 333 api.properties(skia=True, |
| 323 clang=True, | 334 xfa=True, |
| 324 win64=True, | 335 gn=False, |
| 336 skip_test=True, |
| 325 mastername="client.pdfium", | 337 mastername="client.pdfium", |
| 326 buildername='windows_xfa_clang_x64', | 338 buildername='linux_skia_gyp', |
| 327 slavename="test_slave") | 339 slavename="test_slave") |
| 328 ) | 340 ) |
| 329 | 341 |
| 330 yield ( | 342 yield ( |
| 331 api.test('linux_skia') + | 343 api.test('linux_skia') + |
| 332 api.platform('linux', 64) + | 344 api.platform('linux', 64) + |
| 333 api.properties(skia=True, | 345 api.properties(skia=True, |
| 334 xfa=True, | 346 xfa=True, |
| 335 skip_test=True, | 347 skip_test=True, |
| 336 mastername="client.pdfium", | 348 mastername="client.pdfium", |
| 337 buildername='linux_skia', | 349 buildername='linux_skia', |
| 338 slavename="test_slave") | 350 slavename="test_slave") |
| 339 ) | 351 ) |
| 340 | 352 |
| 341 yield ( | 353 yield ( |
| 342 api.test('linux_skia_gn') + | 354 api.test('linux_xfa_gyp') + |
| 343 api.platform('linux', 64) + | 355 api.platform('linux', 64) + |
| 344 api.properties(skia=True, | 356 api.properties(xfa=True, |
| 345 xfa=True, | 357 gn=False, |
| 346 gn=True, | |
| 347 skip_test=True, | |
| 348 mastername="client.pdfium", | 358 mastername="client.pdfium", |
| 349 buildername='linux_skia_gn', | 359 buildername='linux_xfa_gyp', |
| 360 slavename="test_slave") |
| 361 ) |
| 362 |
| 363 yield ( |
| 364 api.test('linux_xfa_rel_gyp') + |
| 365 api.platform('linux', 64) + |
| 366 api.properties(xfa=True, |
| 367 rel=True, |
| 368 gn=False, |
| 369 mastername="client.pdfium", |
| 370 buildername='linux_xfa_rel_gyp', |
| 350 slavename="test_slave") | 371 slavename="test_slave") |
| 351 ) | 372 ) |
| 352 | 373 |
| 353 yield ( | 374 yield ( |
| 354 api.test('linux_xfa') + | 375 api.test('linux_xfa') + |
| 355 api.platform('linux', 64) + | 376 api.platform('linux', 64) + |
| 356 api.properties(xfa=True, | 377 api.properties(xfa=True, |
| 357 mastername="client.pdfium", | 378 mastername="client.pdfium", |
| 358 buildername='linux_xfa', | 379 buildername='linux_xfa', |
| 359 slavename="test_slave") | 380 slavename="test_slave") |
| 360 ) | 381 ) |
| 361 | 382 |
| 362 yield ( | 383 yield ( |
| 363 api.test('linux_xfa_rel') + | 384 api.test('linux_xfa_rel') + |
| 364 api.platform('linux', 64) + | 385 api.platform('linux', 64) + |
| 365 api.properties(xfa=True, | 386 api.properties(xfa=True, |
| 366 rel=True, | 387 rel=True, |
| 367 mastername="client.pdfium", | 388 mastername="client.pdfium", |
| 368 buildername='linux_xfa_rel', | 389 buildername='linux_xfa_rel', |
| 369 slavename="test_slave") | 390 slavename="test_slave") |
| 370 ) | 391 ) |
| 371 | 392 |
| 372 yield ( | 393 yield ( |
| 373 api.test('linux_xfa_debug_gn') + | 394 api.test('mac_skia_gyp') + |
| 374 api.platform('linux', 64) + | 395 api.platform('mac', 64) + |
| 375 api.properties(xfa=True, | 396 api.properties(skia=True, |
| 376 gn=True, | 397 xfa=True, |
| 398 gn=False, |
| 399 skip_test=True, |
| 377 mastername="client.pdfium", | 400 mastername="client.pdfium", |
| 378 buildername='linux_xfa_debug_gn', | 401 buildername='mac_skia_gyp', |
| 379 slavename="test_slave") | |
| 380 ) | |
| 381 | |
| 382 yield ( | |
| 383 api.test('linux_xfa_rel_gn') + | |
| 384 api.platform('linux', 64) + | |
| 385 api.properties(xfa=True, | |
| 386 rel=True, | |
| 387 gn=True, | |
| 388 mastername="client.pdfium", | |
| 389 buildername='linux_xfa_rel_gn', | |
| 390 slavename="test_slave") | 402 slavename="test_slave") |
| 391 ) | 403 ) |
| 392 | 404 |
| 393 yield ( | 405 yield ( |
| 394 api.test('mac_skia') + | 406 api.test('mac_skia') + |
| 395 api.platform('mac', 64) + | 407 api.platform('mac', 64) + |
| 396 api.properties(skia=True, | 408 api.properties(skia=True, |
| 397 xfa=True, | 409 xfa=True, |
| 398 skip_test=True, | 410 skip_test=True, |
| 399 mastername="client.pdfium", | 411 mastername="client.pdfium", |
| 400 buildername='mac_skia', | 412 buildername='mac_skia', |
| 401 slavename="test_slave") | 413 slavename="test_slave") |
| 402 ) | 414 ) |
| 403 | 415 |
| 404 yield ( | 416 yield ( |
| 405 api.test('mac_skia_gn') + | 417 api.test('mac_xfa_gyp') + |
| 406 api.platform('mac', 64) + | 418 api.platform('mac', 64) + |
| 407 api.properties(skia=True, | 419 api.properties(xfa=True, |
| 408 xfa=True, | 420 gn=False, |
| 409 gn=True, | |
| 410 skip_test=True, | |
| 411 mastername="client.pdfium", | 421 mastername="client.pdfium", |
| 412 buildername='mac_skia_gn', | 422 buildername='mac_xfa_gyp', |
| 413 slavename="test_slave") | 423 slavename="test_slave") |
| 414 ) | 424 ) |
| 415 | 425 |
| 416 yield ( | 426 yield ( |
| 417 api.test('mac_xfa') + | 427 api.test('mac_xfa') + |
| 418 api.platform('mac', 64) + | 428 api.platform('mac', 64) + |
| 419 api.properties(xfa=True, | 429 api.properties(xfa=True, |
| 420 mastername="client.pdfium", | 430 mastername="client.pdfium", |
| 421 buildername='mac_xfa', | 431 buildername='mac_xfa', |
| 422 slavename="test_slave") | 432 slavename="test_slave") |
| 423 ) | 433 ) |
| 424 | 434 |
| 425 yield ( | 435 yield ( |
| 426 api.test('mac_xfa_debug_gn') + | 436 api.test('mac_xfa_rel') + |
| 427 api.platform('mac', 64) + | 437 api.platform('mac', 64) + |
| 428 api.properties(xfa=True, | 438 api.properties(xfa=True, |
| 429 gn=True, | 439 rel=True, |
| 430 mastername="client.pdfium", | 440 mastername="client.pdfium", |
| 431 buildername='mac_xfa_debug_gn', | 441 buildername='mac_xfa_rel', |
| 432 slavename="test_slave") | 442 slavename="test_slave") |
| 433 ) | 443 ) |
| 434 | 444 |
| 435 yield ( | 445 yield ( |
| 436 api.test('mac_xfa_rel_gn') + | 446 api.test('mac_xfa_rel_gyp') + |
| 437 api.platform('mac', 64) + | 447 api.platform('mac', 64) + |
| 438 api.properties(xfa=True, | 448 api.properties(xfa=True, |
| 439 rel=True, | 449 rel=True, |
| 440 gn=True, | 450 gn=False, |
| 441 mastername="client.pdfium", | 451 mastername="client.pdfium", |
| 442 buildername='mac_xfa_rel_gn', | 452 buildername='mac_xfa_rel_gyp', |
| 443 slavename="test_slave") | 453 slavename="test_slave") |
| 444 ) | 454 ) |
| 445 | 455 |
| 446 yield ( | 456 yield ( |
| 447 api.test('linux_asan') + | 457 api.test('linux_asan') + |
| 448 api.platform('linux', 64) + | 458 api.platform('linux', 64) + |
| 449 api.properties(memory_tool='asan', | 459 api.properties(memory_tool='asan', |
| 450 mastername="client.pdfium", | 460 mastername="client.pdfium", |
| 451 buildername='linux_asan', | 461 buildername='linux_asan', |
| 452 slavename="test_slave") | 462 slavename="test_slave") |
| (...skipping 13 matching lines...) Expand all Loading... |
| 466 api.test('linux_xfa_asan') + | 476 api.test('linux_xfa_asan') + |
| 467 api.platform('linux', 64) + | 477 api.platform('linux', 64) + |
| 468 api.properties(xfa=True, | 478 api.properties(xfa=True, |
| 469 memory_tool='asan', | 479 memory_tool='asan', |
| 470 mastername="client.pdfium", | 480 mastername="client.pdfium", |
| 471 buildername='linux_xfa_asan', | 481 buildername='linux_xfa_asan', |
| 472 slavename="test_slave") | 482 slavename="test_slave") |
| 473 ) | 483 ) |
| 474 | 484 |
| 475 yield ( | 485 yield ( |
| 476 api.test('try-linux_xfa_asan') + | 486 api.test('try-linux_xfa_asan') + |
| 477 api.platform('linux', 64) + | 487 api.platform('linux', 64) + |
| 478 api.properties.tryserver(mastername='tryserver.client.pdfium', | 488 api.properties.tryserver(xfa=True, |
| 479 buildername='linux_xfa_asan') | 489 memory_tool='asan', |
| 490 mastername='tryserver.client.pdfium', |
| 491 buildername='linux_xfa_asan') |
| 480 ) | 492 ) |
| 481 | 493 |
| 482 yield ( | 494 yield ( |
| 483 api.test('android') + | 495 api.test('android') + |
| 484 api.platform('linux', 64) + | 496 api.platform('linux', 64) + |
| 485 api.properties(mastername='client.pdfium', | 497 api.properties(mastername='client.pdfium', |
| 486 buildername='android', | 498 buildername='android', |
| 487 slavename='test_slave', | 499 slavename='test_slave', |
| 488 target_os='android', | 500 target_os='android', |
| 489 gn=True, | |
| 490 skip_test=True) | 501 skip_test=True) |
| 491 ) | 502 ) |
| OLD | NEW |