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

Side by Side Diff: scripts/slave/recipes/dart/dart2js_nobuild.py

Issue 2273913002: Make dart recipes explicitly set GIT_MODE (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 DEPS = [ 5 DEPS = [
6 'depot_tools/bot_update', 6 'depot_tools/bot_update',
7 'file', 7 'file',
8 'depot_tools/gclient', 8 'depot_tools/gclient',
9 'gsutil', 9 'gsutil',
10 'recipe_engine/path', 10 'recipe_engine/path',
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 shard = int(builder_fragments[-3]) 83 shard = int(builder_fragments[-3])
84 sharded = True 84 sharded = True
85 options_end = - 3 85 options_end = - 3
86 except ValueError: 86 except ValueError:
87 sharded = False 87 sharded = False
88 options_end = - 1 88 options_end = - 1
89 options = builder_fragments[3:options_end] 89 options = builder_fragments[3:options_end]
90 for option in options: 90 for option in options:
91 assert all_options.has_key(option) 91 assert all_options.has_key(option)
92 92
93 api.gclient.set_config('dart') 93 api.gclient.set_config('dart', GIT_MODE=True)
94 api.path.c.dynamic_paths['tools'] = None 94 api.path.c.dynamic_paths['tools'] = None
95 api.bot_update.ensure_checkout(force=True) 95 api.bot_update.ensure_checkout(force=True)
96 api.path['tools'] = api.path['checkout'].join('tools') 96 api.path['tools'] = api.path['checkout'].join('tools')
97 revision = api.properties['revision'] 97 revision = api.properties['revision']
98 98
99 api.gclient.runhooks() 99 api.gclient.runhooks()
100 100
101 with api.step.defer_results(): 101 with api.step.defer_results():
102 api.python('taskkill before building', 102 api.python('taskkill before building',
103 api.path['checkout'].join('tools', 'task_kill.py'), 103 api.path['checkout'].join('tools', 'task_kill.py'),
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 api.properties.generic( 217 api.properties.generic(
218 mastername='client.dart', 218 mastername='client.dart',
219 buildername='dart2js-linux-drt-93-105-dev', 219 buildername='dart2js-linux-drt-93-105-dev',
220 revision='hash_of_revision')) 220 revision='hash_of_revision'))
221 yield ( 221 yield (
222 api.test('dart2js-mac10.11-safari-1-3-be') + api.platform('mac', 64) + 222 api.test('dart2js-mac10.11-safari-1-3-be') + api.platform('mac', 64) +
223 api.properties.generic( 223 api.properties.generic(
224 mastername='client.dart', 224 mastername='client.dart',
225 buildername='dart2js-mac10.11-safari-1-3-be', 225 buildername='dart2js-mac10.11-safari-1-3-be',
226 revision='hash_of_revision')) 226 revision='hash_of_revision'))
OLDNEW
« no previous file with comments | « scripts/slave/recipes/dart/dart2js.py ('k') | scripts/slave/recipes/dart/dart_cross_compiler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698