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

Side by Side Diff: tools/build.py

Issue 396123003: Allows building debian packages for ARM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | tools/create_debian_packages.py » ('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) 2012, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2012, 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 7
8 import optparse 8 import optparse
9 import os 9 import os
10 import re 10 import re
11 import shutil
11 import subprocess 12 import subprocess
12 import sys 13 import sys
13 import time 14 import time
14 import utils 15 import utils
15 16
16 HOST_OS = utils.GuessOS() 17 HOST_OS = utils.GuessOS()
17 HOST_ARCH = utils.GuessArchitecture() 18 HOST_ARCH = utils.GuessArchitecture()
18 HOST_CPUS = utils.GuessCpus() 19 HOST_CPUS = utils.GuessCpus()
19 SCRIPT_DIR = os.path.dirname(sys.argv[0]) 20 SCRIPT_DIR = os.path.dirname(sys.argv[0])
20 DART_ROOT = os.path.realpath(os.path.join(SCRIPT_DIR, '..')) 21 DART_ROOT = os.path.realpath(os.path.join(SCRIPT_DIR, '..'))
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 else: 535 else:
535 if BuildOneConfig(options, target, target_os, 536 if BuildOneConfig(options, target, target_os,
536 mode, arch, cross_build) != 0: 537 mode, arch, cross_build) != 0:
537 return 1 538 return 1
538 539
539 return 0 540 return 0
540 541
541 542
542 if __name__ == '__main__': 543 if __name__ == '__main__':
543 sys.exit(Main()) 544 sys.exit(Main())
OLDNEW
« no previous file with comments | « no previous file | tools/create_debian_packages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698