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

Side by Side Diff: scripts/slave/recipes/skia/ct_skps.py

Issue 2270963002: Make skia recipes explicitly set GIT_MODE (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 from common.skia import global_constants 5 from common.skia import global_constants
6 6
7 7
8 DEPS = [ 8 DEPS = [
9 'ct', 9 'ct',
10 'file', 10 'file',
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 elif 'BENCH' in buildername: 71 elif 'BENCH' in buildername:
72 skia_tool = 'nanobench' 72 skia_tool = 'nanobench'
73 build_target = 'nanobench' 73 build_target = 'nanobench'
74 elif 'IMG_DECODE' in buildername: 74 elif 'IMG_DECODE' in buildername:
75 skia_tool = 'get_images_from_skps' 75 skia_tool = 'get_images_from_skps'
76 build_target = 'tools' 76 build_target = 'tools'
77 else: 77 else:
78 raise Exception('Do not recognise the buildername %s.' % buildername) 78 raise Exception('Do not recognise the buildername %s.' % buildername)
79 79
80 # Checkout Skia and Chromium. 80 # Checkout Skia and Chromium.
81 gclient_cfg = api.gclient.make_config() 81 gclient_cfg = api.gclient.make_config(GIT_MODE=True)
82 82
83 skia = gclient_cfg.solutions.add() 83 skia = gclient_cfg.solutions.add()
84 skia.name = 'skia' 84 skia.name = 'skia'
85 skia.managed = False 85 skia.managed = False
86 skia.url = global_constants.SKIA_REPO 86 skia.url = global_constants.SKIA_REPO
87 skia.revision = (api.properties.get('parent_got_revision') or 87 skia.revision = (api.properties.get('parent_got_revision') or
88 api.properties.get('orig_revision') or 88 api.properties.get('orig_revision') or
89 api.properties.get('revision') or 89 api.properties.get('revision') or
90 'origin/master') 90 'origin/master')
91 gclient_cfg.got_revision_mapping['skia'] = 'got_revision' 91 gclient_cfg.got_revision_mapping['skia'] = 'got_revision'
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 yield( 423 yield(
424 api.test('CT_IMG_DECODE_10k_SKPs_Trybot') + 424 api.test('CT_IMG_DECODE_10k_SKPs_Trybot') +
425 api.properties( 425 api.properties(
426 buildername='Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-CT_IMG_DECODE_' 426 buildername='Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-CT_IMG_DECODE_'
427 '10k_SKPs_Trybot', 427 '10k_SKPs_Trybot',
428 ct_num_slaves=ct_num_slaves, 428 ct_num_slaves=ct_num_slaves,
429 num_per_slave=num_per_slave, 429 num_per_slave=num_per_slave,
430 revision=skia_revision, 430 revision=skia_revision,
431 ) 431 )
432 ) 432 )
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/skia/api.py ('k') | scripts/slave/recipes/skia/ct_skps.expected/CT_CPU_BENCH_10k_SKPs.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698