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

Side by Side Diff: tools/build.py

Issue 2861903002: Revert "[infra] Roll clang to match the version used by Flutter" (Closed)
Patch Set: Created 3 years, 7 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 | « tools/android/download_android_tools.py ('k') | tools/buildtools/linux64/clang-format » ('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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 return False 124 return False
125 options.os = [ProcessOsOption(os_name) for os_name in options.os] 125 options.os = [ProcessOsOption(os_name) for os_name in options.os]
126 for os_name in options.os: 126 for os_name in options.os:
127 if not os_name in ['android', 'freebsd', 'linux', 'macos', 'win32']: 127 if not os_name in ['android', 'freebsd', 'linux', 'macos', 'win32']:
128 print "Unknown os %s" % os_name 128 print "Unknown os %s" % os_name
129 return False 129 return False
130 if os_name != HOST_OS: 130 if os_name != HOST_OS:
131 if os_name != 'android': 131 if os_name != 'android':
132 print "Unsupported target os %s" % os_name 132 print "Unsupported target os %s" % os_name
133 return False 133 return False
134 if not HOST_OS in ['linux', 'macos']: 134 if not HOST_OS in ['linux']:
135 print ("Cross-compilation to %s is not supported on host os %s." 135 print ("Cross-compilation to %s is not supported on host os %s."
136 % (os_name, HOST_OS)) 136 % (os_name, HOST_OS))
137 return False 137 return False
138 if not arch in ['ia32', 'x64', 'arm', 'armv6', 'armv5te', 'arm64', 'mips', 138 if not arch in ['ia32', 'x64', 'arm', 'armv6', 'armv5te', 'arm64', 'mips',
139 'simdbc', 'simdbc64']: 139 'simdbc', 'simdbc64']:
140 print ("Cross-compilation to %s is not supported for architecture %s." 140 print ("Cross-compilation to %s is not supported for architecture %s."
141 % (os_name, arch)) 141 % (os_name, arch))
142 return False 142 return False
143 # We have not yet tweaked the v8 dart build to work with the Android 143 # We have not yet tweaked the v8 dart build to work with the Android
144 # NDK/SDK, so don't try to build it. 144 # NDK/SDK, so don't try to build it.
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 else: 649 else:
650 if BuildOneConfig(options, target, target_os, 650 if BuildOneConfig(options, target, target_os,
651 mode, arch, cross_build) != 0: 651 mode, arch, cross_build) != 0:
652 return 1 652 return 1
653 653
654 return 0 654 return 0
655 655
656 656
657 if __name__ == '__main__': 657 if __name__ == '__main__':
658 sys.exit(Main()) 658 sys.exit(Main())
OLDNEW
« no previous file with comments | « tools/android/download_android_tools.py ('k') | tools/buildtools/linux64/clang-format » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698