| 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 types | 5 import types |
| 6 | 6 |
| 7 from recipe_engine.config import config_item_context, ConfigGroup | 7 from recipe_engine.config import config_item_context, ConfigGroup |
| 8 from recipe_engine.config import ConfigList, Dict, List, Single, Static | 8 from recipe_engine.config import ConfigList, Dict, List, Single, Static |
| 9 from recipe_engine.config_types import Path | 9 from recipe_engine.config_types import Path |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 coverage = Single(bool, required=False, empty_val=False), | 37 coverage = Single(bool, required=False, empty_val=False), |
| 38 chrome_specific_wipe = Single(bool, required=False, empty_val=False), | 38 chrome_specific_wipe = Single(bool, required=False, empty_val=False), |
| 39 incremental_coverage = Single(bool, required=False, empty_val=False), | 39 incremental_coverage = Single(bool, required=False, empty_val=False), |
| 40 env = ConfigGroup( | 40 env = ConfigGroup( |
| 41 LLVM_FORCE_HEAD_REVISION = Single(basestring, required=False), | 41 LLVM_FORCE_HEAD_REVISION = Single(basestring, required=False), |
| 42 ), | 42 ), |
| 43 gce_setup = Single(bool, required=False, empty_val=False), | 43 gce_setup = Single(bool, required=False, empty_val=False), |
| 44 gce_snapshot = Single(basestring, required=False), | 44 gce_snapshot = Single(basestring, required=False), |
| 45 gce_count = Single(int, required=False), | 45 gce_count = Single(int, required=False), |
| 46 restart_usb = Single(bool, required=False, empty_val=False), | 46 restart_usb = Single(bool, required=False, empty_val=False), |
| 47 use_devil_adb = Single(bool, required=False, empty_val=False), |
| 47 ) | 48 ) |
| 48 | 49 |
| 49 | 50 |
| 50 config_ctx = config_item_context(BaseConfig) | 51 config_ctx = config_item_context(BaseConfig) |
| 51 | 52 |
| 52 @config_ctx(is_root=True) | 53 @config_ctx(is_root=True) |
| 53 def base_config(c): | 54 def base_config(c): |
| 54 c.internal_dir_name = 'clank' | 55 c.internal_dir_name = 'clank' |
| 55 c.test_runner = c.CHECKOUT_PATH.join('build', 'android', 'test_runner.py') | 56 c.test_runner = c.CHECKOUT_PATH.join('build', 'android', 'test_runner.py') |
| 56 | 57 |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 def chromium_perf(c): | 227 def chromium_perf(c): |
| 227 pass | 228 pass |
| 228 | 229 |
| 229 @config_ctx() | 230 @config_ctx() |
| 230 def cast_builder(c): | 231 def cast_builder(c): |
| 231 pass | 232 pass |
| 232 | 233 |
| 233 @config_ctx() | 234 @config_ctx() |
| 234 def restart_usb(c): | 235 def restart_usb(c): |
| 235 c.restart_usb = True | 236 c.restart_usb = True |
| 237 |
| 238 @config_ctx() |
| 239 def use_devil_adb(c): |
| 240 c.use_devil_adb = True |
| OLD | NEW |