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/dart/dart_vm.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, 4 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 'recipe_engine/path', 9 'recipe_engine/path',
10 'recipe_engine/platform', 10 'recipe_engine/platform',
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 'mode': mode, 117 'mode': mode,
118 'target_arch': 'x64', 118 'target_arch': 'x64',
119 'env': default_envs['linux'], 119 'env': default_envs['linux'],
120 'checked': True, 120 'checked': True,
121 'test_args': ['--hot-reload-rollback', 121 'test_args': ['--hot-reload-rollback',
122 '--builder-tag=no_ipv6'], 122 '--builder-tag=no_ipv6'],
123 } 123 }
124 124
125 125
126 def RunSteps(api): 126 def RunSteps(api):
127 api.gclient.set_config('dart') 127 api.gclient.set_config('dart', GIT_MODE=True)
128 api.path.c.dynamic_paths['tools'] = None 128 api.path.c.dynamic_paths['tools'] = None
129 api.bot_update.ensure_checkout(force=True) 129 api.bot_update.ensure_checkout(force=True)
130 api.path['tools'] = api.path['checkout'].join('tools') 130 api.path['tools'] = api.path['checkout'].join('tools')
131 buildername = str(api.properties.get('buildername')) # Convert from unicode. 131 buildername = str(api.properties.get('buildername')) # Convert from unicode.
132 (buildername, _, channel) = buildername.rpartition('-') 132 (buildername, _, channel) = buildername.rpartition('-')
133 assert channel in ['be', 'dev', 'stable', 'integration'] 133 assert channel in ['be', 'dev', 'stable', 'integration']
134 b = builders[buildername] 134 b = builders[buildername]
135 135
136 if b.get('clobber', False): 136 if b.get('clobber', False):
137 api.python('clobber', 137 api.python('clobber',
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 184
185 def GenTests(api): 185 def GenTests(api):
186 yield ( 186 yield (
187 api.test('vm-linux-release-x64-asan-be') + api.platform('linux', 64) + 187 api.test('vm-linux-release-x64-asan-be') + api.platform('linux', 64) +
188 api.properties.generic(mastername='client.dart', 188 api.properties.generic(mastername='client.dart',
189 buildername='vm-linux-release-x64-asan-be')) 189 buildername='vm-linux-release-x64-asan-be'))
190 yield ( 190 yield (
191 api.test('test-coverage') + api.platform('linux', 32) + 191 api.test('test-coverage') + api.platform('linux', 32) +
192 api.properties.generic(mastername='client.dart', 192 api.properties.generic(mastername='client.dart',
193 buildername='test-coverage-be')) 193 buildername='test-coverage-be'))
OLDNEW
« no previous file with comments | « scripts/slave/recipes/dart/dart_cross_tester.py ('k') | scripts/slave/recipes/dart/dartium_build.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698