Index: chrome/strip_nacl_irt.py |
=================================================================== |
--- chrome/strip_nacl_irt.py (revision 109772) |
+++ chrome/strip_nacl_irt.py (working copy) |
@@ -40,14 +40,16 @@ |
}.get(sys.platform, 'linux') |
if platform in ['arm', 'arm-thumb2']: |
cmd = [ |
- '../native_client/toolchain/pnacl_linux_x86_64_newlib/bin/' + |
- platform2 + '-strip', |
+ os.path.join(SRC_DIR, 'native_client', 'toolchain', |
+ 'pnacl_linux_x86_64_newlib', 'bin', |
+ platform2 + '-strip'), |
Ryan Sleevi
2011/11/12 04:29:46
nit: Alignment (this by two spaces, previous line
|
'--strip-debug', src, '-o', dst |
] |
else: |
cmd = [ |
- '../native_client/toolchain/' + cplatform + '_x86_newlib/bin/' + |
- platform2 + '-nacl-strip', |
+ os.path.join(SRC_DIR, 'native_client', 'toolchain', |
+ cplatform + '_x86_newlib', 'bin', |
+ platform2 + '-nacl-strip'), |
'--strip-debug', src, '-o', dst |
] |
print 'Running: ' + ' '.join(cmd) |