| 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 pipes | 5 import pipes |
| 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 Dict, List, Single, Static, Set, BadConf | 8 from recipe_engine.config import Dict, List, Single, Static, Set, BadConf |
| 9 from recipe_engine.config_types import Path | 9 from recipe_engine.config_types import Path |
| 10 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 equal_fn = lambda tup: ('%s=%s' % (tup[0], pipes.quote(str(tup[1])))) | 33 equal_fn = lambda tup: ('%s=%s' % (tup[0], pipes.quote(str(tup[1])))) |
| 34 return ConfigGroup( | 34 return ConfigGroup( |
| 35 compile_py = ConfigGroup( | 35 compile_py = ConfigGroup( |
| 36 default_targets = Set(basestring), | 36 default_targets = Set(basestring), |
| 37 build_args = Single(basestring, required=False), | 37 build_args = Single(basestring, required=False), |
| 38 build_tool = Single(basestring, required=False), | 38 build_tool = Single(basestring, required=False), |
| 39 cross_tool = Single(basestring, required=False), | 39 cross_tool = Single(basestring, required=False), |
| 40 compiler = Single(basestring, required=False), | 40 compiler = Single(basestring, required=False), |
| 41 mode = Single(basestring, required=False), | 41 mode = Single(basestring, required=False), |
| 42 goma_dir = Single(Path, required=False), | 42 goma_dir = Single(Path, required=False), |
| 43 goma_canary = Single(bool, empty_val=False, required=False), | |
| 44 goma_hermetic = Single(basestring, required=False), | 43 goma_hermetic = Single(basestring, required=False), |
| 45 goma_enable_remote_link = Single(bool, empty_val=False, required=False), | 44 goma_enable_remote_link = Single(bool, empty_val=False, required=False), |
| 46 goma_store_local_run_output = Single(bool, empty_val=False, required=False
), | 45 goma_store_local_run_output = Single(bool, empty_val=False, required=False
), |
| 47 goma_enable_compiler_info_cache = Single( | 46 goma_enable_compiler_info_cache = Single( |
| 48 bool, empty_val=False, required=False), | 47 bool, empty_val=False, required=False), |
| 49 clobber = Single(bool, empty_val=False, required=False, hidden=False), | 48 clobber = Single(bool, empty_val=False, required=False, hidden=False), |
| 50 pass_arch_flag = Single(bool, empty_val=False, required=False), | 49 pass_arch_flag = Single(bool, empty_val=False, required=False), |
| 51 xcode_sdk = Single(basestring, required=False), | 50 xcode_sdk = Single(basestring, required=False), |
| 52 xcode_project = Single(Path, required=False), | 51 xcode_project = Single(Path, required=False), |
| 53 solution = Single(Path, required=False), | 52 solution = Single(Path, required=False), |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 @config_ctx() | 244 @config_ctx() |
| 246 def msvs2013(c): | 245 def msvs2013(c): |
| 247 c.gyp_env.GYP_MSVS_VERSION = '2013' | 246 c.gyp_env.GYP_MSVS_VERSION = '2013' |
| 248 | 247 |
| 249 @config_ctx() | 248 @config_ctx() |
| 250 def msvs2015(c): | 249 def msvs2015(c): |
| 251 c.gyp_env.GYP_MSVS_VERSION = '2015' | 250 c.gyp_env.GYP_MSVS_VERSION = '2015' |
| 252 | 251 |
| 253 @config_ctx() | 252 @config_ctx() |
| 254 def goma_canary(c): | 253 def goma_canary(c): |
| 255 c.compile_py.goma_canary = True | |
| 256 c.compile_py.goma_hermetic = 'error' | 254 c.compile_py.goma_hermetic = 'error' |
| 257 c.compile_py.goma_enable_compiler_info_cache = True | 255 c.compile_py.goma_enable_compiler_info_cache = True |
| 258 | 256 |
| 259 @config_ctx() | 257 @config_ctx() |
| 260 def goma_staging(c): | 258 def goma_staging(c): |
| 261 c.env.GOMA_STUBBY_PROXY_IP_ADDRESS = 'sandbox.google.com' | 259 c.env.GOMA_STUBBY_PROXY_IP_ADDRESS = 'sandbox.google.com' |
| 262 | 260 |
| 263 @config_ctx() | 261 @config_ctx() |
| 264 def goma_hermetic_fallback(c): | 262 def goma_hermetic_fallback(c): |
| 265 c.compile_py.goma_hermetic = 'fallback' | 263 c.compile_py.goma_hermetic = 'fallback' |
| (...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 802 def cast_linux(c): | 800 def cast_linux(c): |
| 803 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 801 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
| 804 | 802 |
| 805 @config_ctx() | 803 @config_ctx() |
| 806 def internal_gles2_conform_tests(c): | 804 def internal_gles2_conform_tests(c): |
| 807 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 | 805 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 |
| 808 | 806 |
| 809 @config_ctx() | 807 @config_ctx() |
| 810 def build_angle_deqp_tests(c): | 808 def build_angle_deqp_tests(c): |
| 811 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 | 809 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 |
| OLD | NEW |