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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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: | 64 if self.c.env.GOMA_STUBBY_PROXY_IP_ADDRESS: |
65 ret['GOMA_STUBBY_PROXY_IP_ADDRESS'] = \ | 65 ret['GOMA_STUBBY_PROXY_IP_ADDRESS'] = \ |
66 self.c.env.GOMA_STUBBY_PROXY_IP_ADDRESS | 66 self.c.env.GOMA_STUBBY_PROXY_IP_ADDRESS |
| 67 if self.c.env.FORCE_MAC_TOOLCHAIN: |
| 68 ret['FORCE_MAC_TOOLCHAIN'] = self.c.env.FORCE_MAC_TOOLCHAIN |
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 |
74 def output_dir(self): | 76 def output_dir(self): |
75 """Return the path to the built executable directory.""" | 77 """Return the path to the built executable directory.""" |
76 return self.c.build_dir.join(self.c.build_config_fs) | 78 return self.c.build_dir.join(self.c.build_config_fs) |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 })) | 705 })) |
704 | 706 |
705 def get_annotate_by_test_name(self, test_name): | 707 def get_annotate_by_test_name(self, test_name): |
706 return 'graphing' | 708 return 'graphing' |
707 | 709 |
708 def download_lto_plugin(self): | 710 def download_lto_plugin(self): |
709 return self.m.python( | 711 return self.m.python( |
710 name='download LTO plugin', | 712 name='download LTO plugin', |
711 script=self.m.path['checkout'].join( | 713 script=self.m.path['checkout'].join( |
712 'build', 'download_gold_plugin.py')) | 714 'build', 'download_gold_plugin.py')) |
OLD | NEW |