| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 if self.c.compile_py.mode: | 200 if self.c.compile_py.mode: |
| 201 args += ['--mode', self.c.compile_py.mode] | 201 args += ['--mode', self.c.compile_py.mode] |
| 202 if self.c.compile_py.goma_dir: | 202 if self.c.compile_py.goma_dir: |
| 203 args += ['--goma-dir', self.c.compile_py.goma_dir] | 203 args += ['--goma-dir', self.c.compile_py.goma_dir] |
| 204 if self.c.compile_py.goma_hermetic: | 204 if self.c.compile_py.goma_hermetic: |
| 205 args += ['--goma-hermetic', self.c.compile_py.goma_hermetic] | 205 args += ['--goma-hermetic', self.c.compile_py.goma_hermetic] |
| 206 if self.c.compile_py.goma_enable_remote_link: | 206 if self.c.compile_py.goma_enable_remote_link: |
| 207 args += ['--goma-enable-remote-link'] | 207 args += ['--goma-enable-remote-link'] |
| 208 if self.c.compile_py.goma_store_local_run_output: | 208 if self.c.compile_py.goma_store_local_run_output: |
| 209 args += ['--goma-store-local-run-output'] | 209 args += ['--goma-store-local-run-output'] |
| 210 if self.c.compile_py.goma_enable_compiler_info_cache: | |
| 211 args += ['--goma-enable-compiler-info-cache'] | |
| 212 if self.m.tryserver.is_tryserver: | 210 if self.m.tryserver.is_tryserver: |
| 213 # We rely on goma to meet cycle time goals on the tryserver. It's better | 211 # We rely on goma to meet cycle time goals on the tryserver. It's better |
| 214 # to fail early. | 212 # to fail early. |
| 215 args += ['--goma-fail-fast', '--goma-disable-local-fallback'] | 213 args += ['--goma-fail-fast', '--goma-disable-local-fallback'] |
| 216 if self.c.compile_py.ninja_confirm_noop: | 214 if self.c.compile_py.ninja_confirm_noop: |
| 217 args.append('--ninja-ensure-up-to-date') | 215 args.append('--ninja-ensure-up-to-date') |
| 218 if self.c.TARGET_CROS_BOARD: | 216 if self.c.TARGET_CROS_BOARD: |
| 219 args += ['--cros-board', self.c.TARGET_CROS_BOARD] | 217 args += ['--cros-board', self.c.TARGET_CROS_BOARD] |
| 220 | 218 |
| 221 args.append('--') | 219 args.append('--') |
| (...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 791 })) | 789 })) |
| 792 | 790 |
| 793 def get_annotate_by_test_name(self, test_name): | 791 def get_annotate_by_test_name(self, test_name): |
| 794 return 'graphing' | 792 return 'graphing' |
| 795 | 793 |
| 796 def download_lto_plugin(self): | 794 def download_lto_plugin(self): |
| 797 return self.m.python( | 795 return self.m.python( |
| 798 name='download LTO plugin', | 796 name='download LTO plugin', |
| 799 script=self.m.path['checkout'].join( | 797 script=self.m.path['checkout'].join( |
| 800 'build', 'download_gold_plugin.py')) | 798 'build', 'download_gold_plugin.py')) |
| OLD | NEW |