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("//build/config/symlink.gni") |
5 import("//testing/test.gni") | 6 import("//testing/test.gni") |
6 | 7 |
7 if (is_android) { | 8 if (is_android) { |
8 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
9 } | 10 } |
10 | 11 |
11 config("tools_config") { | 12 config("tools_config") { |
12 include_dirs = [ | 13 include_dirs = [ |
13 "src", | 14 "src", |
14 "src/third_party", | 15 "src/third_party", |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 # Using this define, stabs_reader.h will include a.out.h to | 466 # Using this define, stabs_reader.h will include a.out.h to |
466 # build on Linux. | 467 # build on Linux. |
467 defines = [ "HAVE_A_OUT_H" ] | 468 defines = [ "HAVE_A_OUT_H" ] |
468 | 469 |
469 include_dirs = [ "src" ] | 470 include_dirs = [ "src" ] |
470 | 471 |
471 deps = [ | 472 deps = [ |
472 "//build/config/sanitizers:deps", | 473 "//build/config/sanitizers:deps", |
473 ] | 474 ] |
474 } | 475 } |
| 476 } else { |
| 477 # Aliases for convenience. |
| 478 host_symlink("dump_syms") { |
| 479 } |
| 480 host_symlink("symupload") { |
| 481 } |
475 } | 482 } |
476 | 483 |
477 static_library("client") { | 484 static_library("client") { |
478 # Want all these sources for both Linux and Android. | 485 # Want all these sources for both Linux and Android. |
479 set_sources_assignment_filter([]) | 486 set_sources_assignment_filter([]) |
480 sources = [ | 487 sources = [ |
481 "src/client/linux/crash_generation/crash_generation_client.cc", | 488 "src/client/linux/crash_generation/crash_generation_client.cc", |
482 "src/client/linux/crash_generation/crash_generation_client.h", | 489 "src/client/linux/crash_generation/crash_generation_client.h", |
483 "src/client/linux/dump_writer_common/mapping_info.h", | 490 "src/client/linux/dump_writer_common/mapping_info.h", |
484 "src/client/linux/dump_writer_common/thread_info.cc", | 491 "src/client/linux/dump_writer_common/thread_info.cc", |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 } | 863 } |
857 } | 864 } |
858 | 865 |
859 test_runner_script("breakpad_unittests__test_runner_script") { | 866 test_runner_script("breakpad_unittests__test_runner_script") { |
860 test_name = "breakpad_unittests" | 867 test_name = "breakpad_unittests" |
861 test_type = "gtest" | 868 test_type = "gtest" |
862 test_suite = "breakpad_unittests" | 869 test_suite = "breakpad_unittests" |
863 isolate_file = "breakpad_unittests.isolate" | 870 isolate_file = "breakpad_unittests.isolate" |
864 } | 871 } |
865 } | 872 } |
OLD | NEW |