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

Unified Diff: pnacl/driver/driver_tools.py

Issue 12459004: Adjust pnacl-translate sbtc flag override mechanism to append. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: do cpu check Created 7 years, 9 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 | « SConstruct ('k') | pnacl/driver/pnacl-translate.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pnacl/driver/driver_tools.py
diff --git a/pnacl/driver/driver_tools.py b/pnacl/driver/driver_tools.py
index a05813597f3be114af5cc5b0f34f6464b03a70d1..8a1b16b11c485ee37bc4d04cec65727641863dcf 100755
--- a/pnacl/driver/driver_tools.py
+++ b/pnacl/driver/driver_tools.py
@@ -1074,7 +1074,11 @@ def ArchMerge(filename, must_match):
def CheckTranslatorPrerequisites():
""" Assert that the scons artifacts for running the sandboxed translator
exist: sel_universal, and sel_ldr. """
- for var in ['SEL_UNIVERSAL', 'SEL_LDR', 'BOOTSTRAP_LDR']:
+ reqs = ['SEL_UNIVERSAL', 'SEL_LDR']
+ # Linux also requires the nacl bootstrap helper.
+ if GetBuildOS() == 'linux':
+ reqs.append('BOOTSTRAP_LDR')
+ for var in reqs:
needed_file = env.getone(var)
if not pathtools.exists(needed_file):
Log.Fatal('Could not find %s [%s]', var, needed_file)
« no previous file with comments | « SConstruct ('k') | pnacl/driver/pnacl-translate.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698