| 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 | 5 |
| 6 # Recipe module for Skia builders. | 6 # Recipe module for Skia builders. |
| 7 | 7 |
| 8 # We do this so recipe_lint doesn't find our use of os and sys. |
| 9 def setup_path(): |
| 10 import os |
| 11 import sys |
| 12 |
| 13 # TODO(luqui): Separate the skia common scripts out so we can make this |
| 14 # independent of build/. |
| 15 sys.path.append( |
| 16 os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname( |
| 17 os.path.abspath(__file__)))))) |
| 18 setup_path() |
| 8 | 19 |
| 9 from common.skia import builder_name_schema | 20 from common.skia import builder_name_schema |
| 10 | 21 |
| 11 | 22 |
| 12 DEPS = [ | 23 DEPS = [ |
| 13 'json', | 24 'json', |
| 14 'path', | 25 'path', |
| 15 'platform', | 26 'platform', |
| 16 'properties', | 27 'properties', |
| 17 'raw_io', | 28 'raw_io', |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 buildnumber=6, | 319 buildnumber=6, |
| 309 revision='abc123') + | 320 revision='abc123') + |
| 310 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED', | 321 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED', |
| 311 stdout=api.raw_io.output('42')) + | 322 stdout=api.raw_io.output('42')) + |
| 312 api.step_data('Get downloaded SKIMAGE_VERSION', retcode=1) + | 323 api.step_data('Get downloaded SKIMAGE_VERSION', retcode=1) + |
| 313 api.path.exists( | 324 api.path.exists( |
| 314 api.path['slave_build'].join('skia'), | 325 api.path['slave_build'].join('skia'), |
| 315 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') | 326 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') |
| 316 ) | 327 ) |
| 317 ) | 328 ) |
| OLD | NEW |