| 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 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 645 # default on Mac and Linux, or if clang=1 is in GYP_DEFINES. This step | 645 # default on Mac and Linux, or if clang=1 is in GYP_DEFINES. This step |
| 646 # is only needed on bots that use clang but where --if-needed doesn't update | 646 # is only needed on bots that use clang but where --if-needed doesn't update |
| 647 # clang. (In practice, this means on Windows when using gn, not gyp.) | 647 # clang. (In practice, this means on Windows when using gn, not gyp.) |
| 648 self.m.python(name='update_clang', | 648 self.m.python(name='update_clang', |
| 649 script=self.m.path['checkout'].join('tools', 'clang', | 649 script=self.m.path['checkout'].join('tools', 'clang', |
| 650 'scripts', 'update.py')) | 650 'scripts', 'update.py')) |
| 651 | 651 |
| 652 def taskkill(self): | 652 def taskkill(self): |
| 653 self.m.python( | 653 self.m.python( |
| 654 'taskkill', | 654 'taskkill', |
| 655 self.package_repo_resource('scripts', 'slave', 'kill_processes.py')) | 655 self.package_repo_resource('scripts', 'slave', 'kill_processes.py'), |
| 656 infra_step=True) |
| 656 | 657 |
| 657 def cleanup_temp(self): | 658 def cleanup_temp(self): |
| 658 self.m.python( | 659 self.m.python( |
| 659 'cleanup_temp', | 660 'cleanup_temp', |
| 660 self.package_repo_resource('scripts', 'tools', 'runit.py'), | 661 self.package_repo_resource('scripts', 'tools', 'runit.py'), |
| 661 ['--show-path', | 662 ['--show-path', |
| 662 'python', | 663 'python', |
| 663 self.package_repo_resource('scripts', 'slave', 'cleanup_temp.py')], | 664 self.package_repo_resource('scripts', 'slave', 'cleanup_temp.py')], |
| 664 infra_step=True) | 665 infra_step=True) |
| 665 | 666 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 })) | 758 })) |
| 758 | 759 |
| 759 def get_annotate_by_test_name(self, test_name): | 760 def get_annotate_by_test_name(self, test_name): |
| 760 return 'graphing' | 761 return 'graphing' |
| 761 | 762 |
| 762 def download_lto_plugin(self): | 763 def download_lto_plugin(self): |
| 763 return self.m.python( | 764 return self.m.python( |
| 764 name='download LTO plugin', | 765 name='download LTO plugin', |
| 765 script=self.m.path['checkout'].join( | 766 script=self.m.path['checkout'].join( |
| 766 'build', 'download_gold_plugin.py')) | 767 'build', 'download_gold_plugin.py')) |
| OLD | NEW |