| 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 recipe_engine 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 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 'status': 'Found dependency', | 55 'status': 'Found dependency', |
| 56 'compile_targets': ['All', 'angle_unittests'], | 56 'compile_targets': ['All', 'angle_unittests'], |
| 57 'test_targets': ['angle_unittests_run'], | 57 'test_targets': ['angle_unittests_run'], |
| 58 }) | 58 }) |
| 59 | 59 |
| 60 @property | 60 @property |
| 61 def analyze_builds_pixel_test(self): | 61 def analyze_builds_pixel_test(self): |
| 62 return self.m.json.output({ | 62 return self.m.json.output({ |
| 63 'status': 'Found dependency', | 63 'status': 'Found dependency', |
| 64 'compile_targets': ['All'], | 64 'compile_targets': ['All'], |
| 65 'test_targets': ['telemetry_gpu_new_test_run'], | 65 'test_targets': ['telemetry_gpu_test_run'], |
| 66 }) | 66 }) |
| 67 | 67 |
| 68 @property | 68 @property |
| 69 def analyze_builds_everything(self): | 69 def analyze_builds_everything(self): |
| 70 return self.m.json.output({ | 70 return self.m.json.output({ |
| 71 'status': 'Found dependency', | 71 'status': 'Found dependency', |
| 72 'compile_targets': sorted(( | 72 'compile_targets': sorted(( |
| 73 # A few random targets from the Chrome build to try to | 73 # A few random targets from the Chrome build to try to |
| 74 # confuse the recipe | 74 # confuse the recipe |
| 75 'All', 'app_list_demo', 'app_list_unittests', 'app_shell', | 75 'All', 'app_list_demo', 'app_list_unittests', 'app_shell', |
| 76 'chrome_initial') + | 76 'chrome_initial') + |
| 77 # The names of our isolates (even though telemetry_gpu_new_test | 77 # The names of our isolates (even though telemetry_gpu_test |
| 78 # won't actually be reported by analyze) | 78 # won't actually be reported by analyze) |
| 79 common.GPU_ISOLATES ), | 79 common.GPU_ISOLATES ), |
| 80 'test_targets': [u'%s_run' % test for test in common.GPU_ISOLATES], | 80 'test_targets': [u'%s_run' % test for test in common.GPU_ISOLATES], |
| 81 }) | 81 }) |
| OLD | NEW |