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

Side by Side Diff: scripts/slave/recipes/swarming/deterministic_build.py

Issue 2282913002: Delete all references to GIT_MODE=True from build (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « scripts/slave/recipes/skia/swarm_trigger.py ('k') | scripts/slave/recipes/swarming/staging.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 """Recipe to test the deterministic build. 5 """Recipe to test the deterministic build.
6 6
7 Waterfall page: https://build.chromium.org/p/chromium.swarm/waterfall 7 Waterfall page: https://build.chromium.org/p/chromium.swarm/waterfall
8 8
9 """ 9 """
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 shutil.rmtree(sys.argv[2]) 74 shutil.rmtree(sys.argv[2])
75 shutil.move(sys.argv[1], sys.argv[2])""", 75 shutil.move(sys.argv[1], sys.argv[2])""",
76 args=[src_dir, dst_dir]) 76 args=[src_dir, dst_dir])
77 77
78 78
79 def ConfigureChromiumBuilder(api, recipe_config): 79 def ConfigureChromiumBuilder(api, recipe_config):
80 api.chromium.set_config(recipe_config['chromium_config'], 80 api.chromium.set_config(recipe_config['chromium_config'],
81 **recipe_config.get('chromium_config_kwargs', 81 **recipe_config.get('chromium_config_kwargs',
82 {'BUILD_CONFIG': 'Release'})) 82 {'BUILD_CONFIG': 'Release'}))
83 api.chromium.apply_config('clobber') 83 api.chromium.apply_config('clobber')
84 api.gclient.set_config(recipe_config['gclient_config'], GIT_MODE=True, 84 api.gclient.set_config(recipe_config['gclient_config'],
85 **recipe_config.get('gclient_config_kwargs', {})) 85 **recipe_config.get('gclient_config_kwargs', {}))
86 86
87 api.chromium.cleanup_temp() 87 api.chromium.cleanup_temp()
88 88
89 # Checkout chromium. 89 # Checkout chromium.
90 api.bot_update.ensure_checkout(force=True) 90 api.bot_update.ensure_checkout(force=True)
91 91
92 92
93 def ConfigureAndroidBuilder(api, recipe_config): 93 def ConfigureAndroidBuilder(api, recipe_config):
94 kwargs = { 94 kwargs = {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 _sanitize_nonalpha(buildername)) 179 _sanitize_nonalpha(buildername))
180 yield ( 180 yield (
181 api.test(test_name) + 181 api.test(test_name) +
182 api.properties.scheduled() + 182 api.properties.scheduled() +
183 api.properties.generic(buildername=buildername, 183 api.properties.generic(buildername=buildername,
184 mastername=mastername) + 184 mastername=mastername) +
185 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + 185 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) +
186 api.properties(configuration='Release') + 186 api.properties(configuration='Release') +
187 api.step_data('remove_build_metadata', retcode=1) 187 api.step_data('remove_build_metadata', retcode=1)
188 ) 188 )
OLDNEW
« no previous file with comments | « scripts/slave/recipes/skia/swarm_trigger.py ('k') | scripts/slave/recipes/swarming/staging.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698