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

Unified Diff: build/build_nexe.py

Issue 24227003: [MIPS] Add support to gyp files to build Native Client inside of Chromium (Closed) Base URL: http://git.chromium.org/native_client/src/native_client.git@master
Patch Set: Created 7 years, 3 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 | « build/all.gyp ('k') | build/common.gypi » ('j') | build/common.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/build_nexe.py
diff --git a/build/build_nexe.py b/build/build_nexe.py
index add87ad6df57fd26510e4eb27ebb2756e6f1b560..8bb0c2ad1d6be984cc694e2f0298d9fcb1aa3b90 100644
--- a/build/build_nexe.py
+++ b/build/build_nexe.py
@@ -169,6 +169,8 @@ class Builder(object):
self.subarch = ''
self.tool_prefix = 'arm-nacl-'
mainarch = 'arm'
+ elif arch == 'mips':
+ self.is_pnacl_toolchain = True
elif arch == 'pnacl':
self.subarch = ''
self.is_pnacl_toolchain = True
@@ -181,6 +183,9 @@ class Builder(object):
if arch == 'arm' and toolname == 'glibc':
raise Error('arm glibc not yet supported.')
+ if arch == 'mips' and toolname == 'glibc':
+ ErrOut('mips glibc not supported.')
Mark Seaborn 2013/09/20 23:11:17 The surrounding code uses "raise Error"
petarj 2013/09/23 17:49:24 Done.
+
if arch == 'pnacl' and toolname == 'glibc':
raise Error('pnacl glibc not yet supported.')
« no previous file with comments | « build/all.gyp ('k') | build/common.gypi » ('j') | build/common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698