| 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.GOMA_STUBBY_PROXY_IP_ADDRESS: |
| 65 ret['GOMA_STUBBY_PROXY_IP_ADDRESS'] = \ |
| 66 self.c.env.GOMA_STUBBY_PROXY_IP_ADDRESS |
| 64 return ret | 67 return ret |
| 65 | 68 |
| 66 @property | 69 @property |
| 67 def build_properties(self): | 70 def build_properties(self): |
| 68 return self._build_properties | 71 return self._build_properties |
| 69 | 72 |
| 70 @property | 73 @property |
| 71 def output_dir(self): | 74 def output_dir(self): |
| 72 """Return the path to the built executable directory.""" | 75 """Return the path to the built executable directory.""" |
| 73 return self.c.build_dir.join(self.c.build_config_fs) | 76 return self.c.build_dir.join(self.c.build_config_fs) |
| (...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 749 args=[ | 752 args=[ |
| 750 '27eac9b2869ef6c89391f305a3f01285ea317867', | 753 '27eac9b2869ef6c89391f305a3f01285ea317867', |
| 751 '9d9a93134b3eabd003b85b4e7dea06c0eae150ed', | 754 '9d9a93134b3eabd003b85b4e7dea06c0eae150ed', |
| 752 ]) | 755 ]) |
| 753 | 756 |
| 754 def download_lto_plugin(self): | 757 def download_lto_plugin(self): |
| 755 return self.m.python( | 758 return self.m.python( |
| 756 name='download LTO plugin', | 759 name='download LTO plugin', |
| 757 script=self.m.path['checkout'].join( | 760 script=self.m.path['checkout'].join( |
| 758 'build', 'download_gold_plugin.py')) | 761 'build', 'download_gold_plugin.py')) |
| OLD | NEW |