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

Side by Side Diff: components/crash/content/tools/dmp2minidump.py

Issue 1315303004: Turn components/crash into a layered component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2013 The Chromium Authors. All rights reserved. 2 # Copyright 2013 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 """A tool to extract minidumps from dmp crash dumps.""" 6 """A tool to extract minidumps from dmp crash dumps."""
7 7
8 import os 8 import os
9 import sys 9 import sys
10 from cgi import parse_multipart 10 from cgi import parse_multipart
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 print 'Usage: %s [dmp file] [minidump]' % sys.argv[0] 42 print 'Usage: %s [dmp file] [minidump]' % sys.argv[0]
43 print '' 43 print ''
44 print 'Extracts the minidump stored in the crash dump file' 44 print 'Extracts the minidump stored in the crash dump file'
45 return 1 45 return 1
46 46
47 ProcessDump(sys.argv[1], sys.argv[2]) 47 ProcessDump(sys.argv[1], sys.argv[2])
48 48
49 49
50 if '__main__' == __name__: 50 if '__main__' == __name__:
51 sys.exit(main()) 51 sys.exit(main())
OLDNEW
« no previous file with comments | « components/crash/content/tools/crash_service.cc ('k') | components/crash/content/tools/generate_breakpad_symbols.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698