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

Side by Side Diff: scripts/slave/recipes/libyuv/libyuv.py

Issue 2269263002: Make all the rest of the recipes explicitly specify GIT_MODE (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebase 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/legion/legion.expected/basic.json ('k') | scripts/slave/recipes/mojo.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 """ 5 """
6 Recipe for building and running tests for Libyuv stand-alone. 6 Recipe for building and running tests for Libyuv stand-alone.
7 """ 7 """
8 8
9 from recipe_engine.types import freeze 9 from recipe_engine.types import freeze
10 10
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 bot_config = master_dict.get('builders', {}).get(buildername) 854 bot_config = master_dict.get('builders', {}).get(buildername)
855 assert bot_config, ('Unrecognized builder name "%r" for master "%r".' % 855 assert bot_config, ('Unrecognized builder name "%r" for master "%r".' %
856 (buildername, mastername)) 856 (buildername, mastername))
857 recipe_config_name = bot_config['recipe_config'] 857 recipe_config_name = bot_config['recipe_config']
858 recipe_config = RECIPE_CONFIGS.get(recipe_config_name) 858 recipe_config = RECIPE_CONFIGS.get(recipe_config_name)
859 assert recipe_config, ('Cannot find recipe_config "%s" for builder "%r".' % 859 assert recipe_config, ('Cannot find recipe_config "%s" for builder "%r".' %
860 (recipe_config_name, buildername)) 860 (recipe_config_name, buildername))
861 861
862 api.chromium.set_config(recipe_config['chromium_config'], 862 api.chromium.set_config(recipe_config['chromium_config'],
863 **bot_config.get('chromium_config_kwargs', {})) 863 **bot_config.get('chromium_config_kwargs', {}))
864 api.gclient.set_config(recipe_config['gclient_config']) 864 api.gclient.set_config(recipe_config['gclient_config'], GIT_MODE=True)
865 for c in bot_config.get('gclient_apply_config', []): 865 for c in bot_config.get('gclient_apply_config', []):
866 api.gclient.apply_config(c) 866 api.gclient.apply_config(c)
867 for c in bot_config.get('chromium_apply_config', []): 867 for c in bot_config.get('chromium_apply_config', []):
868 api.chromium.apply_config(c) 868 api.chromium.apply_config(c)
869 869
870 if api.tryserver.is_tryserver: 870 if api.tryserver.is_tryserver:
871 api.chromium.apply_config('trybot_flavor') 871 api.chromium.apply_config('trybot_flavor')
872 872
873 api.bot_update.ensure_checkout(force=True) 873 api.bot_update.ensure_checkout(force=True)
874 api.chromium.ensure_goma() 874 api.chromium.ensure_goma()
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 917
918 # Forced builds (not specifying any revision) and test failures. 918 # Forced builds (not specifying any revision) and test failures.
919 mastername = 'client.libyuv' 919 mastername = 'client.libyuv'
920 yield generate_builder(mastername, 'Linux64 Debug', revision=None, 920 yield generate_builder(mastername, 'Linux64 Debug', revision=None,
921 suffix='_forced') 921 suffix='_forced')
922 yield generate_builder(mastername, 'Android Debug', revision=None, 922 yield generate_builder(mastername, 'Android Debug', revision=None,
923 suffix='_forced') 923 suffix='_forced')
924 924
925 yield generate_builder('tryserver.libyuv', 'linux', revision=None, 925 yield generate_builder('tryserver.libyuv', 'linux', revision=None,
926 suffix='_forced') 926 suffix='_forced')
OLDNEW
« no previous file with comments | « scripts/slave/recipes/legion/legion.expected/basic.json ('k') | scripts/slave/recipes/mojo.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698