OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 'breakpad_sender.gypi', | 7 'breakpad_sender.gypi', |
8 'breakpad_handler.gypi', | 8 'breakpad_handler.gypi', |
9 ], | 9 ], |
10 'conditions': [ | 10 'conditions': [ |
11 [ 'OS=="mac"', { | 11 [ 'OS=="mac"', { |
12 'target_defaults': { | 12 'target_defaults': { |
13 'include_dirs': [ | 13 'include_dirs': [ |
14 'src', | 14 'src', |
15 ], | 15 ], |
16 'configurations': { | 16 'configurations': { |
17 'Debug_Base': { | 17 'Debug_Base': { |
18 'defines': [ | 18 'defines': [ |
19 # This is needed for GTMLogger to work correctly. | 19 # This is needed for GTMLogger to work correctly. |
20 'DEBUG', | 20 'DEBUG', |
21 ], | 21 ], |
22 }, | 22 }, |
23 }, | 23 }, |
24 }, | 24 }, |
25 'targets': [ | 25 'targets': [ |
26 { | 26 { |
27 'target_name': 'breakpad_utilities', | 27 'target_name': 'breakpad_utilities', |
28 'type': 'static_library', | 28 'type': 'static_library', |
29 'sources': [ | 29 'sources': [ |
30 'src/common/convert_UTF.c', | |
31 'src/client/mac/handler/breakpad_nlist_64.cc', | 30 'src/client/mac/handler/breakpad_nlist_64.cc', |
32 'src/client/mac/handler/dynamic_images.cc', | 31 'src/client/mac/handler/dynamic_images.cc', |
| 32 'src/client/mac/handler/minidump_generator.cc', |
| 33 'src/client/minidump_file_writer.cc', |
| 34 'src/common/convert_UTF.c', |
| 35 'src/common/mac/MachIPC.mm', |
| 36 'src/common/mac/SimpleStringDictionary.mm', |
| 37 'src/common/mac/arch_utilities.cc', |
33 'src/common/mac/bootstrap_compat.cc', | 38 'src/common/mac/bootstrap_compat.cc', |
34 'src/common/mac/file_id.cc', | 39 'src/common/mac/file_id.cc', |
35 'src/common/mac/MachIPC.mm', | |
36 'src/common/mac/macho_id.cc', | 40 'src/common/mac/macho_id.cc', |
37 'src/common/mac/macho_utilities.cc', | 41 'src/common/mac/macho_utilities.cc', |
38 'src/common/mac/macho_walker.cc', | 42 'src/common/mac/macho_walker.cc', |
39 'src/client/minidump_file_writer.cc', | |
40 'src/client/mac/handler/minidump_generator.cc', | |
41 'src/common/mac/SimpleStringDictionary.mm', | |
42 'src/common/string_conversion.cc', | |
43 'src/common/mac/string_utilities.cc', | 43 'src/common/mac/string_utilities.cc', |
44 'src/common/md5.cc', | 44 'src/common/md5.cc', |
| 45 'src/common/string_conversion.cc', |
45 ], | 46 ], |
46 }, | 47 }, |
47 { | 48 { |
48 'target_name': 'crash_inspector', | 49 'target_name': 'crash_inspector', |
49 'type': 'executable', | 50 'type': 'executable', |
50 'variables': { | 51 'variables': { |
51 'mac_real_dsym': 1, | 52 'mac_real_dsym': 1, |
52 }, | 53 }, |
53 'dependencies': [ | 54 'dependencies': [ |
54 'breakpad_utilities', | 55 'breakpad_utilities', |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 'target_name': 'dump_syms', | 110 'target_name': 'dump_syms', |
110 'type': 'executable', | 111 'type': 'executable', |
111 'include_dirs++': [ | 112 'include_dirs++': [ |
112 # ++ ensures this comes before src brought in from target_defaults. | 113 # ++ ensures this comes before src brought in from target_defaults. |
113 'pending/src', | 114 'pending/src', |
114 ], | 115 ], |
115 'include_dirs': [ | 116 'include_dirs': [ |
116 'src/common/mac', | 117 'src/common/mac', |
117 ], | 118 ], |
118 'sources': [ | 119 'sources': [ |
| 120 'pending/src/common/dwarf_cu_to_module.cc', |
| 121 'pending/src/common/module.cc', |
| 122 'src/common/dwarf/bytereader.cc', |
| 123 'src/common/dwarf_cfi_to_module.cc', |
119 'src/common/dwarf/dwarf2diehandler.cc', | 124 'src/common/dwarf/dwarf2diehandler.cc', |
120 'src/common/dwarf/dwarf2reader.cc', | 125 'src/common/dwarf/dwarf2reader.cc', |
121 'src/common/dwarf/bytereader.cc', | |
122 'src/common/dwarf_cfi_to_module.cc', | |
123 'pending/src/common/dwarf_cu_to_module.cc', | |
124 'src/common/dwarf_line_to_module.cc', | 126 'src/common/dwarf_line_to_module.cc', |
125 'src/common/language.cc', | 127 'src/common/language.cc', |
126 'pending/src/common/module.cc', | 128 'src/common/mac/arch_utilities.cc', |
| 129 'src/common/mac/arch_utilities.h', |
127 'src/common/mac/dump_syms.mm', | 130 'src/common/mac/dump_syms.mm', |
128 'src/common/mac/file_id.cc', | 131 'src/common/mac/file_id.cc', |
129 'src/common/mac/macho_id.cc', | 132 'src/common/mac/macho_id.cc', |
130 'src/common/mac/macho_reader.cc', | 133 'src/common/mac/macho_reader.cc', |
131 'src/common/mac/macho_utilities.cc', | 134 'src/common/mac/macho_utilities.cc', |
132 'src/common/mac/macho_walker.cc', | 135 'src/common/mac/macho_walker.cc', |
| 136 'src/common/md5.cc', |
133 'src/common/stabs_reader.cc', | 137 'src/common/stabs_reader.cc', |
134 'src/common/stabs_to_module.cc', | 138 'src/common/stabs_to_module.cc', |
135 'src/tools/mac/dump_syms/dump_syms_tool.mm', | 139 'src/tools/mac/dump_syms/dump_syms_tool.mm', |
136 'src/common/md5.cc', | |
137 ], | 140 ], |
138 'defines': [ | 141 'defines': [ |
139 # For src/common/stabs_reader.h. | 142 # For src/common/stabs_reader.h. |
140 'HAVE_MACH_O_NLIST_H', | 143 'HAVE_MACH_O_NLIST_H', |
141 ], | 144 ], |
142 'xcode_settings': { | 145 'xcode_settings': { |
143 # Like ld, dump_syms needs to operate on enough data that it may | 146 # Like ld, dump_syms needs to operate on enough data that it may |
144 # actually need to be able to address more than 4GB. Use x86_64. | 147 # actually need to be able to address more than 4GB. Use x86_64. |
145 # Don't worry! An x86_64 dump_syms is perfectly able to dump | 148 # Don't worry! An x86_64 dump_syms is perfectly able to dump |
146 # 32-bit files. | 149 # 32-bit files. |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 ['OS=="android"', { | 250 ['OS=="android"', { |
248 'toolsets': [ 'host' ], | 251 'toolsets': [ 'host' ], |
249 }], | 252 }], |
250 ], | 253 ], |
251 'include_dirs': [ | 254 'include_dirs': [ |
252 'src', | 255 'src', |
253 'src/third_party', | 256 'src/third_party', |
254 '..', | 257 '..', |
255 ], | 258 ], |
256 'sources': [ | 259 'sources': [ |
257 'src/google_breakpad/procesor/call_stack.h', | 260 'src/google_breakpad/processor/call_stack.h', |
| 261 'src/google_breakpad/processor/stack_frame_symbolizer.h', |
258 'src/processor/minidump_stackwalk.cc', | 262 'src/processor/minidump_stackwalk.cc', |
259 'src/processor/stackwalker.cc', | 263 'src/processor/stackwalker.cc', |
260 'src/processor/stackwalker.h', | 264 'src/processor/stackwalker.h', |
261 'src/processor/basic_code_module.h', | 265 'src/processor/basic_code_module.h', |
262 'src/processor/basic_code_modules.cc', | 266 'src/processor/basic_code_modules.cc', |
263 'src/processor/basic_code_modules.h', | 267 'src/processor/basic_code_modules.h', |
264 'src/processor/basic_source_line_resolver.cc', | 268 'src/processor/basic_source_line_resolver.cc', |
265 'src/processor/basic_source_line_resolver.h', | 269 'src/processor/basic_source_line_resolver.h', |
266 'src/processor/binarystream.cc', | 270 'src/processor/binarystream.cc', |
267 'src/processor/binarystream.h', | 271 'src/processor/binarystream.h', |
(...skipping 13 matching lines...) Expand all Loading... |
281 'src/processor/minidump_processor.cc', | 285 'src/processor/minidump_processor.cc', |
282 'src/processor/minidump_processor.h', | 286 'src/processor/minidump_processor.h', |
283 'src/processor/pathname_stripper.cc', | 287 'src/processor/pathname_stripper.cc', |
284 'src/processor/pathname_stripper.h', | 288 'src/processor/pathname_stripper.h', |
285 'src/processor/process_state.cc', | 289 'src/processor/process_state.cc', |
286 'src/processor/process_state.h', | 290 'src/processor/process_state.h', |
287 'src/processor/simple_symbol_supplier.cc', | 291 'src/processor/simple_symbol_supplier.cc', |
288 'src/processor/simple_symbol_supplier.h', | 292 'src/processor/simple_symbol_supplier.h', |
289 'src/processor/source_line_resolver_base.cc', | 293 'src/processor/source_line_resolver_base.cc', |
290 'src/processor/source_line_resolver_base.h', | 294 'src/processor/source_line_resolver_base.h', |
| 295 'src/processor/stack_frame_symbolizer.cc', |
291 'src/processor/stackwalker.cc', | 296 'src/processor/stackwalker.cc', |
292 'src/processor/stackwalker.h', | 297 'src/processor/stackwalker.h', |
293 'src/processor/stackwalker_amd64.cc', | 298 'src/processor/stackwalker_amd64.cc', |
294 'src/processor/stackwalker_amd64.h', | 299 'src/processor/stackwalker_amd64.h', |
295 'src/processor/stackwalker_arm.cc', | 300 'src/processor/stackwalker_arm.cc', |
296 'src/processor/stackwalker_arm.h', | 301 'src/processor/stackwalker_arm.h', |
297 'src/processor/stackwalker_ppc.cc', | 302 'src/processor/stackwalker_ppc.cc', |
298 'src/processor/stackwalker_ppc.h', | 303 'src/processor/stackwalker_ppc.h', |
299 'src/processor/stackwalker_sparc.cc', | 304 'src/processor/stackwalker_sparc.cc', |
300 'src/processor/stackwalker_sparc.h', | 305 'src/processor/stackwalker_sparc.h', |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 'include_dirs': [ | 849 'include_dirs': [ |
845 '<(DEPTH)/third_party/GTM', | 850 '<(DEPTH)/third_party/GTM', |
846 '<(DEPTH)/third_party/GTM/Foundation', | 851 '<(DEPTH)/third_party/GTM/Foundation', |
847 ], | 852 ], |
848 }, | 853 }, |
849 }, | 854 }, |
850 ], | 855 ], |
851 }], | 856 }], |
852 ], | 857 ], |
853 } | 858 } |
OLD | NEW |