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

Unified Diff: pydir/build-runtime.py

Issue 983533003: Use the installed/downloaded objdump instead of work-dir one. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: slash Created 5 years, 10 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/build-runtime.py
diff --git a/pydir/build-runtime.py b/pydir/build-runtime.py
index 31eb8d2ddc0a74b426adcf665b3fe0e282765850..81c8ee2929ff991f756e7bb1c810e68097bb5be9 100755
--- a/pydir/build-runtime.py
+++ b/pydir/build-runtime.py
@@ -37,12 +37,12 @@ def main():
argparser.add_argument('--verbose', '-v', dest='verbose',
action='store_true',
help='Display some extra debugging output')
+ argparser.add_argument('--pnacl-root', dest='pnacl_root',
+ help='Path to PNaCl toolchain binaries.')
args = argparser.parse_args()
nacl_root = FindBaseNaCl()
- os.environ['PATH'] = (
- '{root}/toolchain/linux_x86/pnacl_newlib/bin{sep}' +
- '{path}'
- ).format(root=nacl_root, sep=os.pathsep, path=os.environ['PATH'])
+ os.environ['PATH'] = ('{root}/bin{sep}{path}'
+ ).format(root=args.pnacl_root, sep=os.pathsep, path=os.environ['PATH'])
srcdir = (
'{root}/toolchain_build/src/subzero/runtime'
).format(root=nacl_root)
« Makefile.standalone ('K') | « Makefile.standalone ('k') | pydir/run-pnacl-sz.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698