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

Side by Side Diff: dart/editor/build/build.py

Issue 84963005: Add update.properties file to com.google.dart.tools.core_*.jar file (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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 | dart/editor/tools/features/com.google.dart.tools.deploy.feature_releng/build_rcp.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 6
7 import glob 7 import glob
8 import gsutil 8 import gsutil
9 import imp 9 import imp
10 import optparse 10 import optparse
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 args.append('-Dbuild.running.headless=true') 203 args.append('-Dbuild.running.headless=true')
204 if sdk_zip: 204 if sdk_zip:
205 args.append('-Dbuild.dart.sdk.zip={0}'.format(sdk_zip)) 205 args.append('-Dbuild.dart.sdk.zip={0}'.format(sdk_zip))
206 if extra_artifacts: 206 if extra_artifacts:
207 args.append('-Dbuild.extra.artifacts={0}'.format(extra_artifacts)) 207 args.append('-Dbuild.extra.artifacts={0}'.format(extra_artifacts))
208 if is_windows: 208 if is_windows:
209 args.append('-autoproxy') 209 args.append('-autoproxy')
210 if extra_args: 210 if extra_args:
211 args.extend(extra_args) 211 args.extend(extra_args)
212 args.append('-Dbuild.local.build=false') 212 args.append('-Dbuild.local.build=false')
213 args.append('-Dbuild.channel=' + CHANNEL)
213 214
214 extra_args = os.environ.get('ANT_EXTRA_ARGS') 215 extra_args = os.environ.get('ANT_EXTRA_ARGS')
215 if extra_args is not None: 216 if extra_args is not None:
216 parsed_extra = extra_args.split() 217 parsed_extra = extra_args.split()
217 for arg in parsed_extra: 218 for arg in parsed_extra:
218 args.append(arg) 219 args.append(arg)
219 220
220 print ' '.join(args) 221 print ' '.join(args)
221 status = subprocess.call(args, shell=is_windows) 222 status = subprocess.call(args, shell=is_windows)
222 os.chdir(cwd) 223 os.chdir(cwd)
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 def FileDelete(f): 1247 def FileDelete(f):
1247 """delete the given file - do not re-throw any exceptions that occur""" 1248 """delete the given file - do not re-throw any exceptions that occur"""
1248 if os.path.exists(f): 1249 if os.path.exists(f):
1249 try: 1250 try:
1250 os.remove(f) 1251 os.remove(f)
1251 except OSError: 1252 except OSError:
1252 print 'error deleting %s' % f 1253 print 'error deleting %s' % f
1253 1254
1254 if __name__ == '__main__': 1255 if __name__ == '__main__':
1255 sys.exit(main()) 1256 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | dart/editor/tools/features/com.google.dart.tools.deploy.feature_releng/build_rcp.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698