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

Unified Diff: tools/build.py

Issue 2858623002: Remove MIPS support (Closed)
Patch Set: Merge and cleanup Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/tcmalloc/README.dart ('k') | tools/gardening/lib/src/buildbot_data.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/build.py
diff --git a/tools/build.py b/tools/build.py
index fe971d360badc0dc2a61cdcac7f6052c65766ec5..0c780f370767c205db3f13a90d9dc04fe56cf2bb 100755
--- a/tools/build.py
+++ b/tools/build.py
@@ -63,7 +63,7 @@ def BuildOptions():
result.add_option("-a", "--arch",
help='Target architectures (comma-separated).',
metavar='[all,ia32,x64,simarm,arm,simarmv6,armv6,simarmv5te,armv5te,'
- 'simmips,mips,simarm64,arm64,simdbc,armsimdbc]',
+ 'simarm64,arm64,simdbc,armsimdbc]',
default=utils.GuessArchitecture())
result.add_option("--os",
help='Target OSs (comma-separated).',
@@ -117,7 +117,7 @@ def ProcessOptions(options, args):
return False
for arch in options.arch:
archs = ['ia32', 'x64', 'simarm', 'arm', 'simarmv6', 'armv6',
- 'simarmv5te', 'armv5te', 'simmips', 'mips', 'simarm64', 'arm64',
+ 'simarmv5te', 'armv5te', 'simarm64', 'arm64',
'simdbc', 'simdbc64', 'armsimdbc', 'armsimdbc64']
if not arch in archs:
print "Unknown arch %s" % arch
@@ -135,7 +135,7 @@ def ProcessOptions(options, args):
print ("Cross-compilation to %s is not supported on host os %s."
% (os_name, HOST_OS))
return False
- if not arch in ['ia32', 'x64', 'arm', 'armv6', 'armv5te', 'arm64', 'mips',
+ if not arch in ['ia32', 'x64', 'arm', 'armv6', 'armv5te', 'arm64',
'simdbc', 'simdbc64']:
print ("Cross-compilation to %s is not supported for architecture %s."
% (os_name, arch))
@@ -175,8 +175,6 @@ def GetToolchainPrefix(target_os, arch, options):
if arch == 'arm64':
return (DEFAULT_ARM_CROSS_COMPILER_PATH + "/aarch64-linux-gnu")
- # TODO(zra): Find default MIPS Linux cross-compiler.
-
return None
@@ -484,13 +482,6 @@ def BuildNinjaCommand(options, target, target_os, mode, arch):
filter_xcodebuild_output = False
def BuildOneConfig(options, target, target_os, mode, arch):
global filter_xcodebuild_output
- if arch.startswith('mips'):
- bold = '\033[1m'
- reset = '\033[0m'
- print(bold + "Warning: MIPS architectures are unlikely to be supported in "
- "upcoming releases. Please consider using another architecture "
- "and/or file an issue explaining your specific use of and need for "
- "MIPS support." + reset)
start_time = time.time()
args = []
build_config = utils.GetBuildConf(mode, arch, target_os)
« no previous file with comments | « third_party/tcmalloc/README.dart ('k') | tools/gardening/lib/src/buildbot_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698