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

Side by Side Diff: tools/build.py

Issue 2596333002: GN: Fix armsimdbc target. Add armsimdbc64 (Closed)
Patch Set: Created 3 years, 12 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
« no previous file with comments | « runtime/BUILD.gn ('k') | tools/gn.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
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 options.mode = options.mode.split(',') 107 options.mode = options.mode.split(',')
108 options.arch = options.arch.split(',') 108 options.arch = options.arch.split(',')
109 options.os = options.os.split(',') 109 options.os = options.os.split(',')
110 for mode in options.mode: 110 for mode in options.mode:
111 if not mode in ['debug', 'release', 'product']: 111 if not mode in ['debug', 'release', 'product']:
112 print "Unknown mode %s" % mode 112 print "Unknown mode %s" % mode
113 return False 113 return False
114 for arch in options.arch: 114 for arch in options.arch:
115 archs = ['ia32', 'x64', 'simarm', 'arm', 'simarmv6', 'armv6', 115 archs = ['ia32', 'x64', 'simarm', 'arm', 'simarmv6', 'armv6',
116 'simarmv5te', 'armv5te', 'simmips', 'mips', 'simarm64', 'arm64', 116 'simarmv5te', 'armv5te', 'simmips', 'mips', 'simarm64', 'arm64',
117 'simdbc', 'simdbc64', 'armsimdbc'] 117 'simdbc', 'simdbc64', 'armsimdbc', 'armsimdbc64']
118 if not arch in archs: 118 if not arch in archs:
119 print "Unknown arch %s" % arch 119 print "Unknown arch %s" % arch
120 return False 120 return False
121 options.os = [ProcessOsOption(os_name) for os_name in options.os] 121 options.os = [ProcessOsOption(os_name) for os_name in options.os]
122 for os_name in options.os: 122 for os_name in options.os:
123 if not os_name in ['android', 'freebsd', 'linux', 'macos', 'win32']: 123 if not os_name in ['android', 'freebsd', 'linux', 'macos', 'win32']:
124 print "Unknown os %s" % os_name 124 print "Unknown os %s" % os_name
125 return False 125 return False
126 if os_name != HOST_OS: 126 if os_name != HOST_OS:
127 if os_name != 'android': 127 if os_name != 'android':
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 else: 609 else:
610 if BuildOneConfig(options, target, target_os, 610 if BuildOneConfig(options, target, target_os,
611 mode, arch, cross_build) != 0: 611 mode, arch, cross_build) != 0:
612 return 1 612 return 1
613 613
614 return 0 614 return 0
615 615
616 616
617 if __name__ == '__main__': 617 if __name__ == '__main__':
618 sys.exit(Main()) 618 sys.exit(Main())
OLDNEW
« no previous file with comments | « runtime/BUILD.gn ('k') | tools/gn.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698