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': [ |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
210 'src/client/mac/crash_generation/crash_generation_client.cc', | 210 'src/client/mac/crash_generation/crash_generation_client.cc', |
211 'src/client/mac/crash_generation/crash_generation_client.h', | 211 'src/client/mac/crash_generation/crash_generation_client.h', |
212 'src/client/mac/handler/protected_memory_allocator.cc', | 212 'src/client/mac/handler/protected_memory_allocator.cc', |
213 'src/client/mac/handler/exception_handler.cc', | 213 'src/client/mac/handler/exception_handler.cc', |
214 'src/client/mac/Framework/Breakpad.mm', | 214 'src/client/mac/Framework/Breakpad.mm', |
215 'src/client/mac/Framework/OnDemandServer.mm', | 215 'src/client/mac/Framework/OnDemandServer.mm', |
216 ], | 216 ], |
217 }, | 217 }, |
218 ], | 218 ], |
219 }], | 219 }], |
220 [ 'OS=="linux"', { | 220 [ 'OS=="linux" or OS=="android"', { |
221 'conditions': [ | 221 'conditions': [ |
222 ['OS=="android"', { | |
223 'defines': [ | |
224 '__ANDROID__', | |
225 ], | |
226 }], | |
222 # Tools needed for archiving build symbols. | 227 # Tools needed for archiving build symbols. |
223 ['linux_breakpad==1', { | 228 ['posix_breakpad==1', { |
Mark Mentovai
2012/04/05 14:28:03
This isn’t a correct name. I would leave it at lin
carlosvaldivia
2012/04/05 18:35:56
Ok I'll get to this.
Out of curiosity why is rena
| |
224 'targets': [ | 229 'targets': [ |
225 { | 230 { |
231 'target_name': 'minidump_stackwalk', | |
232 'type': 'executable', | |
233 'toolsets': [ 'host', ], | |
234 # This uses the system libcurl, so don't use the default 32-bit | |
235 # compile flags when building on a 64-bit machine. | |
236 'variables': { | |
237 'host_arch': '<!(uname -m)', | |
238 }, | |
239 'conditions': [ | |
240 ['host_arch=="x86_64"', { | |
241 'cflags!': ['-m32', '-march=pentium4', '-msse2', | |
242 '-mfpmath=sse'], | |
243 'ldflags!': ['-m32'], | |
244 'cflags': ['-O2'], | |
245 'include_dirs!': ['/usr/include32'], | |
246 }], | |
247 ], | |
248 'include_dirs': [ | |
249 'src', | |
250 'src/third_party', | |
251 '..', | |
252 ], | |
253 'sources': [ | |
254 'src/processor/minidump_stackwalk.cc', | |
255 'src/processor/stackwalker.cc', | |
256 'src/processor/stackwalker.h', | |
257 'src/processor/basic_code_module.h', | |
258 'src/processor/basic_code_modules.cc', | |
259 'src/processor/basic_code_modules.h', | |
260 'src/processor/basic_source_line_resolver.cc', | |
261 'src/processor/basic_source_line_resolver.h', | |
262 'src/processor/binarystream.cc', | |
263 'src/processor/binarystream.h', | |
264 'src/processor/call_stack.cc', | |
265 'src/google_breakpad/procesor/call_stack.h', | |
266 'src/processor/cfi_frame_info.cc', | |
267 'src/processor/cfi_frame_info.h', | |
268 'src/processor/disassembler_x86.cc', | |
269 'src/processor/disassembler_x86.h', | |
270 'src/processor/exploitability.cc', | |
271 'src/processor/exploitability.h', | |
272 'src/processor/exploitability_win.cc', | |
273 'src/processor/exploitability_win.h', | |
274 'src/processor/logging.cc', | |
275 'src/processor/logging.h', | |
276 'src/processor/minidump.cc', | |
277 'src/processor/minidump.h', | |
278 'src/processor/minidump_processor.cc', | |
279 'src/processor/minidump_processor.h', | |
280 'src/processor/pathname_stripper.cc', | |
281 'src/processor/pathname_stripper.h', | |
282 'src/processor/process_state.cc', | |
283 'src/processor/process_state.h', | |
284 'src/processor/simple_symbol_supplier.cc', | |
285 'src/processor/simple_symbol_supplier.h', | |
286 'src/processor/source_line_resolver_base.cc', | |
287 'src/processor/source_line_resolver_base.h', | |
288 'src/processor/stackwalker.cc', | |
289 'src/processor/stackwalker.h', | |
290 'src/processor/stackwalker_amd64.cc', | |
291 'src/processor/stackwalker_amd64.h', | |
292 'src/processor/stackwalker_arm.cc', | |
293 'src/processor/stackwalker_arm.h', | |
294 'src/processor/stackwalker_ppc.cc', | |
295 'src/processor/stackwalker_ppc.h', | |
296 'src/processor/stackwalker_sparc.cc', | |
297 'src/processor/stackwalker_sparc.h', | |
298 'src/processor/stackwalker_x86.cc', | |
299 'src/processor/stackwalker_x86.h', | |
300 'src/processor/tokenize.cc', | |
301 'src/processor/tokenize.h', | |
302 # libdisasm | |
303 'src/third_party/libdisasm/ia32_implicit.c', | |
304 'src/third_party/libdisasm/ia32_implicit.h', | |
305 'src/third_party/libdisasm/ia32_insn.c', | |
306 'src/third_party/libdisasm/ia32_insn.h', | |
307 'src/third_party/libdisasm/ia32_invariant.c', | |
308 'src/third_party/libdisasm/ia32_invariant.h', | |
309 'src/third_party/libdisasm/ia32_modrm.c', | |
310 'src/third_party/libdisasm/ia32_modrm.h', | |
311 'src/third_party/libdisasm/ia32_opcode_tables.c', | |
312 'src/third_party/libdisasm/ia32_opcode_tables.h', | |
313 'src/third_party/libdisasm/ia32_operand.c', | |
314 'src/third_party/libdisasm/ia32_operand.h', | |
315 'src/third_party/libdisasm/ia32_reg.c', | |
316 'src/third_party/libdisasm/ia32_reg.h', | |
317 'src/third_party/libdisasm/ia32_settings.c', | |
318 'src/third_party/libdisasm/ia32_settings.h', | |
319 'src/third_party/libdisasm/libdis.h', | |
320 'src/third_party/libdisasm/qword.h', | |
321 'src/third_party/libdisasm/x86_disasm.c', | |
322 'src/third_party/libdisasm/x86_format.c', | |
323 'src/third_party/libdisasm/x86_imm.c', | |
324 'src/third_party/libdisasm/x86_imm.h', | |
325 'src/third_party/libdisasm/x86_insn.c', | |
326 'src/third_party/libdisasm/x86_misc.c', | |
327 'src/third_party/libdisasm/x86_operand_list.c', | |
328 'src/third_party/libdisasm/x86_operand_list.h', | |
329 ], | |
330 }, | |
331 { | |
332 'target_name': 'minidump_dump', | |
333 'type': 'executable', | |
334 'toolsets': [ 'host', ], | |
335 # This uses the system libcurl, so don't use the default 32-bit | |
336 # compile flags when building on a 64-bit machine. | |
337 'variables': { | |
338 'host_arch': '<!(uname -m)', | |
339 }, | |
340 'conditions': [ | |
341 ['host_arch=="x86_64"', { | |
342 'cflags!': ['-m32', '-march=pentium4', '-msse2', | |
343 '-mfpmath=sse'], | |
344 'ldflags!': ['-m32'], | |
345 'cflags': ['-O2'], | |
346 'include_dirs!': ['/usr/include32'], | |
347 }], | |
348 ], | |
349 'sources': [ | |
350 'src/processor/minidump_dump.cc', | |
351 'src/processor/basic_code_module.h', | |
352 'src/processor/basic_code_modules.h', | |
353 'src/processor/basic_code_modules.cc', | |
354 'src/processor/logging.h', | |
355 'src/processor/logging.cc', | |
356 'src/processor/minidump.h', | |
357 'src/processor/minidump.cc', | |
358 'src/processor/pathname_stripper.h', | |
359 'src/processor/pathname_stripper.cc', | |
360 ], | |
361 'include_dirs': [ | |
362 'src', | |
363 'src/third_party', | |
364 '..', | |
365 ], | |
366 }, | |
367 { | |
226 'target_name': 'symupload', | 368 'target_name': 'symupload', |
227 'type': 'executable', | 369 'type': 'executable', |
228 | 370 |
229 # This uses the system libcurl, so don't use the default 32-bit | 371 # This uses the system libcurl, so don't use the default 32-bit |
230 # compile flags when building on a 64-bit machine. | 372 # compile flags when building on a 64-bit machine. |
231 'variables': { | 373 'variables': { |
232 'host_arch': '<!(uname -m)', | 374 'host_arch': '<!(uname -m)', |
233 }, | 375 }, |
234 'conditions': [ | 376 'conditions': [ |
235 ['host_arch=="x86_64"', { | 377 ['host_arch=="x86_64"', { |
(...skipping 15 matching lines...) Expand all Loading... | |
251 ], | 393 ], |
252 'link_settings': { | 394 'link_settings': { |
253 'libraries': [ | 395 'libraries': [ |
254 '-ldl', | 396 '-ldl', |
255 ], | 397 ], |
256 }, | 398 }, |
257 }, | 399 }, |
258 { | 400 { |
259 'target_name': 'dump_syms', | 401 'target_name': 'dump_syms', |
260 'type': 'executable', | 402 'type': 'executable', |
403 'toolsets': [ 'host' ], | |
261 | 404 |
262 # dwarf2reader.cc uses dynamic_cast. Because we don't typically | 405 # dwarf2reader.cc uses dynamic_cast. Because we don't typically |
263 # don't support RTTI, we enable it for this single target. Since | 406 # don't support RTTI, we enable it for this single target. Since |
264 # dump_syms doesn't share any object files with anything else, | 407 # dump_syms doesn't share any object files with anything else, |
265 # this doesn't end up polluting Chrome itself. | 408 # this doesn't end up polluting Chrome itself. |
266 'cflags_cc!': ['-fno-rtti'], | 409 'cflags_cc!': ['-fno-rtti'], |
267 | 410 |
268 'sources': [ | 411 'sources': [ |
269 'src/common/dwarf/bytereader.cc', | 412 'src/common/dwarf/bytereader.cc', |
270 'src/common/dwarf_cfi_to_module.cc', | 413 'src/common/dwarf_cfi_to_module.cc', |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
351 'src/common/linux/safe_readlink.h', | 494 'src/common/linux/safe_readlink.h', |
352 'src/common/memory.h', | 495 'src/common/memory.h', |
353 'src/common/string_conversion.cc', | 496 'src/common/string_conversion.cc', |
354 'src/common/string_conversion.h', | 497 'src/common/string_conversion.h', |
355 ], | 498 ], |
356 | 499 |
357 'conditions': [ | 500 'conditions': [ |
358 ['target_arch=="arm"', { | 501 ['target_arch=="arm"', { |
359 'cflags': ['-Wa,-mimplicit-it=always'], | 502 'cflags': ['-Wa,-mimplicit-it=always'], |
360 }], | 503 }], |
504 ['OS=="android"', { | |
505 'sources!':[ | |
506 'src/common/linux/elf_core_dump.cc', | |
507 'src/common/linux/elf_core_dump.h', | |
508 ], | |
509 }], | |
361 ], | 510 ], |
362 | 511 |
363 'link_settings': { | 512 'link_settings': { |
364 'libraries': [ | 513 'libraries': [ |
365 '-ldl', | 514 '-ldl', |
366 ], | 515 ], |
367 }, | 516 }, |
368 | 517 |
369 'include_dirs': [ | 518 'include_dirs': [ |
370 'src', | 519 'src', |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
500 | 649 |
501 'include_dirs': [ | 650 'include_dirs': [ |
502 '..', | 651 '..', |
503 'src', | 652 'src', |
504 ], | 653 ], |
505 }, | 654 }, |
506 ], | 655 ], |
507 }], | 656 }], |
508 ], | 657 ], |
509 } | 658 } |
OLD | NEW |