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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 }, | 332 }, |
333 ], | 333 ], |
334 }], | 334 }], |
335 [ 'OS=="linux" or OS=="android"', { | 335 [ 'OS=="linux" or OS=="android"', { |
336 'conditions': [ | 336 'conditions': [ |
337 ['OS=="android"', { | 337 ['OS=="android"', { |
338 'defines': [ | 338 'defines': [ |
339 '__ANDROID__', | 339 '__ANDROID__', |
340 ], | 340 ], |
341 }], | 341 }], |
342 # Tools needed for archiving build symbols. | 342 ], |
343 ['linux_breakpad==1', { | 343 # Tools needed for archiving build symbols. |
344 'targets': [ | 344 'targets': [ |
345 { | 345 { |
346 'target_name': 'symupload', | 346 'target_name': 'symupload', |
347 'type': 'executable', | 347 'type': 'executable', |
348 | 348 |
349 'includes': ['breakpad_tools.gypi'], | 349 'includes': ['breakpad_tools.gypi'], |
350 | 350 |
351 'sources': [ | 351 'sources': [ |
352 'src/tools/linux/symupload/sym_upload.cc', | 352 'src/tools/linux/symupload/sym_upload.cc', |
353 'src/common/linux/http_upload.cc', | 353 'src/common/linux/http_upload.cc', |
354 'src/common/linux/http_upload.h', | 354 'src/common/linux/http_upload.h', |
355 ], | 355 ], |
356 'include_dirs': [ | 356 'include_dirs': [ |
357 'src', | 357 'src', |
358 'src/third_party', | 358 'src/third_party', |
359 ], | 359 ], |
360 'link_settings': { | 360 'link_settings': { |
361 'libraries': [ | 361 'libraries': [ |
362 '-ldl', | 362 '-ldl', |
363 ], | 363 ], |
364 }, | 364 }, |
365 }, | 365 }, |
366 { | 366 { |
367 'target_name': 'dump_syms', | 367 'target_name': 'dump_syms', |
368 'type': 'executable', | 368 'type': 'executable', |
369 'conditions': [ | 369 'conditions': [ |
370 ['OS=="android"', { | 370 ['OS=="android"', { |
371 'toolsets': [ 'host' ], | 371 'toolsets': [ 'host' ], |
372 }], | 372 }], |
373 ], | 373 ], |
374 | 374 |
375 # dwarf2reader.cc uses dynamic_cast. Because we don't typically | 375 # dwarf2reader.cc uses dynamic_cast. Because we don't typically |
376 # don't support RTTI, we enable it for this single target. Since | 376 # don't support RTTI, we enable it for this single target. Since |
377 # dump_syms doesn't share any object files with anything else, | 377 # dump_syms doesn't share any object files with anything else, |
378 # this doesn't end up polluting Chrome itself. | 378 # this doesn't end up polluting Chrome itself. |
379 'cflags_cc!': ['-fno-rtti'], | 379 'cflags_cc!': ['-fno-rtti'], |
380 | 380 |
381 'sources': [ | 381 'sources': [ |
382 'src/common/dwarf/bytereader.cc', | 382 'src/common/dwarf/bytereader.cc', |
383 'src/common/dwarf_cfi_to_module.cc', | 383 'src/common/dwarf_cfi_to_module.cc', |
384 'src/common/dwarf_cfi_to_module.h', | 384 'src/common/dwarf_cfi_to_module.h', |
385 'src/common/dwarf_cu_to_module.cc', | 385 'src/common/dwarf_cu_to_module.cc', |
386 'src/common/dwarf_cu_to_module.h', | 386 'src/common/dwarf_cu_to_module.h', |
387 'src/common/dwarf/dwarf2diehandler.cc', | 387 'src/common/dwarf/dwarf2diehandler.cc', |
388 'src/common/dwarf/dwarf2reader.cc', | 388 'src/common/dwarf/dwarf2reader.cc', |
389 'src/common/dwarf_line_to_module.cc', | 389 'src/common/dwarf_line_to_module.cc', |
390 'src/common/dwarf_line_to_module.h', | 390 'src/common/dwarf_line_to_module.h', |
391 'src/common/language.cc', | 391 'src/common/language.cc', |
392 'src/common/language.h', | 392 'src/common/language.h', |
393 'src/common/linux/dump_symbols.cc', | 393 'src/common/linux/dump_symbols.cc', |
394 'src/common/linux/dump_symbols.h', | 394 'src/common/linux/dump_symbols.h', |
395 'src/common/linux/elf_symbols_to_module.cc', | 395 'src/common/linux/elf_symbols_to_module.cc', |
396 'src/common/linux/elf_symbols_to_module.h', | 396 'src/common/linux/elf_symbols_to_module.h', |
397 'src/common/linux/elfutils.cc', | 397 'src/common/linux/elfutils.cc', |
398 'src/common/linux/elfutils.h', | 398 'src/common/linux/elfutils.h', |
399 'src/common/linux/file_id.cc', | 399 'src/common/linux/file_id.cc', |
400 'src/common/linux/file_id.h', | 400 'src/common/linux/file_id.h', |
401 'src/common/linux/linux_libc_support.cc', | 401 'src/common/linux/linux_libc_support.cc', |
402 'src/common/linux/linux_libc_support.h', | 402 'src/common/linux/linux_libc_support.h', |
403 'src/common/linux/memory_mapped_file.cc', | 403 'src/common/linux/memory_mapped_file.cc', |
404 'src/common/linux/memory_mapped_file.h', | 404 'src/common/linux/memory_mapped_file.h', |
405 'src/common/linux/guid_creator.h', | 405 'src/common/linux/guid_creator.h', |
406 'src/common/module.cc', | 406 'src/common/module.cc', |
407 'src/common/module.h', | 407 'src/common/module.h', |
408 'src/common/stabs_reader.cc', | 408 'src/common/stabs_reader.cc', |
409 'src/common/stabs_reader.h', | 409 'src/common/stabs_reader.h', |
410 'src/common/stabs_to_module.cc', | 410 'src/common/stabs_to_module.cc', |
411 'src/common/stabs_to_module.h', | 411 'src/common/stabs_to_module.h', |
412 'src/tools/linux/dump_syms/dump_syms.cc', | 412 'src/tools/linux/dump_syms/dump_syms.cc', |
413 ], | 413 ], |
414 | 414 |
415 # Breakpad rev 583 introduced this flag. | 415 # Breakpad rev 583 introduced this flag. |
416 # Using this define, stabs_reader.h will include a.out.h to | 416 # Using this define, stabs_reader.h will include a.out.h to |
417 # build on Linux. | 417 # build on Linux. |
418 'defines': [ | 418 'defines': [ |
419 'HAVE_A_OUT_H', | 419 'HAVE_A_OUT_H', |
420 ], | 420 ], |
421 | 421 |
422 'include_dirs': [ | 422 'include_dirs': [ |
423 'src', | 423 'src', |
424 '..', | 424 '..', |
425 ], | |
426 }, | |
427 ], | 425 ], |
428 }], | 426 }, |
429 ], | |
430 'targets': [ | |
431 { | 427 { |
432 'target_name': 'breakpad_client', | 428 'target_name': 'breakpad_client', |
433 'type': 'static_library', | 429 'type': 'static_library', |
434 | 430 |
435 'sources': [ | 431 'sources': [ |
436 'src/client/linux/crash_generation/crash_generation_client.cc', | 432 'src/client/linux/crash_generation/crash_generation_client.cc', |
437 'src/client/linux/crash_generation/crash_generation_client.h', | 433 'src/client/linux/crash_generation/crash_generation_client.h', |
438 'src/client/linux/handler/exception_handler.cc', | 434 'src/client/linux/handler/exception_handler.cc', |
439 'src/client/linux/handler/exception_handler.h', | 435 'src/client/linux/handler/exception_handler.h', |
440 'src/client/linux/handler/minidump_descriptor.cc', | 436 'src/client/linux/handler/minidump_descriptor.cc', |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
849 'target_name': 'symupload', | 845 'target_name': 'symupload', |
850 'type': 'none', | 846 'type': 'none', |
851 'dependencies': [ | 847 'dependencies': [ |
852 'breakpad_utilities', | 848 'breakpad_utilities', |
853 ], | 849 ], |
854 } | 850 } |
855 ], | 851 ], |
856 }], | 852 }], |
857 ], | 853 ], |
858 } | 854 } |
OLD | NEW |