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

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
Index: pydir/szbuild.py
diff --git a/pydir/szbuild.py b/pydir/szbuild.py
index 36112dad2fdf9e50b78c2008d21a11ae88e0aeb6..85342a7b09107f5355cfcb88056f019f25a107df 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 GetObjcopyCmd, shellcmd, FindBaseNaCl, get_sfi_string
def NewerThanOrNotThere(old_path, new_path):
"""Returns whether old_path is newer than new_path.
@@ -293,7 +293,7 @@ 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}/' + GetObjcopyCmd()).format(base=path_addition)
Jim Stichnoth 2016/03/09 22:41:13 '{base}/{objcopy}'.format(base=path_addition, objc
Sean Klein 2016/03/09 22:59:22 Done.
opt_level = args.optlevel
opt_level_map = { 'm1':'0', '-1':'0', '0':'0', '1':'1', '2':'2' }
hybrid = args.include or args.exclude

Powered by Google App Engine
This is Rietveld 408576698