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 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 "src/client/mac/handler/protected_memory_allocator.cc", | 371 "src/client/mac/handler/protected_memory_allocator.cc", |
372 ] | 372 ] |
373 | 373 |
374 configs += [ ":internal_config" ] | 374 configs += [ ":internal_config" ] |
375 public_configs = [ ":breakpad_config" ] | 375 public_configs = [ ":breakpad_config" ] |
376 | 376 |
377 defines = [ "USE_PROTECTED_ALLOCATIONS=1" ] | 377 defines = [ "USE_PROTECTED_ALLOCATIONS=1" ] |
378 include_dirs = [ "src/client/apple/Framework" ] | 378 include_dirs = [ "src/client/apple/Framework" ] |
379 | 379 |
380 deps = [ | 380 deps = [ |
381 ":utilities", | |
382 ":crash_inspector", | 381 ":crash_inspector", |
383 ":crash_report_sender", | 382 ":crash_report_sender", |
| 383 ":utilities", |
384 ] | 384 ] |
385 } | 385 } |
386 | 386 |
387 group("client") { | 387 group("client") { |
388 public_configs = [ ":client_config" ] | 388 public_configs = [ ":client_config" ] |
389 } | 389 } |
390 } | 390 } |
391 | 391 |
392 if (is_linux || is_android) { | 392 if (is_linux || is_android) { |
393 if (current_toolchain == host_toolchain) { | 393 if (current_toolchain == host_toolchain) { |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 "src/common/simple_string_dictionary_unittest.cc", | 615 "src/common/simple_string_dictionary_unittest.cc", |
616 "src/common/test_assembler.cc", | 616 "src/common/test_assembler.cc", |
617 "src/common/tests/file_utils.cc", | 617 "src/common/tests/file_utils.cc", |
618 "src/common/tests/file_utils.h", | 618 "src/common/tests/file_utils.h", |
619 "src/tools/linux/md2core/minidump_memory_range.h", | 619 "src/tools/linux/md2core/minidump_memory_range.h", |
620 "src/tools/linux/md2core/minidump_memory_range_unittest.cc", | 620 "src/tools/linux/md2core/minidump_memory_range_unittest.cc", |
621 ] | 621 ] |
622 | 622 |
623 deps = [ | 623 deps = [ |
624 ":client", | 624 ":client", |
| 625 ":linux_dumper_unittest_helper", |
625 ":processor_support", | 626 ":processor_support", |
626 ":linux_dumper_unittest_helper", | |
627 "//build/config/sanitizers:deps", | 627 "//build/config/sanitizers:deps", |
| 628 "//testing/gmock", |
628 "//testing/gtest", | 629 "//testing/gtest", |
629 "//testing/gtest:gtest_main", | 630 "//testing/gtest:gtest_main", |
630 "//testing/gmock", | |
631 ] | 631 ] |
632 | 632 |
633 include_dirs = [ | 633 include_dirs = [ |
634 "linux", # Use our copy of breakpad_googletest_includes.h | 634 "linux", # Use our copy of breakpad_googletest_includes.h |
635 "src", | 635 "src", |
636 ".", | 636 ".", |
637 ] | 637 ] |
638 | 638 |
639 # There are some warnings in this code. | 639 # There are some warnings in this code. |
640 configs -= [ "//build/config/compiler:chromium_code" ] | 640 configs -= [ "//build/config/compiler:chromium_code" ] |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
845 } | 845 } |
846 } | 846 } |
847 | 847 |
848 test_runner_script("breakpad_unittests__test_runner_script") { | 848 test_runner_script("breakpad_unittests__test_runner_script") { |
849 test_name = "breakpad_unittests" | 849 test_name = "breakpad_unittests" |
850 test_type = "gtest" | 850 test_type = "gtest" |
851 test_suite = "breakpad_unittests" | 851 test_suite = "breakpad_unittests" |
852 isolate_file = "breakpad_unittests.isolate" | 852 isolate_file = "breakpad_unittests.isolate" |
853 } | 853 } |
854 } | 854 } |
OLD | NEW |