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

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

Issue 2311843002: GN Templates: Move common_inherited_config to the template. (Closed)
Patch Set: Added comment for rtc_common_inherited_config. 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 public_configs = [ "../..:common_inherited_config" ]
78
79 # TODO(jschuh): Bug 1348: fix this warning. 77 # TODO(jschuh): Bug 1348: fix this warning.
80 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 78 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
81 79
82 if (is_clang) { 80 if (is_clang) {
83 # Suppress warnings from Chrome's Clang plugins. 81 # Suppress warnings from Chrome's Clang plugins.
84 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 82 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
85 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 83 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
86 } 84 }
87 85
88 deps = [ 86 deps = [
(...skipping 18 matching lines...) Expand all
107 "utility/ivf_file_writer.h", 105 "utility/ivf_file_writer.h",
108 "utility/moving_average.h", 106 "utility/moving_average.h",
109 "utility/qp_parser.cc", 107 "utility/qp_parser.cc",
110 "utility/qp_parser.h", 108 "utility/qp_parser.h",
111 "utility/quality_scaler.cc", 109 "utility/quality_scaler.cc",
112 "utility/quality_scaler.h", 110 "utility/quality_scaler.h",
113 "utility/vp8_header_parser.cc", 111 "utility/vp8_header_parser.cc",
114 "utility/vp8_header_parser.h", 112 "utility/vp8_header_parser.h",
115 ] 113 ]
116 114
117 public_configs = [ "../..:common_inherited_config" ]
118
119 if (is_clang) { 115 if (is_clang) {
120 # Suppress warnings from Chrome's Clang plugins. 116 # Suppress warnings from Chrome's Clang plugins.
121 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 117 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
122 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 118 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
123 } 119 }
124 120
125 deps = [ 121 deps = [
126 "../../common_video", 122 "../../common_video",
127 "../../system_wrappers", 123 "../../system_wrappers",
128 ] 124 ]
129 } 125 }
130 126
131 rtc_source_set("webrtc_h264") { 127 rtc_source_set("webrtc_h264") {
132 sources = [ 128 sources = [
133 "codecs/h264/h264.cc", 129 "codecs/h264/h264.cc",
134 "codecs/h264/include/h264.h", 130 "codecs/h264/include/h264.h",
135 ] 131 ]
136 132
137 public_configs = [ "../..:common_inherited_config" ]
138
139 if (is_clang) { 133 if (is_clang) {
140 # Suppress warnings from Chrome's Clang plugins. 134 # Suppress warnings from Chrome's Clang plugins.
141 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 135 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
142 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 136 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
143 } 137 }
144 138
145 defines = [] 139 defines = []
146 deps = [ 140 deps = [
147 "../../system_wrappers", 141 "../../system_wrappers",
148 ] 142 ]
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 } 214 }
221 } 215 }
222 } 216 }
223 217
224 rtc_source_set("webrtc_i420") { 218 rtc_source_set("webrtc_i420") {
225 sources = [ 219 sources = [
226 "codecs/i420/i420.cc", 220 "codecs/i420/i420.cc",
227 "codecs/i420/include/i420.h", 221 "codecs/i420/include/i420.h",
228 ] 222 ]
229 223
230 public_configs = [ "../..:common_inherited_config" ]
231
232 if (is_clang) { 224 if (is_clang) {
233 # Suppress warnings from Chrome's Clang plugins. 225 # Suppress warnings from Chrome's Clang plugins.
234 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 226 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
235 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 227 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
236 } 228 }
237 229
238 deps = [ 230 deps = [
239 "../../system_wrappers", 231 "../../system_wrappers",
240 ] 232 ]
241 } 233 }
242 234
243 rtc_source_set("webrtc_vp8") { 235 rtc_source_set("webrtc_vp8") {
244 sources = [ 236 sources = [
245 "codecs/vp8/default_temporal_layers.cc", 237 "codecs/vp8/default_temporal_layers.cc",
246 "codecs/vp8/default_temporal_layers.h", 238 "codecs/vp8/default_temporal_layers.h",
247 "codecs/vp8/include/vp8.h", 239 "codecs/vp8/include/vp8.h",
248 "codecs/vp8/include/vp8_common_types.h", 240 "codecs/vp8/include/vp8_common_types.h",
249 "codecs/vp8/realtime_temporal_layers.cc", 241 "codecs/vp8/realtime_temporal_layers.cc",
250 "codecs/vp8/reference_picture_selection.cc", 242 "codecs/vp8/reference_picture_selection.cc",
251 "codecs/vp8/reference_picture_selection.h", 243 "codecs/vp8/reference_picture_selection.h",
252 "codecs/vp8/screenshare_layers.cc", 244 "codecs/vp8/screenshare_layers.cc",
253 "codecs/vp8/screenshare_layers.h", 245 "codecs/vp8/screenshare_layers.h",
254 "codecs/vp8/simulcast_encoder_adapter.cc", 246 "codecs/vp8/simulcast_encoder_adapter.cc",
255 "codecs/vp8/simulcast_encoder_adapter.h", 247 "codecs/vp8/simulcast_encoder_adapter.h",
256 "codecs/vp8/temporal_layers.h", 248 "codecs/vp8/temporal_layers.h",
257 "codecs/vp8/vp8_impl.cc", 249 "codecs/vp8/vp8_impl.cc",
258 "codecs/vp8/vp8_impl.h", 250 "codecs/vp8/vp8_impl.h",
259 ] 251 ]
260 252
261 public_configs = [ "../..:common_inherited_config" ]
262
263 # TODO(jschuh): Bug 1348: fix this warning. 253 # TODO(jschuh): Bug 1348: fix this warning.
264 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 254 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
265 255
266 if (is_clang) { 256 if (is_clang) {
267 # Suppress warnings from Chrome's Clang plugins. 257 # Suppress warnings from Chrome's Clang plugins.
268 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 258 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
269 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 259 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
270 } 260 }
271 261
272 deps = [ 262 deps = [
(...skipping 11 matching lines...) Expand all
284 sources = [ 274 sources = [
285 "codecs/vp9/include/vp9.h", 275 "codecs/vp9/include/vp9.h",
286 "codecs/vp9/screenshare_layers.cc", 276 "codecs/vp9/screenshare_layers.cc",
287 "codecs/vp9/screenshare_layers.h", 277 "codecs/vp9/screenshare_layers.h",
288 "codecs/vp9/vp9_frame_buffer_pool.cc", 278 "codecs/vp9/vp9_frame_buffer_pool.cc",
289 "codecs/vp9/vp9_frame_buffer_pool.h", 279 "codecs/vp9/vp9_frame_buffer_pool.h",
290 "codecs/vp9/vp9_impl.cc", 280 "codecs/vp9/vp9_impl.cc",
291 "codecs/vp9/vp9_impl.h", 281 "codecs/vp9/vp9_impl.h",
292 ] 282 ]
293 283
294 public_configs = [ "../..:common_inherited_config" ]
295
296 if (is_clang) { 284 if (is_clang) {
297 # Suppress warnings from Chrome's Clang plugins. 285 # Suppress warnings from Chrome's Clang plugins.
298 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 286 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
299 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 287 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
300 } 288 }
301 289
302 deps = [ 290 deps = [
303 ":video_coding_utility", 291 ":video_coding_utility",
304 "../../common_video", 292 "../../common_video",
305 "../../system_wrappers", 293 "../../system_wrappers",
(...skipping 11 matching lines...) Expand all
317 "codecs/test/packet_manipulator.cc", 305 "codecs/test/packet_manipulator.cc",
318 "codecs/test/packet_manipulator.h", 306 "codecs/test/packet_manipulator.h",
319 "codecs/test/predictive_packet_manipulator.cc", 307 "codecs/test/predictive_packet_manipulator.cc",
320 "codecs/test/predictive_packet_manipulator.h", 308 "codecs/test/predictive_packet_manipulator.h",
321 "codecs/test/stats.cc", 309 "codecs/test/stats.cc",
322 "codecs/test/stats.h", 310 "codecs/test/stats.h",
323 "codecs/test/videoprocessor.cc", 311 "codecs/test/videoprocessor.cc",
324 "codecs/test/videoprocessor.h", 312 "codecs/test/videoprocessor.h",
325 ] 313 ]
326 314
327 public_configs = [ "../..:common_inherited_config" ]
328
329 if (is_clang) { 315 if (is_clang) {
330 # Suppress warnings from Chrome's Clang plugins. 316 # Suppress warnings from Chrome's Clang plugins.
331 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 317 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
332 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 318 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
333 } 319 }
334 320
335 deps = [ 321 deps = [
336 "../../test:test_support", 322 "../../test:test_support",
337 ] 323 ]
338 } 324 }
339 } 325 }
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