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

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

Issue 1306813009: H.264 video codec support using OpenH264/FFmpeg (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase with master Created 4 years, 11 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 # Defer ssl perference to that specified through sslconfig.h instead of 115 # Defer ssl perference to that specified through sslconfig.h instead of
116 # choosing openssl or nss directly. In practice, this can be used to 116 # choosing openssl or nss directly. In practice, this can be used to
117 # enable schannel on windows. 117 # enable schannel on windows.
118 'use_legacy_ssl_defaults%': 0, 118 'use_legacy_ssl_defaults%': 0,
119 119
120 # Determines whether NEON code will be built. 120 # Determines whether NEON code will be built.
121 'build_with_neon%': 0, 121 'build_with_neon%': 0,
122 122
123 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections. 123 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections.
124 # Enabling this may break interop with Android clients that support H264. 124 # Enabling this may break interop with Android clients that support H.264.
125 'use_objc_h264%': 0, 125 'use_objc_h264%': 0,
126 126
127 # Enable this to build H.264 encoder/decoder using third party libraries. 127 # Enable this to build H.264 encoder/decoder using third party libraries.
128 # Encoding uses OpenH264 and decoding uses FFmpeg. Because of this, OpenH264 128 # Encoding uses OpenH264 and decoding uses FFmpeg. Because of this, OpenH264
129 # and FFmpeg have to be correctly enabled separately. 129 # and FFmpeg have to be correctly enabled separately.
130 # - use_openh264=1 is required for OpenH264 targets to be defined. 130 # - use_openh264=1 is required for OpenH264 targets to be defined.
131 # - ffmpeg_branding=Chrome is one way to support H.264 decoding in FFmpeg. 131 # - ffmpeg_branding=Chrome is one way to support H.264 decoding in FFmpeg.
132 # FFmpeg can be built with/without H.264 support, see 'ffmpeg_branding'. 132 # FFmpeg can be built with/without H.264 support, see 'ffmpeg_branding'.
133 # Without it, it compiles but H264DecoderImpl fails to initialize. 133 # Without it, it compiles but H264DecoderImpl fails to initialize.
134 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. 134 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING.
135 # http://www.openh264.org, https://www.ffmpeg.org/ 135 # http://www.openh264.org, https://www.ffmpeg.org/
136 'use_third_party_h264%': 0, # TODO(hbos): To be used in follow-up CL(s). 136 'use_third_party_h264%': 0,
137 137
138 'conditions': [ 138 'conditions': [
139 ['build_with_chromium==1', { 139 ['build_with_chromium==1', {
140 # Exclude pulse audio on Chromium since its prerequisites don't require 140 # Exclude pulse audio on Chromium since its prerequisites don't require
141 # pulse audio. 141 # pulse audio.
142 'include_pulse_audio%': 0, 142 'include_pulse_audio%': 0,
143 143
144 # Exclude internal ADM since Chromium uses its own IO handling. 144 # Exclude internal ADM since Chromium uses its own IO handling.
145 'include_internal_audio_device%': 0, 145 'include_internal_audio_device%': 0,
146 146
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 # of a more specific macro. 451 # of a more specific macro.
452 'defines': [ 452 'defines': [
453 'WEBRTC_POSIX', 453 'WEBRTC_POSIX',
454 ], 454 ],
455 }], 455 }],
456 ], 456 ],
457 }, 457 },
458 }, # target_defaults 458 }, # target_defaults
459 } 459 }
460 460
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698