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

Side by Side Diff: build/mac/strip_save_dsym

Issue 27593003: Don't hard-code python path. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix upload Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | 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
1 #!/usr/bin/python 1 #!/usr/bin/env python
2 2
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Usage: strip_save_dsym <whatever-arguments-you-would-pass-to-strip> 7 # Usage: strip_save_dsym <whatever-arguments-you-would-pass-to-strip>
8 # 8 #
9 # strip_save_dsym is a wrapper around the standard strip utility. Given an 9 # strip_save_dsym is a wrapper around the standard strip utility. Given an
10 # input Mach-O file, strip_save_dsym will save a copy of the file in a "fake" 10 # input Mach-O file, strip_save_dsym will save a copy of the file in a "fake"
11 # .dSYM bundle for debugging, and then call strip to strip the Mach-O file. 11 # .dSYM bundle for debugging, and then call strip to strip the Mach-O file.
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 print >> sys.stderr, "Nothing to strip" 326 print >> sys.stderr, "Nothing to strip"
327 return 1 327 return 1
328 328
329 if not strip_and_make_fake_dsym(macho): 329 if not strip_and_make_fake_dsym(macho):
330 return 1 330 return 1
331 331
332 return 0 332 return 0
333 333
334 if __name__ == "__main__": 334 if __name__ == "__main__":
335 sys.exit(main(sys.argv)) 335 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698