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

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

Issue 2366443003: iOS: Always build H264 HW encoder/decoder (Closed)
Patch Set: Remove defines 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 unified diff | Download patch
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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 # choosing openssl or nss directly. In practice, this can be used to 156 # choosing openssl or nss directly. In practice, this can be used to
157 # enable schannel on windows. 157 # enable schannel on windows.
158 'use_legacy_ssl_defaults%': 0, 158 'use_legacy_ssl_defaults%': 0,
159 159
160 # Determines whether NEON code will be built. 160 # Determines whether NEON code will be built.
161 'build_with_neon%': 0, 161 'build_with_neon%': 0,
162 162
163 # Disable this to skip building source requiring GTK. 163 # Disable this to skip building source requiring GTK.
164 'use_gtk%': 1, 164 'use_gtk%': 1,
165 165
166 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections.
167 # Enabling this may break interop with Android clients that support H264.
168 'use_objc_h264%': 0,
169
170 # Enable this to prevent extern symbols from being hidden on iOS builds. 166 # Enable this to prevent extern symbols from being hidden on iOS builds.
171 # The chromium settings we inherit hide symbols by default on Release 167 # The chromium settings we inherit hide symbols by default on Release
172 # builds. We want our symbols to be visible when distributing WebRTC via 168 # builds. We want our symbols to be visible when distributing WebRTC via
173 # static libraries to avoid linker warnings. 169 # static libraries to avoid linker warnings.
174 'ios_override_visibility%': 0, 170 'ios_override_visibility%': 0,
175 171
176 # Determines whether QUIC code will be built. 172 # Determines whether QUIC code will be built.
177 'use_quic%': 0, 173 'use_quic%': 0,
178 174
179 # By default, use normal platform audio support or dummy audio, but don't 175 # By default, use normal platform audio support or dummy audio, but don't
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 'WEBRTC_MAC', 436 'WEBRTC_MAC',
441 'WEBRTC_IOS', 437 'WEBRTC_IOS',
442 ], 438 ],
443 }], 439 }],
444 ['OS=="ios" and ios_override_visibility==1', { 440 ['OS=="ios" and ios_override_visibility==1', {
445 'xcode_settings': { 441 'xcode_settings': {
446 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'NO', 442 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'NO',
447 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', 443 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
448 } 444 }
449 }], 445 }],
450 ['OS=="ios" and use_objc_h264==1', {
451 'defines': [
452 'WEBRTC_OBJC_H264',
453 ],
454 }],
455 ['OS=="linux"', { 446 ['OS=="linux"', {
456 'defines': [ 447 'defines': [
457 'WEBRTC_LINUX', 448 'WEBRTC_LINUX',
458 ], 449 ],
459 }], 450 }],
460 ['OS=="mac"', { 451 ['OS=="mac"', {
461 'defines': [ 452 'defines': [
462 'WEBRTC_MAC', 453 'WEBRTC_MAC',
463 ], 454 ],
464 }], 455 }],
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 }], 600 }],
610 ['OS=="freebsd"', { 601 ['OS=="freebsd"', {
611 'defines': [ 602 'defines': [
612 'FREEBSD', 603 'FREEBSD',
613 ], 604 ],
614 }], 605 }],
615 ], 606 ],
616 }, 607 },
617 }, # target_defaults 608 }, # target_defaults
618 } 609 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698