| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 import re | 5 import re |
| 6 | 6 |
| 7 from recipe_engine import recipe_api | 7 from recipe_engine import recipe_api |
| 8 from recipe_engine import util as recipe_util | 8 from recipe_engine import util as recipe_util |
| 9 | 9 |
| 10 class TestLauncherFilterFileInputPlaceholder(recipe_util.InputPlaceholder): | 10 class TestLauncherFilterFileInputPlaceholder(recipe_util.InputPlaceholder): |
| (...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 self.m.python( | 697 self.m.python( |
| 698 'process_dumps', | 698 'process_dumps', |
| 699 self.package_repo_resource('scripts', 'slave', 'process_dumps.py'), | 699 self.package_repo_resource('scripts', 'slave', 'process_dumps.py'), |
| 700 ['--target', self.c.build_config_fs], | 700 ['--target', self.c.build_config_fs], |
| 701 infra_step=True, | 701 infra_step=True, |
| 702 **kwargs) | 702 **kwargs) |
| 703 except self.m.step.InfraFailure: | 703 except self.m.step.InfraFailure: |
| 704 pass | 704 pass |
| 705 | 705 |
| 706 def apply_syzyasan(self): | 706 def apply_syzyasan(self): |
| 707 args = ['--target', self.c.BUILD_CONFIG] | 707 args = [ |
| 708 '--src-dir', self.m.path['checkout'], |
| 709 '--target', self.c.BUILD_CONFIG, |
| 710 ] |
| 708 self.m.python( | 711 self.m.python( |
| 709 'apply_syzyasan', | 712 'apply_syzyasan', |
| 710 self.package_repo_resource( | 713 self.package_repo_resource( |
| 711 'scripts', 'slave', 'chromium', 'win_apply_syzyasan.py'), | 714 'scripts', 'slave', 'chromium', 'win_apply_syzyasan.py'), |
| 712 args) | 715 args) |
| 713 | 716 |
| 714 def archive_build(self, step_name, gs_bucket, gs_acl=None, mode=None, | 717 def archive_build(self, step_name, gs_bucket, gs_acl=None, mode=None, |
| 715 **kwargs): | 718 **kwargs): |
| 716 """Returns a step invoking archive_build.py to archive a Chromium build.""" | 719 """Returns a step invoking archive_build.py to archive a Chromium build.""" |
| 717 | 720 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 791 })) | 794 })) |
| 792 | 795 |
| 793 def get_annotate_by_test_name(self, test_name): | 796 def get_annotate_by_test_name(self, test_name): |
| 794 return 'graphing' | 797 return 'graphing' |
| 795 | 798 |
| 796 def download_lto_plugin(self): | 799 def download_lto_plugin(self): |
| 797 return self.m.python( | 800 return self.m.python( |
| 798 name='download LTO plugin', | 801 name='download LTO plugin', |
| 799 script=self.m.path['checkout'].join( | 802 script=self.m.path['checkout'].join( |
| 800 'build', 'download_gold_plugin.py')) | 803 'build', 'download_gold_plugin.py')) |
| OLD | NEW |