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

Side by Side Diff: ppapi/native_client/irt_debuglink.py

Issue 1415293005: GN: Strip NaCl IRT and save its .debug file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use bespoke action script Created 5 years, 1 month 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
« no previous file with comments | « ppapi/native_client/BUILD.gn ('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')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright (c) 2015 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 """Run objcopy --add-gnu-debuglink for the NaCl IRT.
7 """
8
9 import subprocess
10 import sys
11
12
13 def Main(args):
14 objcopy, debug_file, stripped_file, output_file = args
15 return subprocess.call([
16 objcopy, '--add-gnu-debuglink', debug_file, stripped_file, output_file
17 ])
18
19
20 if __name__ == '__main__':
21 sys.exit(Main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « ppapi/native_client/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698