| OLD | NEW |
| 1 # Copyright (C) 2013 Google Inc. All rights reserved. | 1 # Copyright (C) 2013 Google Inc. All rights reserved. |
| 2 # | 2 # |
| 3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
| 4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
| 5 # met: | 5 # met: |
| 6 # | 6 # |
| 7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
| 8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
| 9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
| 10 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 _log.error(' Did you build the target blink_tests?') | 110 _log.error(' Did you build the target blink_tests?') |
| 111 _log.error('') | 111 _log.error('') |
| 112 | 112 |
| 113 self._breakpad_tools_available = result | 113 self._breakpad_tools_available = result |
| 114 return self._breakpad_tools_available | 114 return self._breakpad_tools_available |
| 115 | 115 |
| 116 def _path_to_minidump_stackwalk(self): | 116 def _path_to_minidump_stackwalk(self): |
| 117 return self._host.filesystem.join(self._build_dir, "minidump_stackwalk") | 117 return self._host.filesystem.join(self._build_dir, "minidump_stackwalk") |
| 118 | 118 |
| 119 def _path_to_generate_breakpad_symbols(self): | 119 def _path_to_generate_breakpad_symbols(self): |
| 120 return self._webkit_finder.path_from_chromium_base("components", "breakp
ad", "tools", "generate_breakpad_symbols.py") | 120 return self._webkit_finder.path_from_chromium_base("components", "crash"
, "tools", "generate_breakpad_symbols.py") |
| 121 | 121 |
| 122 def _symbols_dir(self): | 122 def _symbols_dir(self): |
| 123 return self._host.filesystem.join(self._build_dir, 'content_shell.syms') | 123 return self._host.filesystem.join(self._build_dir, 'content_shell.syms') |
| 124 | 124 |
| 125 def _generate_breakpad_symbols_if_necessary(self): | 125 def _generate_breakpad_symbols_if_necessary(self): |
| 126 if self._generated_symbols: | 126 if self._generated_symbols: |
| 127 return | 127 return |
| 128 self._generated_symbols = True | 128 self._generated_symbols = True |
| 129 | 129 |
| 130 _log.debug("Generating breakpad symbols") | 130 _log.debug("Generating breakpad symbols") |
| (...skipping 28 matching lines...) Expand all Loading... |
| 159 | 159 |
| 160 | 160 |
| 161 class DumpReaderAndroid(DumpReaderMultipart): | 161 class DumpReaderAndroid(DumpReaderMultipart): |
| 162 """Android breakpad dump reader.""" | 162 """Android breakpad dump reader.""" |
| 163 | 163 |
| 164 def _binaries_to_symbolize(self): | 164 def _binaries_to_symbolize(self): |
| 165 return ['lib/libcontent_shell_content_view.so'] | 165 return ['lib/libcontent_shell_content_view.so'] |
| 166 | 166 |
| 167 def _file_extension(self): | 167 def _file_extension(self): |
| 168 return 'dmp' | 168 return 'dmp' |
| OLD | NEW |