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

Side by Side Diff: webrtc/modules/video_coding/BUILD.gn

Issue 1639273002: H264: Thread-safe InitializeFFmpeg. Flag to control if InitializeFFmpeg should be called. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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) 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/webrtc.gni") 9 import("../../build/webrtc.gni")
10 10
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 configs -= [ "//build/config/clang:find_bad_constructs" ] 133 configs -= [ "//build/config/clang:find_bad_constructs" ]
134 } 134 }
135 135
136 defines = [] 136 defines = []
137 deps = [ 137 deps = [
138 "../../system_wrappers", 138 "../../system_wrappers",
139 ] 139 ]
140 140
141 if (rtc_use_h264) { 141 if (rtc_use_h264) {
142 defines += [ "WEBRTC_THIRD_PARTY_H264" ] 142 defines += [ "WEBRTC_THIRD_PARTY_H264" ]
143 if (!rtc_skip_ffmpeg_init) {
stefan-webrtc 2016/01/27 14:00:38 Doesn't it make more sense to call this rtc_init_f
hbos 2016/01/28 10:31:09 Yeah you're right, heh, I made it that way so I co
144 defines += [ "WEBRTC_INITIALIZE_FFMPEG" ]
145 }
143 sources += [ 146 sources += [
144 "codecs/h264/h264_decoder_impl.cc", 147 "codecs/h264/h264_decoder_impl.cc",
145 "codecs/h264/h264_decoder_impl.h", 148 "codecs/h264/h264_decoder_impl.h",
146 "codecs/h264/h264_encoder_impl.cc", 149 "codecs/h264/h264_encoder_impl.cc",
147 "codecs/h264/h264_encoder_impl.h", 150 "codecs/h264/h264_encoder_impl.h",
148 ] 151 ]
149 deps += [ 152 deps += [
150 "//third_party/ffmpeg:ffmpeg", 153 "//third_party/ffmpeg:ffmpeg",
151 "//third_party/openh264:encoder", 154 "//third_party/openh264:encoder",
152 ] 155 ]
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 246
244 deps = [ 247 deps = [
245 ":video_coding_utility", 248 ":video_coding_utility",
246 "../../common_video", 249 "../../common_video",
247 "../../system_wrappers", 250 "../../system_wrappers",
248 ] 251 ]
249 if (rtc_build_libvpx) { 252 if (rtc_build_libvpx) {
250 deps += [ rtc_libvpx_dir ] 253 deps += [ rtc_libvpx_dir ]
251 } 254 }
252 } 255 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698