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

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

Issue 1187573004: iOS HW H264 support. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Move unittest file. Created 5 years, 5 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 'use_lto%': 0, 117 'use_lto%': 0,
118 118
119 # Defer ssl perference to that specified through sslconfig.h instead of 119 # Defer ssl perference to that specified through sslconfig.h instead of
120 # choosing openssl or nss directly. In practice, this can be used to 120 # choosing openssl or nss directly. In practice, this can be used to
121 # enable schannel on windows. 121 # enable schannel on windows.
122 'use_legacy_ssl_defaults%': 0, 122 'use_legacy_ssl_defaults%': 0,
123 123
124 # Determines whether NEON code will be built. 124 # Determines whether NEON code will be built.
125 'build_with_neon%': 0, 125 'build_with_neon%': 0,
126 126
127 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections.
128 # Enabling this may break interop with Android clients that support H264.
129 'use_objc_h264%': 0,
130
127 'conditions': [ 131 'conditions': [
128 ['build_with_chromium==1', { 132 ['build_with_chromium==1', {
129 # Exclude pulse audio on Chromium since its prerequisites don't require 133 # Exclude pulse audio on Chromium since its prerequisites don't require
130 # pulse audio. 134 # pulse audio.
131 'include_pulse_audio%': 0, 135 'include_pulse_audio%': 0,
132 136
133 # Exclude internal ADM since Chromium uses its own IO handling. 137 # Exclude internal ADM since Chromium uses its own IO handling.
134 'include_internal_audio_device%': 0, 138 'include_internal_audio_device%': 0,
135 }, { # Settings for the standalone (not-in-Chromium) build. 139 }, { # Settings for the standalone (not-in-Chromium) build.
136 # TODO(andrew): For now, disable the Chrome plugins, which causes a 140 # TODO(andrew): For now, disable the Chrome plugins, which causes a
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 'defines': [ 330 'defines': [
327 'WEBRTC_POSIX', 331 'WEBRTC_POSIX',
328 ], 332 ],
329 }], 333 }],
330 ['OS=="ios"', { 334 ['OS=="ios"', {
331 'defines': [ 335 'defines': [
332 'WEBRTC_MAC', 336 'WEBRTC_MAC',
333 'WEBRTC_IOS', 337 'WEBRTC_IOS',
334 ], 338 ],
335 }], 339 }],
340 ['OS=="ios" and use_objc_h264==1', {
341 'defines': [
342 'WEBRTC_OBJC_H264',
343 ],
344 }],
336 ['OS=="linux"', { 345 ['OS=="linux"', {
337 'defines': [ 346 'defines': [
338 'WEBRTC_LINUX', 347 'WEBRTC_LINUX',
339 ], 348 ],
340 }], 349 }],
341 ['OS=="mac"', { 350 ['OS=="mac"', {
342 'defines': [ 351 'defines': [
343 'WEBRTC_MAC', 352 'WEBRTC_MAC',
344 ], 353 ],
345 }], 354 }],
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 # of a more specific macro. 446 # of a more specific macro.
438 'defines': [ 447 'defines': [
439 'WEBRTC_POSIX', 448 'WEBRTC_POSIX',
440 ], 449 ],
441 }], 450 }],
442 ], 451 ],
443 }, 452 },
444 }, # target_defaults 453 }, # target_defaults
445 } 454 }
446 455
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698