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

Side by Side Diff: webrtc/build/common.gypi

Issue 1826453004: Add visibility flag to GYP. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rename gyp var Created 4 years, 9 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 | « no previous file | webrtc/build/ios/build_ios_libs.sh » ('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 (c) 2012 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 # This file contains common settings for building WebRTC components. 9 # This file contains common settings for building WebRTC components.
10 10
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 # Determines whether NEON code will be built. 134 # Determines whether NEON code will be built.
135 'build_with_neon%': 0, 135 'build_with_neon%': 0,
136 136
137 # Disable this to skip building source requiring GTK. 137 # Disable this to skip building source requiring GTK.
138 'use_gtk%': 1, 138 'use_gtk%': 1,
139 139
140 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections. 140 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections.
141 # Enabling this may break interop with Android clients that support H264. 141 # Enabling this may break interop with Android clients that support H264.
142 'use_objc_h264%': 0, 142 'use_objc_h264%': 0,
143 143
144 # Enable this to prevent extern symbols from being hidden on iOS builds.
145 # The chromium settings we inherit hide symbols by default on Release
146 # builds. We want our symbols to be visible when distributing WebRTC via
147 # static libraries to avoid linker warnings.
148 'ios_override_visibility%': 0,
149
144 # Determines whether QUIC code will be built. 150 # Determines whether QUIC code will be built.
145 'use_quic%': 0, 151 'use_quic%': 0,
146 152
147 'conditions': [ 153 'conditions': [
148 # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported 154 # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported
149 # on all platforms except Android and iOS. Because FFmpeg can be built 155 # on all platforms except Android and iOS. Because FFmpeg can be built
150 # with/without H.264 support, |ffmpeg_branding| has to separately be set 156 # with/without H.264 support, |ffmpeg_branding| has to separately be set
151 # to a value that includes H.264, for example "Chrome". If FFmpeg is built 157 # to a value that includes H.264, for example "Chrome". If FFmpeg is built
152 # without H.264, compilation succeeds but |H264DecoderImpl| fails to 158 # without H.264, compilation succeeds but |H264DecoderImpl| fails to
153 # initialize. See also: |rtc_initialize_ffmpeg|. 159 # initialize. See also: |rtc_initialize_ffmpeg|.
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 'defines': [ 379 'defines': [
374 'WEBRTC_POSIX', 380 'WEBRTC_POSIX',
375 ], 381 ],
376 }], 382 }],
377 ['OS=="ios"', { 383 ['OS=="ios"', {
378 'defines': [ 384 'defines': [
379 'WEBRTC_MAC', 385 'WEBRTC_MAC',
380 'WEBRTC_IOS', 386 'WEBRTC_IOS',
381 ], 387 ],
382 }], 388 }],
389 ['OS=="ios" and ios_override_visibility==1', {
390 'xcode_settings': {
391 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'NO',
392 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
393 }
394 }],
383 ['OS=="ios" and use_objc_h264==1', { 395 ['OS=="ios" and use_objc_h264==1', {
384 'defines': [ 396 'defines': [
385 'WEBRTC_OBJC_H264', 397 'WEBRTC_OBJC_H264',
386 ], 398 ],
387 }], 399 }],
388 ['OS=="linux"', { 400 ['OS=="linux"', {
389 'defines': [ 401 'defines': [
390 'WEBRTC_LINUX', 402 'WEBRTC_LINUX',
391 ], 403 ],
392 }], 404 }],
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 # For access to standard POSIXish features, use WEBRTC_POSIX instead 500 # For access to standard POSIXish features, use WEBRTC_POSIX instead
489 # of a more specific macro. 501 # of a more specific macro.
490 'defines': [ 502 'defines': [
491 'WEBRTC_POSIX', 503 'WEBRTC_POSIX',
492 ], 504 ],
493 }], 505 }],
494 ], 506 ],
495 }, 507 },
496 }, # target_defaults 508 }, # target_defaults
497 } 509 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/build/ios/build_ios_libs.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698