| 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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 | 248 |
| 249 @config_ctx() | 249 @config_ctx() |
| 250 def msvs2012(c): | 250 def msvs2012(c): |
| 251 c.gyp_env.GYP_MSVS_VERSION = '2012' | 251 c.gyp_env.GYP_MSVS_VERSION = '2012' |
| 252 | 252 |
| 253 @config_ctx() | 253 @config_ctx() |
| 254 def msvs2013(c): | 254 def msvs2013(c): |
| 255 c.gyp_env.GYP_MSVS_VERSION = '2013' | 255 c.gyp_env.GYP_MSVS_VERSION = '2013' |
| 256 | 256 |
| 257 @config_ctx() | 257 @config_ctx() |
| 258 def msvs2015(c): |
| 259 c.gyp_env.GYP_MSVS_VERSION = '2015' |
| 260 |
| 261 @config_ctx() |
| 258 def goma_canary(c): | 262 def goma_canary(c): |
| 259 c.compile_py.goma_hermetic = 'error' | 263 c.compile_py.goma_hermetic = 'error' |
| 260 | 264 |
| 261 @config_ctx() | 265 @config_ctx() |
| 262 def goma_staging(c): | 266 def goma_staging(c): |
| 263 c.env.GOMA_STUBBY_PROXY_IP_ADDRESS = 'sandbox.google.com' | 267 c.env.GOMA_STUBBY_PROXY_IP_ADDRESS = 'sandbox.google.com' |
| 264 | 268 |
| 265 @config_ctx() | 269 @config_ctx() |
| 266 def goma_hermetic_fallback(c): | 270 def goma_hermetic_fallback(c): |
| 267 c.compile_py.goma_hermetic = 'fallback' | 271 c.compile_py.goma_hermetic = 'fallback' |
| (...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 c.compile_py.goma_dir = None | 813 c.compile_py.goma_dir = None |
| 810 c.gyp_env.GYP_DEFINES['use_goma'] = 0 | 814 c.gyp_env.GYP_DEFINES['use_goma'] = 0 |
| 811 | 815 |
| 812 @config_ctx() | 816 @config_ctx() |
| 813 def chromium_deterministic_build(c): | 817 def chromium_deterministic_build(c): |
| 814 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 | 818 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 |
| 815 | 819 |
| 816 @config_ctx(includes=['chromium_clang']) | 820 @config_ctx(includes=['chromium_clang']) |
| 817 def cast_linux(c): | 821 def cast_linux(c): |
| 818 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 822 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
| OLD | NEW |