| 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 fake_factory_properties = { | 645 fake_factory_properties = { |
| 646 'gclient_env': self.c.gyp_env.as_jsonish(), | 646 'gclient_env': self.c.gyp_env.as_jsonish(), |
| 647 'gs_bucket': 'gs://%s' % gs_bucket, | 647 'gs_bucket': 'gs://%s' % gs_bucket, |
| 648 } | 648 } |
| 649 if gs_acl is not None: | 649 if gs_acl is not None: |
| 650 fake_factory_properties['gs_acl'] = gs_acl | 650 fake_factory_properties['gs_acl'] = gs_acl |
| 651 if self.c.TARGET_PLATFORM == 'android': | 651 if self.c.TARGET_PLATFORM == 'android': |
| 652 fake_factory_properties['target_os'] = 'android' | 652 fake_factory_properties['target_os'] = 'android' |
| 653 | 653 |
| 654 args = [ | 654 args = [ |
| 655 '--target', self.c.BUILD_CONFIG, | 655 '--target', self.c.build_config_fs, |
| 656 '--factory-properties', self.m.json.dumps(fake_factory_properties), | 656 '--factory-properties', self.m.json.dumps(fake_factory_properties), |
| 657 ] | 657 ] |
| 658 if self.build_properties: | 658 if self.build_properties: |
| 659 args += [ | 659 args += [ |
| 660 '--build-properties', self.m.json.dumps(self.build_properties), | 660 '--build-properties', self.m.json.dumps(self.build_properties), |
| 661 ] | 661 ] |
| 662 if mode: | 662 if mode: |
| 663 args.extend(['--mode', mode]) | 663 args.extend(['--mode', mode]) |
| 664 self.m.python( | 664 self.m.python( |
| 665 step_name, | 665 step_name, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 })) | 710 })) |
| 711 | 711 |
| 712 def get_annotate_by_test_name(self, test_name): | 712 def get_annotate_by_test_name(self, test_name): |
| 713 return 'graphing' | 713 return 'graphing' |
| 714 | 714 |
| 715 def download_lto_plugin(self): | 715 def download_lto_plugin(self): |
| 716 return self.m.python( | 716 return self.m.python( |
| 717 name='download LTO plugin', | 717 name='download LTO plugin', |
| 718 script=self.m.path['checkout'].join( | 718 script=self.m.path['checkout'].join( |
| 719 'build', 'download_gold_plugin.py')) | 719 'build', 'download_gold_plugin.py')) |
| OLD | NEW |