| 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.Placeholder): | 10 class TestLauncherFilterFileInputPlaceholder(recipe_util.Placeholder): |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 def get_env(self): | 55 def get_env(self): |
| 56 ret = {} | 56 ret = {} |
| 57 if self.c.env.PATH: | 57 if self.c.env.PATH: |
| 58 ret['PATH'] = self.m.path.pathsep.join( | 58 ret['PATH'] = self.m.path.pathsep.join( |
| 59 map(str, self.c.env.PATH) + ['%(PATH)s']) | 59 map(str, self.c.env.PATH) + ['%(PATH)s']) |
| 60 if self.c.env.ADB_VENDOR_KEYS: | 60 if self.c.env.ADB_VENDOR_KEYS: |
| 61 ret['ADB_VENDOR_KEYS'] = self.c.env.ADB_VENDOR_KEYS | 61 ret['ADB_VENDOR_KEYS'] = self.c.env.ADB_VENDOR_KEYS |
| 62 if self.c.env.LLVM_FORCE_HEAD_REVISION: | 62 if self.c.env.LLVM_FORCE_HEAD_REVISION: |
| 63 ret['LLVM_FORCE_HEAD_REVISION'] = self.c.env.LLVM_FORCE_HEAD_REVISION | 63 ret['LLVM_FORCE_HEAD_REVISION'] = self.c.env.LLVM_FORCE_HEAD_REVISION |
| 64 if self.c.env.LLVM_FORCE_LOCAL_BUILD: |
| 65 ret['LLVM_FORCE_LOCAL_BUILD'] = self.c.env.LLVM_FORCE_LOCAL_BUILD |
| 64 if self.c.env.GOMA_STUBBY_PROXY_IP_ADDRESS: | 66 if self.c.env.GOMA_STUBBY_PROXY_IP_ADDRESS: |
| 65 ret['GOMA_STUBBY_PROXY_IP_ADDRESS'] = \ | 67 ret['GOMA_STUBBY_PROXY_IP_ADDRESS'] = \ |
| 66 self.c.env.GOMA_STUBBY_PROXY_IP_ADDRESS | 68 self.c.env.GOMA_STUBBY_PROXY_IP_ADDRESS |
| 67 return ret | 69 return ret |
| 68 | 70 |
| 69 @property | 71 @property |
| 70 def build_properties(self): | 72 def build_properties(self): |
| 71 return self._build_properties | 73 return self._build_properties |
| 72 | 74 |
| 73 @property | 75 @property |
| (...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 679 })) | 681 })) |
| 680 | 682 |
| 681 def get_annotate_by_test_name(self, test_name): | 683 def get_annotate_by_test_name(self, test_name): |
| 682 return 'graphing' | 684 return 'graphing' |
| 683 | 685 |
| 684 def download_lto_plugin(self): | 686 def download_lto_plugin(self): |
| 685 return self.m.python( | 687 return self.m.python( |
| 686 name='download LTO plugin', | 688 name='download LTO plugin', |
| 687 script=self.m.path['checkout'].join( | 689 script=self.m.path['checkout'].join( |
| 688 'build', 'download_gold_plugin.py')) | 690 'build', 'download_gold_plugin.py')) |
| OLD | NEW |