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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 _log.error(' Did you build the target blink_tests?') | 112 _log.error(' Did you build the target blink_tests?') |
113 _log.error('') | 113 _log.error('') |
114 | 114 |
115 self._breakpad_tools_available = result | 115 self._breakpad_tools_available = result |
116 return self._breakpad_tools_available | 116 return self._breakpad_tools_available |
117 | 117 |
118 def _path_to_minidump_stackwalk(self): | 118 def _path_to_minidump_stackwalk(self): |
119 return self._host.filesystem.join(self._build_dir, "minidump_stackwalk") | 119 return self._host.filesystem.join(self._build_dir, "minidump_stackwalk") |
120 | 120 |
121 def _path_to_generate_breakpad_symbols(self): | 121 def _path_to_generate_breakpad_symbols(self): |
122 return self._webkit_finder.path_from_chromium_base("components", "crash"
, "tools", "generate_breakpad_symbols.py") | 122 return self._webkit_finder.path_from_chromium_base("components", "crash"
, "content", "tools", "generate_breakpad_symbols.py") |
123 | 123 |
124 def _symbols_dir(self): | 124 def _symbols_dir(self): |
125 return self._host.filesystem.join(self._build_dir, 'content_shell.syms') | 125 return self._host.filesystem.join(self._build_dir, 'content_shell.syms') |
126 | 126 |
127 def _generate_breakpad_symbols_if_necessary(self): | 127 def _generate_breakpad_symbols_if_necessary(self): |
128 if self._generated_symbols: | 128 if self._generated_symbols: |
129 return | 129 return |
130 self._generated_symbols = True | 130 self._generated_symbols = True |
131 | 131 |
132 _log.debug("Generating breakpad symbols") | 132 _log.debug("Generating breakpad symbols") |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 | 180 |
181 | 181 |
182 class DumpReaderAndroid(DumpReaderMultipart): | 182 class DumpReaderAndroid(DumpReaderMultipart): |
183 """Android breakpad dump reader.""" | 183 """Android breakpad dump reader.""" |
184 | 184 |
185 def _binaries_to_symbolize(self): | 185 def _binaries_to_symbolize(self): |
186 return ['lib/libcontent_shell_content_view.so'] | 186 return ['lib/libcontent_shell_content_view.so'] |
187 | 187 |
188 def _file_extension(self): | 188 def _file_extension(self): |
189 return 'dmp' | 189 return 'dmp' |
OLD | NEW |