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

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

Issue 1681833002: Removes dont_embed_build_metadata in preparation for its removal. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 10 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 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 TODO(sebmarchand): This recipe has been moved to the recipe's root directory. 9 TODO(sebmarchand): This recipe has been moved to the recipe's root directory.
10 Remove this copy once all the master have been updated. 10 Remove this copy once all the master have been updated.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 if os.path.exists(sys.argv[2]): 74 if os.path.exists(sys.argv[2]):
75 shutil.rmtree(sys.argv[2]) 75 shutil.rmtree(sys.argv[2])
76 shutil.move(sys.argv[1], sys.argv[2])""", 76 shutil.move(sys.argv[1], sys.argv[2])""",
77 args=[src_dir, dst_dir]) 77 args=[src_dir, dst_dir])
78 78
79 79
80 def ConfigureChromiumBuilder(api, recipe_config): 80 def ConfigureChromiumBuilder(api, recipe_config):
81 api.chromium.set_config(recipe_config['chromium_config'], 81 api.chromium.set_config(recipe_config['chromium_config'],
82 **recipe_config.get('chromium_config_kwargs', 82 **recipe_config.get('chromium_config_kwargs',
83 {'BUILD_CONFIG': 'Release'})) 83 {'BUILD_CONFIG': 'Release'}))
84 api.chromium.apply_config('chromium_deterministic_build')
85 api.gclient.set_config(recipe_config['gclient_config'], 84 api.gclient.set_config(recipe_config['gclient_config'],
86 **recipe_config.get('gclient_config_kwargs', {})) 85 **recipe_config.get('gclient_config_kwargs', {}))
87 86
88 api.chromium.cleanup_temp() 87 api.chromium.cleanup_temp()
89 88
90 # Checkout chromium. 89 # Checkout chromium.
91 api.bot_update.ensure_checkout(force=True) 90 api.bot_update.ensure_checkout(force=True)
92 91
93 92
94 def ConfigureAndroidBuilder(api, recipe_config): 93 def ConfigureAndroidBuilder(api, recipe_config):
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 _sanitize_nonalpha(buildername)) 171 _sanitize_nonalpha(buildername))
173 yield ( 172 yield (
174 api.test(test_name) + 173 api.test(test_name) +
175 api.properties.scheduled() + 174 api.properties.scheduled() +
176 api.properties.generic(buildername=buildername, 175 api.properties.generic(buildername=buildername,
177 mastername=mastername) + 176 mastername=mastername) +
178 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + 177 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) +
179 api.properties(configuration='Release') + 178 api.properties(configuration='Release') +
180 api.step_data('remove_build_metadata', retcode=1) 179 api.step_data('remove_build_metadata', retcode=1)
181 ) 180 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698