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

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

Issue 1306813009: H.264 video codec support using OpenH264/FFmpeg (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: (Alphabetical sorting in common_video.gyp deps) Created 4 years, 10 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/modules/modules.gyp ('k') | webrtc/modules/video_coding/codecs/h264/h264.cc » ('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/webrtc.gni") 9 import("../../build/webrtc.gni")
10 10
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 configs += [ "../..:common_config" ] 127 configs += [ "../..:common_config" ]
128 public_configs = [ "../..:common_inherited_config" ] 128 public_configs = [ "../..:common_inherited_config" ]
129 129
130 if (is_clang) { 130 if (is_clang) {
131 # Suppress warnings from Chrome's Clang plugins. 131 # Suppress warnings from Chrome's Clang plugins.
132 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 132 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
133 configs -= [ "//build/config/clang:find_bad_constructs" ] 133 configs -= [ "//build/config/clang:find_bad_constructs" ]
134 } 134 }
135 135
136 defines = []
136 deps = [ 137 deps = [
137 "../../system_wrappers", 138 "../../system_wrappers",
138 ] 139 ]
139 140
140 if (rtc_use_h264) { 141 if (rtc_use_h264) {
141 # Dependency for sake of compiling and so that variables use_openh264 and 142 defines += [ "WEBRTC_THIRD_PARTY_H264" ]
142 # ffmpeg_branding are recognized build arguments (avoid "Build argument has 143 sources += [
143 # no effect" error). The variables and dependencies will be used for real as 144 "codecs/h264/h264_decoder_impl.cc",
144 # soon as https://codereview.webrtc.org/1306813009/ lands. 145 "codecs/h264/h264_decoder_impl.h",
146 "codecs/h264/h264_encoder_impl.cc",
147 "codecs/h264/h264_encoder_impl.h",
148 ]
145 deps += [ 149 deps += [
146 "//third_party/ffmpeg:ffmpeg", 150 "//third_party/ffmpeg:ffmpeg",
147 "//third_party/openh264:encoder", 151 "//third_party/openh264:encoder",
148 ] 152 ]
149 } 153 }
150 } 154 }
151 155
152 # TODO(tkchin): Source set for webrtc_h264_video_toolbox. Currently not 156 # TODO(tkchin): Source set for webrtc_h264_video_toolbox. Currently not
153 # possible to add, see https://crbug.com/297668. 157 # possible to add, see https://crbug.com/297668.
154 158
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 243
240 deps = [ 244 deps = [
241 ":video_coding_utility", 245 ":video_coding_utility",
242 "../../common_video", 246 "../../common_video",
243 "../../system_wrappers", 247 "../../system_wrappers",
244 ] 248 ]
245 if (rtc_build_libvpx) { 249 if (rtc_build_libvpx) {
246 deps += [ rtc_libvpx_dir ] 250 deps += [ rtc_libvpx_dir ]
247 } 251 }
248 } 252 }
OLDNEW
« no previous file with comments | « webrtc/modules/modules.gyp ('k') | webrtc/modules/video_coding/codecs/h264/h264.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698