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

Unified Diff: pydir/szbuild.py

Issue 1777103002: Eliminate all uses of 'le32-nacl-objcopy'. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 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 | « pydir/run-pnacl-sz.py ('k') | pydir/utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pydir/szbuild.py
diff --git a/pydir/szbuild.py b/pydir/szbuild.py
index 36112dad2fdf9e50b78c2008d21a11ae88e0aeb6..558db48db863f6324c491d87845efdcc74a0bd1c 100755
--- a/pydir/szbuild.py
+++ b/pydir/szbuild.py
@@ -6,7 +6,7 @@ import pipes
import re
import sys
-from utils import shellcmd, FindBaseNaCl, get_sfi_string
+from utils import FindBaseNaCl, GetObjcopyCmd, get_sfi_string, shellcmd
def NewerThanOrNotThere(old_path, new_path):
"""Returns whether old_path is newer than new_path.
@@ -293,7 +293,8 @@ def ProcessPexe(args, pexe, exe):
).format(root=nacl_root)
llcbin = '{base}/pnacl-llc'.format(base=path_addition)
gold = '{base}/le32-nacl-ld.gold'.format(base=path_addition)
- objcopy = '{base}/le32-nacl-objcopy'.format(base=path_addition)
+ objcopy = '{base}/{objcopy}'.format(base=path_addition,
+ objcopy=GetObjcopyCmd())
opt_level = args.optlevel
opt_level_map = { 'm1':'0', '-1':'0', '0':'0', '1':'1', '2':'2' }
hybrid = args.include or args.exclude
« no previous file with comments | « pydir/run-pnacl-sz.py ('k') | pydir/utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698