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

Side by Side Diff: chromecast/crash/BUILD.gn

Issue 2288953002: [Chromecast] Only include all libstdc++/libgcc symbols in executable as needed (Closed)
Patch Set: Refactored conditional Created 4 years, 3 months 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 | « chromecast/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//chromecast/chromecast.gni") 5 import("//chromecast/chromecast.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 source_set("crash") { 8 source_set("crash") {
9 sources = [ 9 sources = [
10 "app_state_tracker.cc", 10 "app_state_tracker.cc",
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 ":crash", 55 ":crash",
56 "//base", 56 "//base",
57 "//chromecast/base", 57 "//chromecast/base",
58 "//chromecast/base:cast_sys_info", 58 "//chromecast/base:cast_sys_info",
59 "//chromecast/public", 59 "//chromecast/public",
60 "//chromecast/system/reboot:reboot_util", 60 "//chromecast/system/reboot:reboot_util",
61 ] 61 ]
62 62
63 if (chromecast_branding != "public") { 63 if (chromecast_branding != "public") {
64 deps += [ "//chromecast/base:cast_sys_info_shlib" ] 64 deps += [ "//chromecast/base:cast_sys_info_shlib" ]
65
66 # Whole archiving libgcc.a and libstdc++ is needed if dynamic share libs
67 # are used, see b/25566835.
68 configs += [ "//build/config/chromecast:executable_whole_archive_config" ]
65 } 69 }
66 } 70 }
67 71
68 source_set("test_support") { 72 source_set("test_support") {
69 sources = [ 73 sources = [
70 "linux/crash_testing_utils.cc", 74 "linux/crash_testing_utils.cc",
71 "linux/crash_testing_utils.h", 75 "linux/crash_testing_utils.h",
72 ] 76 ]
73 77
74 deps = [ 78 deps = [
(...skipping 23 matching lines...) Expand all
98 "//breakpad:client", 102 "//breakpad:client",
99 "//chromecast/base:cast_sys_info", 103 "//chromecast/base:cast_sys_info",
100 "//chromecast/base:test_support", 104 "//chromecast/base:test_support",
101 "//components/metrics", 105 "//components/metrics",
102 "//components/prefs:test_support", 106 "//components/prefs:test_support",
103 "//testing/gmock", 107 "//testing/gmock",
104 "//testing/gtest", 108 "//testing/gtest",
105 ] 109 ]
106 } 110 }
107 } 111 }
OLDNEW
« no previous file with comments | « chromecast/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698