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

Side by Side Diff: chromecast/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 | « build/config/chromecast/BUILD.gn ('k') | chromecast/crash/BUILD.gn » ('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 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("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/locales.gni") 7 import("//build/config/locales.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//chromecast/build/tests/cast_test.gni") 9 import("//chromecast/build/tests/cast_test.gni")
10 import("//chromecast/chromecast.gni") 10 import("//chromecast/chromecast.gni")
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 ":cast_shell_common", 216 ":cast_shell_common",
217 ":cast_shell_media", 217 ":cast_shell_media",
218 "//build/config/sanitizers:deps", 218 "//build/config/sanitizers:deps",
219 "//chromecast/app", 219 "//chromecast/app",
220 "//content/public/app:both", 220 "//content/public/app:both",
221 ] 221 ]
222 222
223 if (chromecast_branding != "public") { 223 if (chromecast_branding != "public") {
224 deps += [ "//chromecast/internal:cast_shell_internal" ] 224 deps += [ "//chromecast/internal:cast_shell_internal" ]
225 } 225 }
226
227 # Whole archiving libgcc.a and libstdc++ is needed if dynamic share libs are
228 # used, see b/25566835.
229 configs += [ "//build/config/chromecast:executable_whole_archive_config" ]
226 } 230 }
227 231
228 repack("cast_shell_pak") { 232 repack("cast_shell_pak") {
229 sources = [ 233 sources = [
230 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak" , 234 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak" ,
231 "$root_gen_dir/blink/public/resources/blink_resources.pak", 235 "$root_gen_dir/blink/public/resources/blink_resources.pak",
232 "$root_gen_dir/chromecast/app/shell_resources.pak", 236 "$root_gen_dir/chromecast/app/shell_resources.pak",
233 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak", 237 "$root_gen_dir/content/app/resources/content_resources_100_percent.pak",
234 "$root_gen_dir/content/app/strings/content_strings_en-US.pak", 238 "$root_gen_dir/content/app/strings/content_strings_en-US.pak",
235 "$root_gen_dir/content/content_resources.pak", 239 "$root_gen_dir/content/content_resources.pak",
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 apk_name = "CastShell" 335 apk_name = "CastShell"
332 android_manifest = "$root_gen_dir/cast_shell_manifest/AndroidManifest.xml" 336 android_manifest = "$root_gen_dir/cast_shell_manifest/AndroidManifest.xml"
333 android_manifest_dep = "//chromecast/browser/android:cast_shell_manifest" 337 android_manifest_dep = "//chromecast/browser/android:cast_shell_manifest"
334 deps = [ 338 deps = [
335 ":cast_shell_apk_assets", 339 ":cast_shell_apk_assets",
336 "//chromecast/android:libcast_shell_android", 340 "//chromecast/android:libcast_shell_android",
337 "//chromecast/browser/android:cast_shell_java", 341 "//chromecast/browser/android:cast_shell_java",
338 ] 342 ]
339 } 343 }
340 } 344 }
OLDNEW
« no previous file with comments | « build/config/chromecast/BUILD.gn ('k') | chromecast/crash/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698