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 config("tools_config") { | 5 config("tools_config") { |
6 include_dirs = [ "src", "src/third_party" ] | 6 include_dirs = [ "src", "src/third_party" ] |
7 if (is_android) { | 7 if (is_android) { |
8 defines = [ "__ANDROID__" ] | 8 defines = [ "__ANDROID__" ] |
9 } | 9 } |
10 if (is_clang) { | 10 if (is_clang) { |
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 ] | 473 ] |
474 | 474 |
475 include_dirs = [ | 475 include_dirs = [ |
476 "src", | 476 "src", |
477 "src/client", | 477 "src/client", |
478 "src/third_party/linux/include", | 478 "src/third_party/linux/include", |
479 ".", | 479 ".", |
480 ] | 480 ] |
481 } | 481 } |
482 | 482 |
483 executable("breakpad_unittests") { | 483 test("breakpad_unittests") { |
484 sources = [ | 484 sources = [ |
485 "linux/breakpad_googletest_includes.h", | 485 "linux/breakpad_googletest_includes.h", |
486 "src/client/linux/handler/exception_handler_unittest.cc", | 486 "src/client/linux/handler/exception_handler_unittest.cc", |
487 "src/client/linux/minidump_writer/cpu_set_unittest.cc", | 487 "src/client/linux/minidump_writer/cpu_set_unittest.cc", |
488 "src/client/linux/minidump_writer/directory_reader_unittest.cc", | 488 "src/client/linux/minidump_writer/directory_reader_unittest.cc", |
489 "src/client/linux/minidump_writer/line_reader_unittest.cc", | 489 "src/client/linux/minidump_writer/line_reader_unittest.cc", |
490 "src/client/linux/minidump_writer/linux_core_dumper_unittest.cc", | 490 "src/client/linux/minidump_writer/linux_core_dumper_unittest.cc", |
491 "src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc", | 491 "src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc", |
492 "src/client/linux/minidump_writer/minidump_writer_unittest.cc", | 492 "src/client/linux/minidump_writer/minidump_writer_unittest.cc", |
493 "src/client/linux/minidump_writer/minidump_writer_unittest_utils.cc", | 493 "src/client/linux/minidump_writer/minidump_writer_unittest_utils.cc", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 | 535 |
536 | 536 |
537 if (is_android) { | 537 if (is_android) { |
538 sources += [ "src/common/android/breakpad_getcontext_unittest.cc" ] | 538 sources += [ "src/common/android/breakpad_getcontext_unittest.cc" ] |
539 libs = [ "log" ] | 539 libs = [ "log" ] |
540 include_dirs = [ "src/common/android/include" ] | 540 include_dirs = [ "src/common/android/include" ] |
541 } | 541 } |
542 } | 542 } |
543 | 543 |
544 executable("linux_dumper_unittest_helper") { | 544 executable("linux_dumper_unittest_helper") { |
| 545 testonly = true |
545 sources = [ | 546 sources = [ |
546 "src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc", | 547 "src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc", |
547 ] | 548 ] |
548 deps = [ | 549 deps = [ |
549 ":processor_support", | 550 ":processor_support", |
550 ] | 551 ] |
551 | 552 |
552 include_dirs = [ | 553 include_dirs = [ |
553 "src", | 554 "src", |
554 ] | 555 ] |
555 | 556 |
556 if (cpu_arch == "mipsel" && is_android) { | 557 if (cpu_arch == "mipsel" && is_android) { |
557 include_dirs += [ "src/common/android/include" ] | 558 include_dirs += [ "src/common/android/include" ] |
558 } | 559 } |
559 } | 560 } |
560 | 561 |
561 | 562 |
562 executable("generate_test_dump") { | 563 executable("generate_test_dump") { |
| 564 testonly = true |
563 sources = [ | 565 sources = [ |
564 "linux/generate-test-dump.cc", | 566 "linux/generate-test-dump.cc", |
565 ] | 567 ] |
566 | 568 |
567 # This file has an unused variable warning. | 569 # This file has an unused variable warning. |
568 configs -= [ "//build/config/compiler:chromium_code" ] | 570 configs -= [ "//build/config/compiler:chromium_code" ] |
569 configs += [ "//build/config/compiler:no_chromium_code" ] | 571 configs += [ "//build/config/compiler:no_chromium_code" ] |
570 | 572 |
571 deps = [ ":client" ] | 573 deps = [ ":client" ] |
572 | 574 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 "src/client/windows/handler/exception_handler.h", | 683 "src/client/windows/handler/exception_handler.h", |
682 "src/common/windows/guid_string.cc", | 684 "src/common/windows/guid_string.cc", |
683 "src/common/windows/guid_string.h", | 685 "src/common/windows/guid_string.h", |
684 "src/google_breakpad/common/minidump_format.h", | 686 "src/google_breakpad/common/minidump_format.h", |
685 "src/client/windows/crash_generation/minidump_generator.cc", | 687 "src/client/windows/crash_generation/minidump_generator.cc", |
686 "src/client/windows/crash_generation/minidump_generator.h", | 688 "src/client/windows/crash_generation/minidump_generator.h", |
687 "src/common/windows/string_utils-inl.h", | 689 "src/common/windows/string_utils-inl.h", |
688 ] | 690 ] |
689 } | 691 } |
690 } | 692 } |
OLD | NEW |