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

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

Issue 2300413002: GN Templates: Move common_config to the template. (Closed)
Patch Set: Add TODOs + tracking bugs. Created 4 years, 3 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/video_capture/BUILD.gn ('k') | webrtc/modules/video_processing/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/webrtc.gni") 9 import("../../build/webrtc.gni")
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 "timestamp_map.cc", 67 "timestamp_map.cc",
68 "timestamp_map.h", 68 "timestamp_map.h",
69 "timing.cc", 69 "timing.cc",
70 "timing.h", 70 "timing.h",
71 "video_coding_impl.cc", 71 "video_coding_impl.cc",
72 "video_coding_impl.h", 72 "video_coding_impl.h",
73 "video_receiver.cc", 73 "video_receiver.cc",
74 "video_sender.cc", 74 "video_sender.cc",
75 ] 75 ]
76 76
77 configs += [ "../..:common_config" ]
78 public_configs = [ "../..:common_inherited_config" ] 77 public_configs = [ "../..:common_inherited_config" ]
79 78
80 # TODO(jschuh): Bug 1348: fix this warning. 79 # TODO(jschuh): Bug 1348: fix this warning.
81 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 80 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
82 81
83 if (is_clang) { 82 if (is_clang) {
84 # Suppress warnings from Chrome's Clang plugins. 83 # Suppress warnings from Chrome's Clang plugins.
85 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 84 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
86 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 85 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
87 } 86 }
(...skipping 20 matching lines...) Expand all
108 "utility/ivf_file_writer.h", 107 "utility/ivf_file_writer.h",
109 "utility/moving_average.h", 108 "utility/moving_average.h",
110 "utility/qp_parser.cc", 109 "utility/qp_parser.cc",
111 "utility/qp_parser.h", 110 "utility/qp_parser.h",
112 "utility/quality_scaler.cc", 111 "utility/quality_scaler.cc",
113 "utility/quality_scaler.h", 112 "utility/quality_scaler.h",
114 "utility/vp8_header_parser.cc", 113 "utility/vp8_header_parser.cc",
115 "utility/vp8_header_parser.h", 114 "utility/vp8_header_parser.h",
116 ] 115 ]
117 116
118 configs += [ "../..:common_config" ]
119 public_configs = [ "../..:common_inherited_config" ] 117 public_configs = [ "../..:common_inherited_config" ]
120 118
121 if (is_clang) { 119 if (is_clang) {
122 # Suppress warnings from Chrome's Clang plugins. 120 # Suppress warnings from Chrome's Clang plugins.
123 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 121 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
124 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 122 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
125 } 123 }
126 124
127 deps = [ 125 deps = [
128 "../../common_video", 126 "../../common_video",
129 "../../system_wrappers", 127 "../../system_wrappers",
130 ] 128 ]
131 } 129 }
132 130
133 rtc_source_set("webrtc_h264") { 131 rtc_source_set("webrtc_h264") {
134 sources = [ 132 sources = [
135 "codecs/h264/h264.cc", 133 "codecs/h264/h264.cc",
136 "codecs/h264/include/h264.h", 134 "codecs/h264/include/h264.h",
137 ] 135 ]
138 136
139 configs += [ "../..:common_config" ]
140 public_configs = [ "../..:common_inherited_config" ] 137 public_configs = [ "../..:common_inherited_config" ]
141 138
142 if (is_clang) { 139 if (is_clang) {
143 # Suppress warnings from Chrome's Clang plugins. 140 # Suppress warnings from Chrome's Clang plugins.
144 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 141 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
145 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 142 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
146 } 143 }
147 144
148 defines = [] 145 defines = []
149 deps = [ 146 deps = [
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 "codecs/h264/h264_video_toolbox_encoder.mm", 180 "codecs/h264/h264_video_toolbox_encoder.mm",
184 "codecs/h264/h264_video_toolbox_nalu.cc", 181 "codecs/h264/h264_video_toolbox_nalu.cc",
185 "codecs/h264/h264_video_toolbox_nalu.h", 182 "codecs/h264/h264_video_toolbox_nalu.h",
186 ] 183 ]
187 184
188 configs += [ 185 configs += [
189 "../..:common_objc", 186 "../..:common_objc",
190 "//build/config/compiler:enable_arc", 187 "//build/config/compiler:enable_arc",
191 ] 188 ]
192 189
190 # TODO(hbos): Make webrtc_h264_video_toolbox compile with the standard set
191 # of warnings.
192 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6307
193 suppressed_configs += [ rtc_common_config ]
194
193 deps = [ 195 deps = [
194 "../../sdk:rtc_sdk_common_objc", 196 "../../sdk:rtc_sdk_common_objc",
195 ] 197 ]
196 198
197 libs = [ 199 libs = [
198 "CoreFoundation.framework", 200 "CoreFoundation.framework",
199 "CoreMedia.framework", 201 "CoreMedia.framework",
200 "CoreVideo.framework", 202 "CoreVideo.framework",
201 "VideoToolbox.framework", 203 "VideoToolbox.framework",
202 ] 204 ]
(...skipping 15 matching lines...) Expand all
218 } 220 }
219 } 221 }
220 } 222 }
221 223
222 rtc_source_set("webrtc_i420") { 224 rtc_source_set("webrtc_i420") {
223 sources = [ 225 sources = [
224 "codecs/i420/i420.cc", 226 "codecs/i420/i420.cc",
225 "codecs/i420/include/i420.h", 227 "codecs/i420/include/i420.h",
226 ] 228 ]
227 229
228 configs += [ "../..:common_config" ]
229 public_configs = [ "../..:common_inherited_config" ] 230 public_configs = [ "../..:common_inherited_config" ]
230 231
231 if (is_clang) { 232 if (is_clang) {
232 # Suppress warnings from Chrome's Clang plugins. 233 # Suppress warnings from Chrome's Clang plugins.
233 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 234 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
234 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 235 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
235 } 236 }
236 237
237 deps = [ 238 deps = [
238 "../../system_wrappers", 239 "../../system_wrappers",
(...skipping 11 matching lines...) Expand all
250 "codecs/vp8/reference_picture_selection.h", 251 "codecs/vp8/reference_picture_selection.h",
251 "codecs/vp8/screenshare_layers.cc", 252 "codecs/vp8/screenshare_layers.cc",
252 "codecs/vp8/screenshare_layers.h", 253 "codecs/vp8/screenshare_layers.h",
253 "codecs/vp8/simulcast_encoder_adapter.cc", 254 "codecs/vp8/simulcast_encoder_adapter.cc",
254 "codecs/vp8/simulcast_encoder_adapter.h", 255 "codecs/vp8/simulcast_encoder_adapter.h",
255 "codecs/vp8/temporal_layers.h", 256 "codecs/vp8/temporal_layers.h",
256 "codecs/vp8/vp8_impl.cc", 257 "codecs/vp8/vp8_impl.cc",
257 "codecs/vp8/vp8_impl.h", 258 "codecs/vp8/vp8_impl.h",
258 ] 259 ]
259 260
260 configs += [ "../..:common_config" ]
261 public_configs = [ "../..:common_inherited_config" ] 261 public_configs = [ "../..:common_inherited_config" ]
262 262
263 # TODO(jschuh): Bug 1348: fix this warning. 263 # TODO(jschuh): Bug 1348: fix this warning.
264 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 264 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
265 265
266 if (is_clang) { 266 if (is_clang) {
267 # Suppress warnings from Chrome's Clang plugins. 267 # Suppress warnings from Chrome's Clang plugins.
268 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 268 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
269 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 269 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
270 } 270 }
(...skipping 13 matching lines...) Expand all
284 sources = [ 284 sources = [
285 "codecs/vp9/include/vp9.h", 285 "codecs/vp9/include/vp9.h",
286 "codecs/vp9/screenshare_layers.cc", 286 "codecs/vp9/screenshare_layers.cc",
287 "codecs/vp9/screenshare_layers.h", 287 "codecs/vp9/screenshare_layers.h",
288 "codecs/vp9/vp9_frame_buffer_pool.cc", 288 "codecs/vp9/vp9_frame_buffer_pool.cc",
289 "codecs/vp9/vp9_frame_buffer_pool.h", 289 "codecs/vp9/vp9_frame_buffer_pool.h",
290 "codecs/vp9/vp9_impl.cc", 290 "codecs/vp9/vp9_impl.cc",
291 "codecs/vp9/vp9_impl.h", 291 "codecs/vp9/vp9_impl.h",
292 ] 292 ]
293 293
294 configs += [ "../..:common_config" ]
295 public_configs = [ "../..:common_inherited_config" ] 294 public_configs = [ "../..:common_inherited_config" ]
296 295
297 if (is_clang) { 296 if (is_clang) {
298 # Suppress warnings from Chrome's Clang plugins. 297 # Suppress warnings from Chrome's Clang plugins.
299 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 298 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
300 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 299 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
301 } 300 }
302 301
303 deps = [ 302 deps = [
304 ":video_coding_utility", 303 ":video_coding_utility",
(...skipping 13 matching lines...) Expand all
318 "codecs/test/packet_manipulator.cc", 317 "codecs/test/packet_manipulator.cc",
319 "codecs/test/packet_manipulator.h", 318 "codecs/test/packet_manipulator.h",
320 "codecs/test/predictive_packet_manipulator.cc", 319 "codecs/test/predictive_packet_manipulator.cc",
321 "codecs/test/predictive_packet_manipulator.h", 320 "codecs/test/predictive_packet_manipulator.h",
322 "codecs/test/stats.cc", 321 "codecs/test/stats.cc",
323 "codecs/test/stats.h", 322 "codecs/test/stats.h",
324 "codecs/test/videoprocessor.cc", 323 "codecs/test/videoprocessor.cc",
325 "codecs/test/videoprocessor.h", 324 "codecs/test/videoprocessor.h",
326 ] 325 ]
327 326
328 configs += [ "../..:common_config" ]
329 public_configs = [ "../..:common_inherited_config" ] 327 public_configs = [ "../..:common_inherited_config" ]
330 328
331 if (is_clang) { 329 if (is_clang) {
332 # Suppress warnings from Chrome's Clang plugins. 330 # Suppress warnings from Chrome's Clang plugins.
333 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 331 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
334 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 332 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
335 } 333 }
336 334
337 deps = [ 335 deps = [
338 "../../test:test_support", 336 "../../test:test_support",
339 ] 337 ]
340 } 338 }
341 } 339 }
OLDNEW
« no previous file with comments | « webrtc/modules/video_capture/BUILD.gn ('k') | webrtc/modules/video_processing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698