Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: breakpad/BUILD.gn

Issue 1516533002: GN: Add symlink rules for dump_syms, symupload (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments 2 Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/symlink.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/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
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 binary_symlink("dump_syms") {
479 binary_label = ":dump_syms($host_toolchain)"
480 }
481 binary_symlink("symupload") {
482 binary_label = ":symupload($host_toolchain)"
483 }
475 } 484 }
476 485
477 static_library("client") { 486 static_library("client") {
478 # Want all these sources for both Linux and Android. 487 # Want all these sources for both Linux and Android.
479 set_sources_assignment_filter([]) 488 set_sources_assignment_filter([])
480 sources = [ 489 sources = [
481 "src/client/linux/crash_generation/crash_generation_client.cc", 490 "src/client/linux/crash_generation/crash_generation_client.cc",
482 "src/client/linux/crash_generation/crash_generation_client.h", 491 "src/client/linux/crash_generation/crash_generation_client.h",
483 "src/client/linux/dump_writer_common/mapping_info.h", 492 "src/client/linux/dump_writer_common/mapping_info.h",
484 "src/client/linux/dump_writer_common/thread_info.cc", 493 "src/client/linux/dump_writer_common/thread_info.cc",
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 } 865 }
857 } 866 }
858 867
859 test_runner_script("breakpad_unittests__test_runner_script") { 868 test_runner_script("breakpad_unittests__test_runner_script") {
860 test_name = "breakpad_unittests" 869 test_name = "breakpad_unittests"
861 test_type = "gtest" 870 test_type = "gtest"
862 test_suite = "breakpad_unittests" 871 test_suite = "breakpad_unittests"
863 isolate_file = "breakpad_unittests.isolate" 872 isolate_file = "breakpad_unittests.isolate"
864 } 873 }
865 } 874 }
OLDNEW
« no previous file with comments | « no previous file | build/symlink.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698