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

Side by Side Diff: scripts/slave/recipes/pdfium.py

Issue 2319853002: Remove ignored bot_update "force" parameter. (Closed)
Patch Set: rebase Created 4 years, 3 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 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',
(...skipping 14 matching lines...) Expand all
25 'skip_test': Property(default=False, kind=bool), 25 'skip_test': Property(default=False, kind=bool),
26 'target_os': Property(default=None, kind=str), 26 'target_os': Property(default=None, kind=str),
27 } 27 }
28 28
29 def _CheckoutSteps(api, memory_tool, skia, xfa, v8, target_cpu, clang, 29 def _CheckoutSteps(api, memory_tool, skia, xfa, v8, target_cpu, clang,
30 target_os): 30 target_os):
31 # Checkout pdfium and its dependencies (specified in DEPS) using gclient. 31 # Checkout pdfium and its dependencies (specified in DEPS) using gclient.
32 api.gclient.set_config('pdfium') 32 api.gclient.set_config('pdfium')
33 if target_os: 33 if target_os:
34 api.gclient.c.target_os = {target_os} 34 api.gclient.c.target_os = {target_os}
35 api.bot_update.ensure_checkout(force=True) 35 api.bot_update.ensure_checkout()
36 36
37 api.gclient.runhooks() 37 api.gclient.runhooks()
38 38
39 39
40 def _GNGenBuilds(api, memory_tool, skia, xfa, v8, target_cpu, clang, rel, 40 def _GNGenBuilds(api, memory_tool, skia, xfa, v8, target_cpu, clang, rel,
41 target_os, out_dir): 41 target_os, out_dir):
42 gn_bool = {True: 'true', False: 'false'} 42 gn_bool = {True: 'true', False: 'false'}
43 # Generate build files by GN. 43 # Generate build files by GN.
44 checkout = api.path['checkout'] 44 checkout = api.path['checkout']
45 gn_cmd = api.path['depot_tools'].join('gn.py') 45 gn_cmd = api.path['depot_tools'].join('gn.py')
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 372
373 yield ( 373 yield (
374 api.test('android') + 374 api.test('android') +
375 api.platform('linux', 64) + 375 api.platform('linux', 64) +
376 api.properties(mastername='client.pdfium', 376 api.properties(mastername='client.pdfium',
377 buildername='android', 377 buildername='android',
378 slavename='test_slave', 378 slavename='test_slave',
379 target_os='android', 379 target_os='android',
380 skip_test=True) 380 skip_test=True)
381 ) 381 )
OLDNEW
« no previous file with comments | « scripts/slave/recipes/ndk/ndk_buildbot.expected/basic.json ('k') | scripts/slave/recipes/pdfium.expected/android.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698