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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
208 if self.c.compile_py.mode: | 208 if self.c.compile_py.mode: |
209 args += ['--mode', self.c.compile_py.mode] | 209 args += ['--mode', self.c.compile_py.mode] |
210 if self.c.compile_py.goma_dir: | 210 if self.c.compile_py.goma_dir: |
211 args += ['--goma-dir', self.c.compile_py.goma_dir] | 211 args += ['--goma-dir', self.c.compile_py.goma_dir] |
212 if self.c.compile_py.goma_hermetic: | 212 if self.c.compile_py.goma_hermetic: |
213 args += ['--goma-hermetic', self.c.compile_py.goma_hermetic] | 213 args += ['--goma-hermetic', self.c.compile_py.goma_hermetic] |
214 if self.c.compile_py.goma_enable_remote_link: | 214 if self.c.compile_py.goma_enable_remote_link: |
215 args += ['--goma-enable-remote-link'] | 215 args += ['--goma-enable-remote-link'] |
216 if self.c.compile_py.goma_store_local_run_output: | 216 if self.c.compile_py.goma_store_local_run_output: |
217 args += ['--goma-store-local-run-output'] | 217 args += ['--goma-store-local-run-output'] |
218 if self.c.compile_py.goma_canary: | 218 if self.c.compile_py.goma_failfast: |
Yoshisato Yanagisawa
2016/10/04 09:31:07
I feel this confusing because there is --goma-fail
| |
219 args += ['--goma-disable-local-fallback'] | 219 args += ['--goma-disable-local-fallback'] |
220 if self.m.tryserver.is_tryserver: | 220 if self.m.tryserver.is_tryserver: |
221 # We rely on goma to meet cycle time goals on the tryserver. It's better | 221 # We rely on goma to meet cycle time goals on the tryserver. It's better |
222 # to fail early. | 222 # to fail early. |
223 args += ['--goma-fail-fast', '--goma-disable-local-fallback'] | 223 args += ['--goma-fail-fast', '--goma-disable-local-fallback'] |
224 if self.c.compile_py.ninja_confirm_noop: | 224 if self.c.compile_py.ninja_confirm_noop: |
225 args.append('--ninja-ensure-up-to-date') | 225 args.append('--ninja-ensure-up-to-date') |
226 if self.c.TARGET_CROS_BOARD: | 226 if self.c.TARGET_CROS_BOARD: |
227 args += ['--cros-board', self.c.TARGET_CROS_BOARD] | 227 args += ['--cros-board', self.c.TARGET_CROS_BOARD] |
228 | 228 |
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
825 })) | 825 })) |
826 | 826 |
827 def get_annotate_by_test_name(self, test_name): | 827 def get_annotate_by_test_name(self, test_name): |
828 return 'graphing' | 828 return 'graphing' |
829 | 829 |
830 def download_lto_plugin(self): | 830 def download_lto_plugin(self): |
831 return self.m.python( | 831 return self.m.python( |
832 name='download LTO plugin', | 832 name='download LTO plugin', |
833 script=self.m.path['checkout'].join( | 833 script=self.m.path['checkout'].join( |
834 'build', 'download_gold_plugin.py')) | 834 'build', 'download_gold_plugin.py')) |
OLD | NEW |