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

Side by Side Diff: scripts/slave/recipes/chromium_codesearch.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
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 from recipe_engine.types import freeze 5 from recipe_engine.types import freeze
6 6
7 DEPS = [ 7 DEPS = [
8 'depot_tools/bot_update', 8 'depot_tools/bot_update',
9 'chromium', 9 'chromium',
10 'commit_position', 10 'commit_position',
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 116
117 def RunSteps(api): 117 def RunSteps(api):
118 buildername = api.properties.get('buildername') 118 buildername = api.properties.get('buildername')
119 119
120 bot_config = SPEC.get('builders', {}).get(buildername) 120 bot_config = SPEC.get('builders', {}).get(buildername)
121 platform = bot_config.get('platform', 'linux') 121 platform = bot_config.get('platform', 'linux')
122 122
123 # Checkout the repositories that are either directly needed or should be 123 # Checkout the repositories that are either directly needed or should be
124 # included in the source archive. 124 # included in the source archive.
125 gclient_config = api.gclient.make_config('chromium', GIT_MODE=True) 125 gclient_config = api.gclient.make_config('chromium')
126 for name, url in ADDITIONAL_REPOS.iteritems(): 126 for name, url in ADDITIONAL_REPOS.iteritems():
127 solution = gclient_config.solutions.add() 127 solution = gclient_config.solutions.add()
128 solution.name = name 128 solution.name = name
129 solution.url = url 129 solution.url = url
130 api.gclient.c = gclient_config 130 api.gclient.c = gclient_config
131 update_step = api.bot_update.ensure_checkout() 131 update_step = api.bot_update.ensure_checkout()
132 api.chromium.set_build_properties(update_step.json.output['properties']) 132 api.chromium.set_build_properties(update_step.json.output['properties'])
133 133
134 # Remove the llvm-build directory, so that gclient runhooks will download 134 # Remove the llvm-build directory, so that gclient runhooks will download
135 # the pre-built clang binary and not use the locally compiled binary from 135 # the pre-built clang binary and not use the locally compiled binary from
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 api.test( 256 api.test(
257 'full_%s_fail' % _sanitize_nonalpha('ChromiumOS Codesearch')) + 257 'full_%s_fail' % _sanitize_nonalpha('ChromiumOS Codesearch')) +
258 api.step_data('generate compilation database for chromeos', 258 api.step_data('generate compilation database for chromeos',
259 stdout=api.raw_io.output('some compilation data')) + 259 stdout=api.raw_io.output('some compilation data')) +
260 api.step_data('generate compilation database for linux', 260 api.step_data('generate compilation database for linux',
261 stdout=api.raw_io.output('some compilation data')) + 261 stdout=api.raw_io.output('some compilation data')) +
262 api.step_data('run translation_unit clang tool', retcode=2) + 262 api.step_data('run translation_unit clang tool', retcode=2) +
263 api.properties.generic(buildername='ChromiumOS Codesearch', 263 api.properties.generic(buildername='ChromiumOS Codesearch',
264 mastername='chromium.infra.cron') 264 mastername='chromium.infra.cron')
265 ) 265 )
OLDNEW
« no previous file with comments | « scripts/slave/recipes/chromium.chromedriver.recipe_autogen.py ('k') | scripts/slave/recipes/client.drmemory.recipe_autogen.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698