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

Side by Side Diff: webrtc/build/webrtc.gni

Issue 1575913003: H.264: Default flags and pulling in openh264 and ffmpeg. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added TODO-comment to clarify flag is not correctly used yet 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
« no previous file with comments | « webrtc/build/common.gypi ('k') | webrtc/modules/video_coding/BUILD.gn » ('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) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 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 import("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 import("//build/config/mips.gni") 10 import("//build/config/mips.gni")
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 } 83 }
84 84
85 # Determines whether NEON code will be built. 85 # Determines whether NEON code will be built.
86 rtc_build_with_neon = 86 rtc_build_with_neon =
87 (current_cpu == "arm" && (arm_use_neon || arm_optionally_use_neon)) || 87 (current_cpu == "arm" && (arm_use_neon || arm_optionally_use_neon)) ||
88 current_cpu == "arm64" 88 current_cpu == "arm64"
89 89
90 # Enable this to use HW H.264 encoder/decoder on iOS PeerConnections. 90 # Enable this to use HW H.264 encoder/decoder on iOS PeerConnections.
91 # Enabling this may break interop with Android clients that support H264. 91 # Enabling this may break interop with Android clients that support H264.
92 rtc_use_objc_h264 = false 92 rtc_use_objc_h264 = false
93
94 # Enable this to build H.264 encoder/decoder using third party libraries.
95 # Encoding uses OpenH264 and decoding uses FFmpeg. Because of this, OpenH264
96 # and FFmpeg have to be correctly enabled separately.
97 # - use_openh264=true is required for OpenH264 targets to be defined.
98 # - ffmpeg_branding="Chrome" is one way to support H.264 decoding in FFmpeg.
99 # FFmpeg can be built with/without H.264 support, see 'ffmpeg_branding'.
100 # Without it, it compiles but H264DecoderImpl fails to initialize.
101 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING.
102 # http://www.openh264.org, https://www.ffmpeg.org/
103 use_third_party_h264 = false # TODO(hbos): To be used in follow-up CL(s).
93 } 104 }
94 105
95 # Make it possible to provide custom locations for some libraries (move these 106 # Make it possible to provide custom locations for some libraries (move these
96 # up into declare_args should we need to actually use them for the GN build). 107 # up into declare_args should we need to actually use them for the GN build).
97 rtc_libvpx_dir = "//third_party/libvpx_new" 108 rtc_libvpx_dir = "//third_party/libvpx_new"
98 rtc_libyuv_dir = "//third_party/libyuv" 109 rtc_libyuv_dir = "//third_party/libyuv"
99 rtc_opus_dir = "//third_party/opus" 110 rtc_opus_dir = "//third_party/opus"
OLDNEW
« no previous file with comments | « webrtc/build/common.gypi ('k') | webrtc/modules/video_coding/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698