| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 config("tools_config") { | 7 config("tools_config") { |
| 8 include_dirs = [ | 8 include_dirs = [ |
| 9 "src", | 9 "src", |
| 10 "src/third_party", | 10 "src/third_party", |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 # {micro,mini}dump_stackwalk and minidump_dump are tool-type executables that do | 47 # {micro,mini}dump_stackwalk and minidump_dump are tool-type executables that do |
| 48 # not build on iOS. | 48 # not build on iOS. |
| 49 if (current_toolchain == host_toolchain && !is_win) { | 49 if (current_toolchain == host_toolchain && !is_win) { |
| 50 # Contains the code shared by both {micro,mini}dump_stackwalk. | 50 # Contains the code shared by both {micro,mini}dump_stackwalk. |
| 51 static_library("stackwalk_common") { | 51 static_library("stackwalk_common") { |
| 52 sources = [ | 52 sources = [ |
| 53 "src/processor/basic_code_module.h", | 53 "src/processor/basic_code_module.h", |
| 54 "src/processor/basic_code_modules.cc", | 54 "src/processor/basic_code_modules.cc", |
| 55 "src/processor/basic_code_modules.h", | 55 "src/processor/basic_code_modules.h", |
| 56 "src/processor/basic_source_line_resolver.cc", | 56 "src/processor/basic_source_line_resolver.cc", |
| 57 "src/processor/binarystream.cc", | |
| 58 "src/processor/binarystream.h", | |
| 59 "src/processor/call_stack.cc", | 57 "src/processor/call_stack.cc", |
| 60 "src/processor/cfi_frame_info.cc", | 58 "src/processor/cfi_frame_info.cc", |
| 61 "src/processor/cfi_frame_info.h", | 59 "src/processor/cfi_frame_info.h", |
| 62 "src/processor/disassembler_x86.cc", | 60 "src/processor/disassembler_x86.cc", |
| 63 "src/processor/disassembler_x86.h", | 61 "src/processor/disassembler_x86.h", |
| 64 "src/processor/dump_context.cc", | 62 "src/processor/dump_context.cc", |
| 65 "src/processor/dump_object.cc", | 63 "src/processor/dump_object.cc", |
| 66 "src/processor/logging.cc", | 64 "src/processor/logging.cc", |
| 67 "src/processor/logging.h", | 65 "src/processor/logging.h", |
| 68 "src/processor/pathname_stripper.cc", | 66 "src/processor/pathname_stripper.cc", |
| 69 "src/processor/pathname_stripper.h", | 67 "src/processor/pathname_stripper.h", |
| 68 "src/processor/proc_maps_linux.cc", |
| 70 "src/processor/process_state.cc", | 69 "src/processor/process_state.cc", |
| 71 "src/processor/simple_symbol_supplier.cc", | 70 "src/processor/simple_symbol_supplier.cc", |
| 72 "src/processor/simple_symbol_supplier.h", | 71 "src/processor/simple_symbol_supplier.h", |
| 73 "src/processor/source_line_resolver_base.cc", | 72 "src/processor/source_line_resolver_base.cc", |
| 74 "src/processor/stack_frame_cpu.cc", | 73 "src/processor/stack_frame_cpu.cc", |
| 75 "src/processor/stack_frame_symbolizer.cc", | 74 "src/processor/stack_frame_symbolizer.cc", |
| 76 "src/processor/stackwalk_common.cc", | 75 "src/processor/stackwalk_common.cc", |
| 77 "src/processor/stackwalker.cc", | 76 "src/processor/stackwalker.cc", |
| 78 "src/processor/stackwalker_amd64.cc", | 77 "src/processor/stackwalker_amd64.cc", |
| 79 "src/processor/stackwalker_amd64.h", | 78 "src/processor/stackwalker_amd64.h", |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 "src/processor/basic_code_modules.cc", | 183 "src/processor/basic_code_modules.cc", |
| 185 "src/processor/basic_code_modules.h", | 184 "src/processor/basic_code_modules.h", |
| 186 "src/processor/dump_context.cc", | 185 "src/processor/dump_context.cc", |
| 187 "src/processor/dump_object.cc", | 186 "src/processor/dump_object.cc", |
| 188 "src/processor/logging.cc", | 187 "src/processor/logging.cc", |
| 189 "src/processor/logging.h", | 188 "src/processor/logging.h", |
| 190 "src/processor/minidump.cc", | 189 "src/processor/minidump.cc", |
| 191 "src/processor/minidump_dump.cc", | 190 "src/processor/minidump_dump.cc", |
| 192 "src/processor/pathname_stripper.cc", | 191 "src/processor/pathname_stripper.cc", |
| 193 "src/processor/pathname_stripper.h", | 192 "src/processor/pathname_stripper.h", |
| 193 "src/processor/proc_maps_linux.cc", |
| 194 ] | 194 ] |
| 195 | 195 |
| 196 configs += [ ":tools_config" ] | 196 configs += [ ":tools_config" ] |
| 197 | 197 |
| 198 # There are some warnings in this code. | 198 # There are some warnings in this code. |
| 199 configs -= [ "//build/config/compiler:chromium_code" ] | 199 configs -= [ "//build/config/compiler:chromium_code" ] |
| 200 configs += [ "//build/config/compiler:no_chromium_code" ] | 200 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 201 } | 201 } |
| 202 } | 202 } |
| 203 | 203 |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 446 } | 446 } |
| 447 } | 447 } |
| 448 | 448 |
| 449 static_library("client") { | 449 static_library("client") { |
| 450 # Want all these sources for both Linux and Android. | 450 # Want all these sources for both Linux and Android. |
| 451 set_sources_assignment_filter([]) | 451 set_sources_assignment_filter([]) |
| 452 sources = [ | 452 sources = [ |
| 453 "src/client/linux/crash_generation/crash_generation_client.cc", | 453 "src/client/linux/crash_generation/crash_generation_client.cc", |
| 454 "src/client/linux/crash_generation/crash_generation_client.h", | 454 "src/client/linux/crash_generation/crash_generation_client.h", |
| 455 "src/client/linux/dump_writer_common/mapping_info.h", | 455 "src/client/linux/dump_writer_common/mapping_info.h", |
| 456 "src/client/linux/dump_writer_common/seccomp_unwinder.cc", | |
| 457 "src/client/linux/dump_writer_common/seccomp_unwinder.h", | |
| 458 "src/client/linux/dump_writer_common/thread_info.cc", | 456 "src/client/linux/dump_writer_common/thread_info.cc", |
| 459 "src/client/linux/dump_writer_common/thread_info.h", | 457 "src/client/linux/dump_writer_common/thread_info.h", |
| 460 "src/client/linux/dump_writer_common/ucontext_reader.cc", | 458 "src/client/linux/dump_writer_common/ucontext_reader.cc", |
| 461 "src/client/linux/dump_writer_common/ucontext_reader.h", | 459 "src/client/linux/dump_writer_common/ucontext_reader.h", |
| 462 "src/client/linux/handler/exception_handler.cc", | 460 "src/client/linux/handler/exception_handler.cc", |
| 463 "src/client/linux/handler/exception_handler.h", | 461 "src/client/linux/handler/exception_handler.h", |
| 464 "src/client/linux/handler/minidump_descriptor.cc", | 462 "src/client/linux/handler/minidump_descriptor.cc", |
| 465 "src/client/linux/handler/minidump_descriptor.h", | 463 "src/client/linux/handler/minidump_descriptor.h", |
| 466 "src/client/linux/log/log.cc", | 464 "src/client/linux/log/log.cc", |
| 467 "src/client/linux/log/log.h", | 465 "src/client/linux/log/log.h", |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 "src/common/scoped_ptr.h", | 536 "src/common/scoped_ptr.h", |
| 539 "src/processor/basic_code_modules.cc", | 537 "src/processor/basic_code_modules.cc", |
| 540 "src/processor/basic_code_modules.h", | 538 "src/processor/basic_code_modules.h", |
| 541 "src/processor/dump_context.cc", | 539 "src/processor/dump_context.cc", |
| 542 "src/processor/dump_object.cc", | 540 "src/processor/dump_object.cc", |
| 543 "src/processor/logging.cc", | 541 "src/processor/logging.cc", |
| 544 "src/processor/logging.h", | 542 "src/processor/logging.h", |
| 545 "src/processor/minidump.cc", | 543 "src/processor/minidump.cc", |
| 546 "src/processor/pathname_stripper.cc", | 544 "src/processor/pathname_stripper.cc", |
| 547 "src/processor/pathname_stripper.h", | 545 "src/processor/pathname_stripper.h", |
| 546 "src/processor/proc_maps_linux.cc", |
| 548 ] | 547 ] |
| 549 | 548 |
| 550 include_dirs = [ | 549 include_dirs = [ |
| 551 "src", | 550 "src", |
| 552 "src/client", | 551 "src/client", |
| 553 "src/third_party/linux/include", | 552 "src/third_party/linux/include", |
| 554 ".", | 553 ".", |
| 555 ] | 554 ] |
| 556 | 555 |
| 557 # There are some warnings in this code. | 556 # There are some warnings in this code. |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 785 sources = [ | 784 sources = [ |
| 786 "src/client/windows/sender/crash_report_sender.cc", | 785 "src/client/windows/sender/crash_report_sender.cc", |
| 787 "src/client/windows/sender/crash_report_sender.h", | 786 "src/client/windows/sender/crash_report_sender.h", |
| 788 "src/common/windows/http_upload.cc", | 787 "src/common/windows/http_upload.cc", |
| 789 "src/common/windows/http_upload.h", | 788 "src/common/windows/http_upload.h", |
| 790 ] | 789 ] |
| 791 configs += [ ":sender_config" ] | 790 configs += [ ":sender_config" ] |
| 792 public_configs = [ ":sender_config" ] | 791 public_configs = [ ":sender_config" ] |
| 793 } | 792 } |
| 794 } | 793 } |
| OLD | NEW |