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

Unified Diff: build/config/BUILDCONFIG.gn

Issue 1476923004: [Chromecast] Include all stdlibc++/libgcc symbols in cast_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Add shlib ldflags for GN 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 side-by-side diff with in-line comments
Download patch
Index: build/config/BUILDCONFIG.gn
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn
index 3eed120832f10c091058706af881c439adc0454c..3c3b65dba02872148de9c6dd225566634003dec7 100644
--- a/build/config/BUILDCONFIG.gn
+++ b/build/config/BUILDCONFIG.gn
@@ -507,10 +507,12 @@ if (is_win) {
"//build/config/mac:mac_dynamic_flags",
"//build/config/mac:mac_executable_flags",
]
-} else if (is_linux || is_android) {
+} else if (is_linux || is_android || is_chromecast) {
_executable_configs += [ "//build/config/gcc:executable_ldconfig" ]
if (is_android) {
_executable_configs += [ "//build/config/android:executable_config" ]
+ } else if (is_chromecast) {
+ _executable_configs += [ "//build/config/chromecast:executable_config" ]
}
}
set_defaults("executable") {
@@ -535,6 +537,8 @@ if (is_win) {
# want this can remove this config.
_shared_library_configs +=
[ "//build/config/android:hide_native_jni_exports" ]
+} else if (is_chromecast) {
+ _shared_library_configs += [ "//build/config/chromecast:shlib_config" ]
}
set_defaults("shared_library") {
configs = _shared_library_configs

Powered by Google App Engine
This is Rietveld 408576698