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

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

Issue 2269233002: Make pdfium recipes explicitly set GIT_MODE (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: 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
« no previous file with comments | « no previous file | scripts/slave/recipes/pdfium.expected/android.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'gn': Property(default=True, 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 def _CheckoutSteps(api, memory_tool, skia, xfa, v8, target_cpu, clang, gn, 30 def _CheckoutSteps(api, memory_tool, skia, xfa, v8, target_cpu, clang, gn,
31 target_os): 31 target_os):
32 assert(gn) 32 assert(gn)
33 33
34 # Checkout pdfium and its dependencies (specified in DEPS) using gclient. 34 # Checkout pdfium and its dependencies (specified in DEPS) using gclient.
35 api.gclient.set_config('pdfium') 35 api.gclient.set_config('pdfium', GIT_MODE=True)
36 if target_os: 36 if target_os:
37 api.gclient.c.target_os = {target_os} 37 api.gclient.c.target_os = {target_os}
38 api.bot_update.ensure_checkout(force=True) 38 api.bot_update.ensure_checkout(force=True)
39 39
40 gyp_defines = [ 40 gyp_defines = [
41 'pdf_enable_v8=%d' % int(v8), 41 'pdf_enable_v8=%d' % int(v8),
42 'pdf_enable_xfa=%d' % int(xfa), 42 'pdf_enable_xfa=%d' % int(xfa),
43 ] 43 ]
44 44
45 if skia: 45 if skia:
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 392
393 yield ( 393 yield (
394 api.test('android') + 394 api.test('android') +
395 api.platform('linux', 64) + 395 api.platform('linux', 64) +
396 api.properties(mastername='client.pdfium', 396 api.properties(mastername='client.pdfium',
397 buildername='android', 397 buildername='android',
398 slavename='test_slave', 398 slavename='test_slave',
399 target_os='android', 399 target_os='android',
400 skip_test=True) 400 skip_test=True)
401 ) 401 )
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/pdfium.expected/android.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698