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

Side by Side Diff: chrome/nacl/nacl_helper_bootstrap_munge_phdr.py

Issue 8811002: Revert 113074 - Use nacl_helper_bootstrap from native_client repository (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/nacl/nacl_helper_bootstrap_munge_phdr.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """This takes three command-line arguments: 6 """This takes three command-line arguments:
7 MUNGE-PHDR-PROGRAM file name of program built from 7 MUNGE-PHDR-PROGRAM file name of program built from
8 nacl_helper_bootstrap_munge_phdr.c 8 nacl_helper_bootstrap_munge_phdr.c
9 INFILE raw linked ELF file name 9 INFILE raw linked ELF file name
10 OUTFILE output file name 10 OUTFILE output file name
(...skipping 19 matching lines...) Expand all
30 tmpfile = outfile + '.tmp' 30 tmpfile = outfile + '.tmp'
31 shutil.copy(infile, tmpfile) 31 shutil.copy(infile, tmpfile)
32 segment_num = '2' 32 segment_num = '2'
33 subprocess.check_call([munger, tmpfile, segment_num]) 33 subprocess.check_call([munger, tmpfile, segment_num])
34 shutil.move(tmpfile, outfile) 34 shutil.move(tmpfile, outfile)
35 return 0 35 return 0
36 36
37 37
38 if __name__ == '__main__': 38 if __name__ == '__main__':
39 sys.exit(Main(sys.argv)) 39 sys.exit(Main(sys.argv))
OLDNEW
« no previous file with comments | « chrome/nacl/nacl_helper_bootstrap_munge_phdr.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698