| 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 from slave import recipe_test_api | 5 from recipe_engine import recipe_test_api |
| 6 | 6 |
| 7 import common | 7 import common |
| 8 | 8 |
| 9 class GpuTestApi(recipe_test_api.RecipeTestApi): | 9 class GpuTestApi(recipe_test_api.RecipeTestApi): |
| 10 @property | 10 @property |
| 11 def dummy_swarm_hashes(self): | 11 def dummy_swarm_hashes(self): |
| 12 return dict( | 12 return dict( |
| 13 (target, '[dummy hash for %s]' % target) | 13 (target, '[dummy hash for %s]' % target) |
| 14 for target in common.GPU_ISOLATES) | 14 for target in common.GPU_ISOLATES) |
| 15 | 15 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 # A few random targets from the Chrome build to try to | 48 # A few random targets from the Chrome build to try to |
| 49 # confuse the recipe | 49 # confuse the recipe |
| 50 'All', 'app_list_demo', 'app_list_unittests', 'app_shell', | 50 'All', 'app_list_demo', 'app_list_unittests', 'app_shell', |
| 51 'chrome_initial') + | 51 'chrome_initial') + |
| 52 # The names of our isolates (even though telemetry_gpu_test | 52 # The names of our isolates (even though telemetry_gpu_test |
| 53 # won't actually be reported by analyze) | 53 # won't actually be reported by analyze) |
| 54 common.GPU_ISOLATES ), | 54 common.GPU_ISOLATES ), |
| 55 'status': 'Found dependency', | 55 'status': 'Found dependency', |
| 56 'targets': [u'%s_run' % test for test in common.GPU_ISOLATES], | 56 'targets': [u'%s_run' % test for test in common.GPU_ISOLATES], |
| 57 }) | 57 }) |
| OLD | NEW |