OLD | NEW |
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 'origin/master') | 85 'origin/master') |
86 gclient_cfg.got_revision_mapping['skia'] = 'got_revision' | 86 gclient_cfg.got_revision_mapping['skia'] = 'got_revision' |
87 | 87 |
88 src = gclient_cfg.solutions.add() | 88 src = gclient_cfg.solutions.add() |
89 src.name = 'src' | 89 src.name = 'src' |
90 src.managed = False | 90 src.managed = False |
91 src.url = 'https://chromium.googlesource.com/chromium/src.git' | 91 src.url = 'https://chromium.googlesource.com/chromium/src.git' |
92 src.revision = 'origin/master' # Always checkout Chromium at ToT. | 92 src.revision = 'origin/master' # Always checkout Chromium at ToT. |
93 | 93 |
94 for repo in (skia, src): | 94 for repo in (skia, src): |
95 api.skia.update_repo(repo) | 95 api.skia.update_repo(api.path['slave_build'], repo) |
96 | 96 |
97 update_step = api.gclient.checkout(gclient_config=gclient_cfg) | 97 update_step = api.gclient.checkout(gclient_config=gclient_cfg) |
98 skia_hash = update_step.presentation.properties['got_revision'] | 98 skia_hash = update_step.presentation.properties['got_revision'] |
99 | 99 |
100 # Checkout Swarming scripts. | 100 # Checkout Swarming scripts. |
101 # Explicitly set revision to empty string to checkout swarming ToT. If this is | 101 # Explicitly set revision to empty string to checkout swarming ToT. If this is |
102 # not done then it crashes due to missing | 102 # not done then it crashes due to missing |
103 # api.properties['parent_got_swarming_client_revision'] which seems to be | 103 # api.properties['parent_got_swarming_client_revision'] which seems to be |
104 # set only for Chromium bots. | 104 # set only for Chromium bots. |
105 api.swarming_client.checkout(revision='') | 105 api.swarming_client.checkout(revision='') |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 | 304 |
305 yield( | 305 yield( |
306 api.test('CT_IMG_DECODE_10k_SKPs_Trybot') + | 306 api.test('CT_IMG_DECODE_10k_SKPs_Trybot') + |
307 api.properties( | 307 api.properties( |
308 buildername='Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-CT_IMG_DECODE_' | 308 buildername='Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-CT_IMG_DECODE_' |
309 '10k_SKPs_Trybot', | 309 '10k_SKPs_Trybot', |
310 ct_num_slaves=ct_num_slaves, | 310 ct_num_slaves=ct_num_slaves, |
311 revision=skia_revision, | 311 revision=skia_revision, |
312 ) | 312 ) |
313 ) | 313 ) |
OLD | NEW |