Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: scripts/slave/recipe_modules/chromium/config.py

Issue 2392853002: Disable local fallback in goma staging environment (Closed)
Patch Set: goma_canary -> goma_failfast Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 21 matching lines...) Expand all
32 BUILD_CONFIG, TARGET_CROS_BOARD, 32 BUILD_CONFIG, TARGET_CROS_BOARD,
33 BUILD_PATH, CHECKOUT_PATH, **_kwargs): 33 BUILD_PATH, CHECKOUT_PATH, **_kwargs):
34 equal_fn = lambda tup: ('%s=%s' % (tup[0], pipes.quote(str(tup[1])))) 34 equal_fn = lambda tup: ('%s=%s' % (tup[0], pipes.quote(str(tup[1]))))
35 return ConfigGroup( 35 return ConfigGroup(
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_failfast = 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 xcode_sdk = Single(basestring, required=False), 46 xcode_sdk = Single(basestring, required=False),
47 ninja_confirm_noop = Single(bool, empty_val=False, required=False), 47 ninja_confirm_noop = Single(bool, empty_val=False, required=False),
48 set_build_data_dir = Single(bool, empty_val=False, required=False), 48 set_build_data_dir = Single(bool, empty_val=False, required=False),
49 ), 49 ),
50 runtest_py = ConfigGroup( 50 runtest_py = ConfigGroup(
51 src_side = Single(bool), 51 src_side = Single(bool),
52 ), 52 ),
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 @config_ctx() 241 @config_ctx()
242 def msvs2013(c): 242 def msvs2013(c):
243 c.gyp_env.GYP_MSVS_VERSION = '2013' 243 c.gyp_env.GYP_MSVS_VERSION = '2013'
244 244
245 @config_ctx() 245 @config_ctx()
246 def msvs2015(c): 246 def msvs2015(c):
247 c.gyp_env.GYP_MSVS_VERSION = '2015' 247 c.gyp_env.GYP_MSVS_VERSION = '2015'
248 248
249 @config_ctx() 249 @config_ctx()
250 def goma_canary(c): 250 def goma_canary(c):
251 c.compile_py.goma_canary = True 251 c.compile_py.goma_failfast = True
252 c.compile_py.goma_hermetic = 'error' 252 c.compile_py.goma_hermetic = 'error'
253 253
254 @config_ctx() 254 @config_ctx()
255 def goma_staging(c): 255 def goma_staging(c):
256 c.compile_py.goma_failfast = True
256 c.env.GOMA_STUBBY_PROXY_IP_ADDRESS = 'sandbox.google.com' 257 c.env.GOMA_STUBBY_PROXY_IP_ADDRESS = 'sandbox.google.com'
257 258
258 @config_ctx() 259 @config_ctx()
259 def goma_hermetic_fallback(c): 260 def goma_hermetic_fallback(c):
260 c.compile_py.goma_hermetic = 'fallback' 261 c.compile_py.goma_hermetic = 'fallback'
261 262
262 @config_ctx() 263 @config_ctx()
263 def goma_linktest(c): 264 def goma_linktest(c):
264 c.compile_py.goma_enable_remote_link = True 265 c.compile_py.goma_enable_remote_link = True
265 c.compile_py.goma_store_local_run_output = True 266 c.compile_py.goma_store_local_run_output = True
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 799 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1
799 800
800 @config_ctx() 801 @config_ctx()
801 def build_angle_deqp_tests(c): 802 def build_angle_deqp_tests(c):
802 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 803 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1
803 804
804 @config_ctx() 805 @config_ctx()
805 def force_mac_toolchain(c): 806 def force_mac_toolchain(c):
806 c.env.FORCE_MAC_TOOLCHAIN = 1 807 c.env.FORCE_MAC_TOOLCHAIN = 1
807 c.gyp_env.FORCE_MAC_TOOLCHAIN = 1 808 c.gyp_env.FORCE_MAC_TOOLCHAIN = 1
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698