| 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), |
| 43 goma_hermetic = Single(basestring, required=False), | 44 goma_hermetic = Single(basestring, required=False), |
| 44 goma_enable_remote_link = Single(bool, empty_val=False, required=False), | 45 goma_enable_remote_link = Single(bool, empty_val=False, required=False), |
| 45 goma_store_local_run_output = Single(bool, empty_val=False, required=False
), | 46 goma_store_local_run_output = Single(bool, empty_val=False, required=False
), |
| 46 goma_enable_compiler_info_cache = Single( | 47 goma_enable_compiler_info_cache = Single( |
| 47 bool, empty_val=False, required=False), | 48 bool, empty_val=False, required=False), |
| 48 clobber = Single(bool, empty_val=False, required=False, hidden=False), | 49 clobber = Single(bool, empty_val=False, required=False, hidden=False), |
| 49 pass_arch_flag = Single(bool, empty_val=False, required=False), | 50 pass_arch_flag = Single(bool, empty_val=False, required=False), |
| 50 xcode_sdk = Single(basestring, required=False), | 51 xcode_sdk = Single(basestring, required=False), |
| 51 xcode_project = Single(Path, required=False), | 52 xcode_project = Single(Path, required=False), |
| 52 solution = Single(Path, required=False), | 53 solution = Single(Path, required=False), |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 @config_ctx() | 245 @config_ctx() |
| 245 def msvs2013(c): | 246 def msvs2013(c): |
| 246 c.gyp_env.GYP_MSVS_VERSION = '2013' | 247 c.gyp_env.GYP_MSVS_VERSION = '2013' |
| 247 | 248 |
| 248 @config_ctx() | 249 @config_ctx() |
| 249 def msvs2015(c): | 250 def msvs2015(c): |
| 250 c.gyp_env.GYP_MSVS_VERSION = '2015' | 251 c.gyp_env.GYP_MSVS_VERSION = '2015' |
| 251 | 252 |
| 252 @config_ctx() | 253 @config_ctx() |
| 253 def goma_canary(c): | 254 def goma_canary(c): |
| 255 c.compile_py.goma_canary = True |
| 254 c.compile_py.goma_hermetic = 'error' | 256 c.compile_py.goma_hermetic = 'error' |
| 255 c.compile_py.goma_enable_compiler_info_cache = True | 257 c.compile_py.goma_enable_compiler_info_cache = True |
| 256 | 258 |
| 257 @config_ctx() | 259 @config_ctx() |
| 258 def goma_staging(c): | 260 def goma_staging(c): |
| 259 c.env.GOMA_STUBBY_PROXY_IP_ADDRESS = 'sandbox.google.com' | 261 c.env.GOMA_STUBBY_PROXY_IP_ADDRESS = 'sandbox.google.com' |
| 260 | 262 |
| 261 @config_ctx() | 263 @config_ctx() |
| 262 def goma_hermetic_fallback(c): | 264 def goma_hermetic_fallback(c): |
| 263 c.compile_py.goma_hermetic = 'fallback' | 265 c.compile_py.goma_hermetic = 'fallback' |
| (...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 800 def cast_linux(c): | 802 def cast_linux(c): |
| 801 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 803 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
| 802 | 804 |
| 803 @config_ctx() | 805 @config_ctx() |
| 804 def internal_gles2_conform_tests(c): | 806 def internal_gles2_conform_tests(c): |
| 805 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 | 807 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 |
| 806 | 808 |
| 807 @config_ctx() | 809 @config_ctx() |
| 808 def build_angle_deqp_tests(c): | 810 def build_angle_deqp_tests(c): |
| 809 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 | 811 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 |
| OLD | NEW |