| 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 25 matching lines...) Expand all Loading... |
| 36 compile_py = ConfigGroup( | 36 compile_py = ConfigGroup( |
| 37 default_targets = Set(basestring), | 37 default_targets = Set(basestring), |
| 38 build_args = Single(basestring, required=False), | 38 build_args = Single(basestring, required=False), |
| 39 compiler = Single(basestring, required=False), | 39 compiler = Single(basestring, required=False), |
| 40 mode = Single(basestring, required=False), | 40 mode = Single(basestring, required=False), |
| 41 goma_dir = Single(Path, required=False), | 41 goma_dir = Single(Path, required=False), |
| 42 goma_canary = Single(bool, empty_val=False, required=False), | 42 goma_canary = Single(bool, empty_val=False, required=False), |
| 43 goma_hermetic = Single(basestring, required=False), | 43 goma_hermetic = Single(basestring, required=False), |
| 44 goma_enable_remote_link = Single(bool, empty_val=False, required=False), | 44 goma_enable_remote_link = Single(bool, empty_val=False, required=False), |
| 45 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
), |
| 46 goma_enable_compiler_info_cache = Single( | |
| 47 bool, empty_val=False, required=False), | |
| 48 xcode_sdk = Single(basestring, required=False), | 46 xcode_sdk = Single(basestring, required=False), |
| 49 ninja_confirm_noop = Single(bool, empty_val=False, required=False), | 47 ninja_confirm_noop = Single(bool, empty_val=False, required=False), |
| 50 set_build_data_dir = Single(bool, empty_val=False, required=False), | 48 set_build_data_dir = Single(bool, empty_val=False, required=False), |
| 51 ), | 49 ), |
| 52 runtest_py = ConfigGroup( | 50 runtest_py = ConfigGroup( |
| 53 src_side = Single(bool), | 51 src_side = Single(bool), |
| 54 ), | 52 ), |
| 55 gyp_env = ConfigGroup( | 53 gyp_env = ConfigGroup( |
| 56 GYP_CROSSCOMPILE = Single(int, jsonish_fn=str, required=False), | 54 GYP_CROSSCOMPILE = Single(int, jsonish_fn=str, required=False), |
| 57 GYP_CHROMIUM_NO_ACTION = Single(int, jsonish_fn=str, required=False), | 55 GYP_CHROMIUM_NO_ACTION = Single(int, jsonish_fn=str, required=False), |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 c.gyp_env.GYP_MSVS_VERSION = '2013' | 243 c.gyp_env.GYP_MSVS_VERSION = '2013' |
| 246 | 244 |
| 247 @config_ctx() | 245 @config_ctx() |
| 248 def msvs2015(c): | 246 def msvs2015(c): |
| 249 c.gyp_env.GYP_MSVS_VERSION = '2015' | 247 c.gyp_env.GYP_MSVS_VERSION = '2015' |
| 250 | 248 |
| 251 @config_ctx() | 249 @config_ctx() |
| 252 def goma_canary(c): | 250 def goma_canary(c): |
| 253 c.compile_py.goma_canary = True | 251 c.compile_py.goma_canary = True |
| 254 c.compile_py.goma_hermetic = 'error' | 252 c.compile_py.goma_hermetic = 'error' |
| 255 c.compile_py.goma_enable_compiler_info_cache = True | |
| 256 | 253 |
| 257 @config_ctx() | 254 @config_ctx() |
| 258 def goma_staging(c): | 255 def goma_staging(c): |
| 259 c.env.GOMA_STUBBY_PROXY_IP_ADDRESS = 'sandbox.google.com' | 256 c.env.GOMA_STUBBY_PROXY_IP_ADDRESS = 'sandbox.google.com' |
| 260 | 257 |
| 261 @config_ctx() | 258 @config_ctx() |
| 262 def goma_hermetic_fallback(c): | 259 def goma_hermetic_fallback(c): |
| 263 c.compile_py.goma_hermetic = 'fallback' | 260 c.compile_py.goma_hermetic = 'fallback' |
| 264 | 261 |
| 265 @config_ctx() | 262 @config_ctx() |
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 | 807 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 |
| 811 | 808 |
| 812 @config_ctx() | 809 @config_ctx() |
| 813 def build_angle_deqp_tests(c): | 810 def build_angle_deqp_tests(c): |
| 814 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 | 811 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 |
| 815 | 812 |
| 816 @config_ctx() | 813 @config_ctx() |
| 817 def force_mac_toolchain(c): | 814 def force_mac_toolchain(c): |
| 818 c.env.FORCE_MAC_TOOLCHAIN = 1 | 815 c.env.FORCE_MAC_TOOLCHAIN = 1 |
| 819 c.gyp_env.FORCE_MAC_TOOLCHAIN = 1 | 816 c.gyp_env.FORCE_MAC_TOOLCHAIN = 1 |
| OLD | NEW |