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

Unified Diff: site_scons/site_tools/library_deps.py

Issue 10919162: [MIPS] Implementation of sel_ldr for MIPS architecture. (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 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
Index: site_scons/site_tools/library_deps.py
diff --git a/site_scons/site_tools/library_deps.py b/site_scons/site_tools/library_deps.py
index 99d984073b81519b7d8d498293d519f4a74c7618..f6bb95aedea155a87775c0f76c57faaf14b1d49f 100644
--- a/site_scons/site_tools/library_deps.py
+++ b/site_scons/site_tools/library_deps.py
@@ -182,6 +182,14 @@ PLATFORM_LIBRARY_DEPENDENCIES = {
'arm_validator_core',
],
},
+ 'mips32': {
+ 'ncvalidate_mips': [
+ 'mips_validator_core',
+ ],
+ 'validators': [
+ 'ncvalidate_mips',
+ ],
+ },
}
@@ -213,7 +221,8 @@ def AddLibDeps(env, platform, libraries):
PLATFORM_LIBRARY_DEPENDENCIES.get(platform, {}).get(library, []))
if env['NACL_BUILD_FAMILY'] != 'TRUSTED':
ret.extend(UNTRUSTED_LIBRARY_DEPENDENCIES.get(library, []))
- if library == 'validators' and not env.Bit('target_arm'):
+ if library == 'validators' and not (env.Bit('target_arm') or
Mark Seaborn 2012/09/08 02:43:14 Just change this to if library == 'validators' a
petarj 2012/09/11 16:58:13 Done.
+ env.Bit('target_mips32')):
if env.Bit('validator_ragel'):
ret.append(env.NaClTargetArchSuffix('dfa_validate_caller'))
else:

Powered by Google App Engine
This is Rietveld 408576698