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

Unified Diff: webrtc/build/webrtc.gni

Issue 2391123002: Add iOS static library GN build script. (Closed)
Patch Set: Remove commented line Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/build/webrtc.gni
diff --git a/webrtc/build/webrtc.gni b/webrtc/build/webrtc.gni
index ac03959fc581cb2330a5e2f725b9ab5f07c42a19..ced30459e25f3c2dc537bc06caf038ae155ba170 100644
--- a/webrtc/build/webrtc.gni
+++ b/webrtc/build/webrtc.gni
@@ -132,6 +132,10 @@ declare_args() {
# Build sources requiring GTK. NOTICE: This is not present in Chrome OS
# build environments, even if available for Chromium builds.
rtc_use_gtk = !build_with_chromium
+
+ # Enable this to make all symbols visible when building static library
+ # targets.
+ rtc_override_visibility = false
}
# A second declare_args block, so that declarations within it can
@@ -212,6 +216,10 @@ set_defaults("rtc_static_library") {
set_defaults("rtc_shared_library") {
configs = rtc_add_configs
suppressed_configs = []
+ if (rtc_override_visibility) {
+ configs += [ "//build/config/gcc:symbol_visibility_default" ]
+ suppressed_configs += [ "//build/config/gcc:symbol_visibility_hidden" ]
+ }
}
template("rtc_test") {

Powered by Google App Engine
This is Rietveld 408576698