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

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

Issue 2231403002: Allow Dart package.stamp file to be missing in dart2js_nobuild recipe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 build_dir = api.path['checkout'].join(build_directories[api.platform.name]) 110 build_dir = api.path['checkout'].join(build_directories[api.platform.name])
111 build_dir = api.path.abspath(build_dir) 111 build_dir = api.path.abspath(build_dir)
112 api.file.makedirs('Create build directory', build_dir) 112 api.file.makedirs('Create build directory', build_dir)
113 api.file.rmtree('Clean build directory', build_dir) 113 api.file.rmtree('Clean build directory', build_dir)
114 api.zip.unzip('Unzip sdk', zipfile, build_dir) 114 api.zip.unzip('Unzip sdk', zipfile, build_dir)
115 115
116 # Build only the package links. Once we remove this target, build nothing. 116 # Build only the package links. Once we remove this target, build nothing.
117 if api.platform.name == 'mac': 117 if api.platform.name == 'mac':
118 api.file.remove('Mark package links as out-of-date', 118 api.file.remove('Mark package links as out-of-date',
119 api.path.abspath(api.path['checkout'].join( 119 api.path.abspath(api.path['checkout'].join(
120 'xcodebuild', 'DerivedSources', 'ReleaseX64', 'packages.stamp'))) 120 'xcodebuild', 'DerivedSources', 'ReleaseX64', 'packages.stamp')),
121 ok_ret='any')
121 build_args = ['-mrelease', '--arch=x64', 'packages'] 122 build_args = ['-mrelease', '--arch=x64', 'packages']
122 api.python('build dart', 123 api.python('build dart',
123 api.path['checkout'].join('tools', 'build.py'), 124 api.path['checkout'].join('tools', 'build.py'),
124 args=build_args, 125 args=build_args,
125 cwd=api.path['checkout']) 126 cwd=api.path['checkout'])
126 127
127 with api.step.defer_results(): 128 with api.step.defer_results():
128 # Special hard-coded steps with compiler=none, run on selected runtimes 129 # Special hard-coded steps with compiler=none, run on selected runtimes
129 if runtime == 'jsshell' and system == 'linux' and sharded: 130 if runtime == 'jsshell' and system == 'linux' and sharded:
130 IsFirstTestStep = False 131 IsFirstTestStep = False
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 api.properties.generic( 217 api.properties.generic(
217 mastername='client.dart', 218 mastername='client.dart',
218 buildername='dart2js-linux-drt-93-105-dev', 219 buildername='dart2js-linux-drt-93-105-dev',
219 revision='hash_of_revision')) 220 revision='hash_of_revision'))
220 yield ( 221 yield (
221 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) +
222 api.properties.generic( 223 api.properties.generic(
223 mastername='client.dart', 224 mastername='client.dart',
224 buildername='dart2js-mac10.11-safari-1-3-be', 225 buildername='dart2js-mac10.11-safari-1-3-be',
225 revision='hash_of_revision')) 226 revision='hash_of_revision'))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698