OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |