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

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

Issue 2976293002: Remove remains of webrtc/base (Closed)
Patch Set: Add README.md Created 3 years, 5 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("../../webrtc.gni") 9 import("../../webrtc.gni")
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 deps = [ 91 deps = [
92 ":video_coding_utility", 92 ":video_coding_utility",
93 ":webrtc_h264", 93 ":webrtc_h264",
94 ":webrtc_i420", 94 ":webrtc_i420",
95 ":webrtc_vp8", 95 ":webrtc_vp8",
96 ":webrtc_vp9", 96 ":webrtc_vp9",
97 "..:module_api", 97 "..:module_api",
98 "../..:video_stream_api", 98 "../..:video_stream_api",
99 "../..:webrtc_common", 99 "../..:webrtc_common",
100 "../../base:rtc_base",
101 "../../base:rtc_base_approved",
102 "../../base:rtc_numerics",
103 "../../base:rtc_task_queue",
104 "../../base:sequenced_task_checker",
105 "../../common_video", 100 "../../common_video",
101 "../../rtc_base:rtc_base",
102 "../../rtc_base:rtc_base_approved",
103 "../../rtc_base:rtc_numerics",
104 "../../rtc_base:rtc_task_queue",
105 "../../rtc_base:sequenced_task_checker",
106 "../../system_wrappers", 106 "../../system_wrappers",
107 "../rtp_rtcp:rtp_rtcp", 107 "../rtp_rtcp:rtp_rtcp",
108 "../utility:utility", 108 "../utility:utility",
109 ] 109 ]
110 } 110 }
111 111
112 rtc_static_library("video_coding_utility") { 112 rtc_static_library("video_coding_utility") {
113 sources = [ 113 sources = [
114 "utility/default_video_bitrate_allocator.cc", 114 "utility/default_video_bitrate_allocator.cc",
115 "utility/default_video_bitrate_allocator.h", 115 "utility/default_video_bitrate_allocator.h",
(...skipping 13 matching lines...) Expand all
129 129
130 if (!build_with_chromium && is_clang) { 130 if (!build_with_chromium && is_clang) {
131 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 131 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
132 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 132 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
133 } 133 }
134 134
135 deps = [ 135 deps = [
136 "..:module_api", 136 "..:module_api",
137 "../..:webrtc_common", 137 "../..:webrtc_common",
138 "../../api/video_codecs:video_codecs_api", 138 "../../api/video_codecs:video_codecs_api",
139 "../../base:rtc_base_approved",
140 "../../base:rtc_numerics",
141 "../../base:rtc_task_queue",
142 "../../base:sequenced_task_checker",
143 "../../common_video", 139 "../../common_video",
144 "../../modules/rtp_rtcp:rtp_rtcp", 140 "../../modules/rtp_rtcp:rtp_rtcp",
141 "../../rtc_base:rtc_base_approved",
142 "../../rtc_base:rtc_numerics",
143 "../../rtc_base:rtc_task_queue",
144 "../../rtc_base:sequenced_task_checker",
145 "../../system_wrappers", 145 "../../system_wrappers",
146 ] 146 ]
147 } 147 }
148 148
149 rtc_static_library("webrtc_h264") { 149 rtc_static_library("webrtc_h264") {
150 sources = [ 150 sources = [
151 "codecs/h264/h264.cc", 151 "codecs/h264/h264.cc",
152 "codecs/h264/include/h264.h", 152 "codecs/h264/include/h264.h",
153 ] 153 ]
154 154
155 if (!build_with_chromium && is_clang) { 155 if (!build_with_chromium && is_clang) {
156 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 156 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
157 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 157 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
158 } 158 }
159 159
160 defines = [] 160 defines = []
161 deps = [ 161 deps = [
162 ":video_coding_utility", 162 ":video_coding_utility",
163 "../../base:rtc_base_approved",
164 "../../media:rtc_media_base", 163 "../../media:rtc_media_base",
164 "../../rtc_base:rtc_base_approved",
165 "../../system_wrappers", 165 "../../system_wrappers",
166 ] 166 ]
167 167
168 if (rtc_use_h264) { 168 if (rtc_use_h264) {
169 defines += [ "WEBRTC_USE_H264" ] 169 defines += [ "WEBRTC_USE_H264" ]
170 if (rtc_initialize_ffmpeg) { 170 if (rtc_initialize_ffmpeg) {
171 defines += [ "WEBRTC_INITIALIZE_FFMPEG" ] 171 defines += [ "WEBRTC_INITIALIZE_FFMPEG" ]
172 } 172 }
173 sources += [ 173 sources += [
174 "codecs/h264/h264_decoder_impl.cc", 174 "codecs/h264/h264_decoder_impl.cc",
(...skipping 16 matching lines...) Expand all
191 "codecs/i420/include/i420.h", 191 "codecs/i420/include/i420.h",
192 ] 192 ]
193 193
194 if (!build_with_chromium && is_clang) { 194 if (!build_with_chromium && is_clang) {
195 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 195 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
196 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 196 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
197 } 197 }
198 198
199 deps = [ 199 deps = [
200 "../..:webrtc_common", 200 "../..:webrtc_common",
201 "../../base:rtc_base_approved",
202 "../../common_video:common_video", 201 "../../common_video:common_video",
202 "../../rtc_base:rtc_base_approved",
203 "../../system_wrappers", 203 "../../system_wrappers",
204 ] 204 ]
205 } 205 }
206 206
207 rtc_static_library("webrtc_vp8") { 207 rtc_static_library("webrtc_vp8") {
208 sources = [ 208 sources = [
209 "codecs/vp8/default_temporal_layers.cc", 209 "codecs/vp8/default_temporal_layers.cc",
210 "codecs/vp8/default_temporal_layers.h", 210 "codecs/vp8/default_temporal_layers.h",
211 "codecs/vp8/include/vp8.h", 211 "codecs/vp8/include/vp8.h",
212 "codecs/vp8/include/vp8_common_types.h", 212 "codecs/vp8/include/vp8_common_types.h",
(...skipping 12 matching lines...) Expand all
225 if (!build_with_chromium && is_clang) { 225 if (!build_with_chromium && is_clang) {
226 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 226 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
227 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 227 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
228 } 228 }
229 229
230 deps = [ 230 deps = [
231 ":video_coding_utility", 231 ":video_coding_utility",
232 "..:module_api", 232 "..:module_api",
233 "../..:webrtc_common", 233 "../..:webrtc_common",
234 "../../api/video_codecs:video_codecs_api", 234 "../../api/video_codecs:video_codecs_api",
235 "../../base:rtc_base_approved",
236 "../../base:sequenced_task_checker",
237 "../../common_video", 235 "../../common_video",
236 "../../rtc_base:rtc_base_approved",
237 "../../rtc_base:sequenced_task_checker",
238 "../../system_wrappers", 238 "../../system_wrappers",
239 ] 239 ]
240 if (rtc_build_libvpx) { 240 if (rtc_build_libvpx) {
241 deps += [ rtc_libvpx_dir ] 241 deps += [ rtc_libvpx_dir ]
242 } 242 }
243 } 243 }
244 244
245 rtc_static_library("webrtc_vp9") { 245 rtc_static_library("webrtc_vp9") {
246 if (rtc_libvpx_build_vp9) { 246 if (rtc_libvpx_build_vp9) {
247 sources = [ 247 sources = [
(...skipping 12 matching lines...) Expand all
260 } 260 }
261 261
262 if (!build_with_chromium && is_clang) { 262 if (!build_with_chromium && is_clang) {
263 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 263 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
264 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 264 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
265 } 265 }
266 266
267 deps = [ 267 deps = [
268 ":video_coding_utility", 268 ":video_coding_utility",
269 "..:module_api", 269 "..:module_api",
270 "../../base:rtc_base_approved",
271 "../../common_video", 270 "../../common_video",
271 "../../rtc_base:rtc_base_approved",
272 "../../system_wrappers", 272 "../../system_wrappers",
273 ] 273 ]
274 if (rtc_build_libvpx) { 274 if (rtc_build_libvpx) {
275 deps += [ rtc_libvpx_dir ] 275 deps += [ rtc_libvpx_dir ]
276 } 276 }
277 } 277 }
278 278
279 if (rtc_include_tests) { 279 if (rtc_include_tests) {
280 rtc_source_set("simulcast_test_utility") { 280 rtc_source_set("simulcast_test_utility") {
281 testonly = true 281 testonly = true
282 sources = [ 282 sources = [
283 "codecs/vp8/simulcast_test_utility.h", 283 "codecs/vp8/simulcast_test_utility.h",
284 ] 284 ]
285 285
286 if (!build_with_chromium && is_clang) { 286 if (!build_with_chromium && is_clang) {
287 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 287 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
288 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 288 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
289 } 289 }
290 290
291 deps = [ 291 deps = [
292 ":video_coding", 292 ":video_coding",
293 ":webrtc_vp8", 293 ":webrtc_vp8",
294 "../../api:video_frame_api", 294 "../../api:video_frame_api",
295 "../../base:rtc_base_approved",
296 "../../common_video:common_video", 295 "../../common_video:common_video",
296 "../../rtc_base:rtc_base_approved",
297 "../../test:test_support", 297 "../../test:test_support",
298 ] 298 ]
299 } 299 }
300 300
301 rtc_executable("video_quality_measurement") { 301 rtc_executable("video_quality_measurement") {
302 testonly = true 302 testonly = true
303 303
304 sources = [ 304 sources = [
305 "codecs/tools/video_quality_measurement.cc", 305 "codecs/tools/video_quality_measurement.cc",
306 ] 306 ]
307 307
308 if (!build_with_chromium && is_clang) { 308 if (!build_with_chromium && is_clang) {
309 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 309 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
310 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 310 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
311 } 311 }
312 312
313 deps = [ 313 deps = [
314 ":video_codecs_test_framework", 314 ":video_codecs_test_framework",
315 ":video_coding", 315 ":video_coding",
316 ":webrtc_vp8", 316 ":webrtc_vp8",
317 "../..:webrtc_common", 317 "../..:webrtc_common",
318 "../../base:rtc_base_approved", 318 "../../rtc_base:rtc_base_approved",
319 "../../system_wrappers:field_trial_default", 319 "../../system_wrappers:field_trial_default",
320 "../../system_wrappers:metrics_default", 320 "../../system_wrappers:metrics_default",
321 "../../system_wrappers:system_wrappers", 321 "../../system_wrappers:system_wrappers",
322 "../../test:test_support", 322 "../../test:test_support",
323 "../../test:video_test_common", 323 "../../test:video_test_common",
324 "../../test:video_test_support", 324 "../../test:video_test_support",
325 "../video_capture", 325 "../video_capture",
326 "//third_party/gflags", 326 "//third_party/gflags",
327 ] 327 ]
328 } # video_quality_measurement 328 } # video_quality_measurement
(...skipping 18 matching lines...) Expand all
347 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 347 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
348 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 348 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
349 } 349 }
350 350
351 deps = [ 351 deps = [
352 ":video_coding", 352 ":video_coding",
353 ":video_coding_utility", 353 ":video_coding_utility",
354 ":webrtc_vp8", 354 ":webrtc_vp8",
355 "../..:webrtc_common", 355 "../..:webrtc_common",
356 "../../api/video_codecs:video_codecs_api", 356 "../../api/video_codecs:video_codecs_api",
357 "../../base:rtc_base_approved",
358 "../../common_video:common_video", 357 "../../common_video:common_video",
358 "../../rtc_base:rtc_base_approved",
359 "../../system_wrappers:system_wrappers", 359 "../../system_wrappers:system_wrappers",
360 "../../test:test_support", 360 "../../test:test_support",
361 "../../test:video_test_common", 361 "../../test:video_test_common",
362 "../../test:video_test_support", 362 "../../test:video_test_support",
363 ] 363 ]
364 } 364 }
365 365
366 rtc_source_set("video_coding_videoprocessor_integration_test") { 366 rtc_source_set("video_coding_videoprocessor_integration_test") {
367 testonly = true 367 testonly = true
368 368
369 sources = [ 369 sources = [
370 "codecs/test/videoprocessor_integrationtest.h", 370 "codecs/test/videoprocessor_integrationtest.h",
371 ] 371 ]
372 372
373 deps = [ 373 deps = [
374 ":video_codecs_test_framework", 374 ":video_codecs_test_framework",
375 ":video_coding", 375 ":video_coding",
376 ":video_coding_utility", 376 ":video_coding_utility",
377 ":webrtc_h264", 377 ":webrtc_h264",
378 ":webrtc_vp8", 378 ":webrtc_vp8",
379 ":webrtc_vp9", 379 ":webrtc_vp9",
380 "../..:webrtc_common", 380 "../..:webrtc_common",
381 "../../base:rtc_base_approved",
382 "../../media:rtc_media", 381 "../../media:rtc_media",
382 "../../rtc_base:rtc_base_approved",
383 "../../test:test_support", 383 "../../test:test_support",
384 "../../test:video_test_support", 384 "../../test:video_test_support",
385 ] 385 ]
386 386
387 if (is_android) { 387 if (is_android) {
388 sources += [ 388 sources += [
389 "codecs/test/android_test_initializer.cc", 389 "codecs/test/android_test_initializer.cc",
390 "codecs/test/android_test_initializer.h", 390 "codecs/test/android_test_initializer.h",
391 ] 391 ]
392 392
393 deps += [ 393 deps += [
394 "../../base:rtc_base_approved", 394 "../../rtc_base:rtc_base_approved",
395 "../../sdk/android:libjingle_peerconnection_jni", 395 "../../sdk/android:libjingle_peerconnection_jni",
396 "//base", 396 "//base",
397 ] 397 ]
398 } 398 }
399 399
400 if (is_ios || is_mac) { 400 if (is_ios || is_mac) {
401 deps += [ 401 deps += [
402 "../../media:rtc_media_base", 402 "../../media:rtc_media_base",
403 "../../sdk:objc_videotoolbox", 403 "../../sdk:objc_videotoolbox",
404 ] 404 ]
(...skipping 16 matching lines...) Expand all
421 "codecs/vp9/test/vp9_impl_unittest.cc", 421 "codecs/vp9/test/vp9_impl_unittest.cc",
422 ] 422 ]
423 423
424 deps = [ 424 deps = [
425 ":video_codecs_test_framework", 425 ":video_codecs_test_framework",
426 ":video_coding_videoprocessor_integration_test", 426 ":video_coding_videoprocessor_integration_test",
427 ":webrtc_h264", 427 ":webrtc_h264",
428 ":webrtc_vp8", 428 ":webrtc_vp8",
429 ":webrtc_vp9", 429 ":webrtc_vp9",
430 "../../api:video_frame_api", 430 "../../api:video_frame_api",
431 "../../base:rtc_base_approved",
432 "../../common_video:common_video", 431 "../../common_video:common_video",
432 "../../rtc_base:rtc_base_approved",
433 "../../test:test_support", 433 "../../test:test_support",
434 "../../test:video_test_common", 434 "../../test:video_test_common",
435 "../video_capture", 435 "../video_capture",
436 ] 436 ]
437 437
438 if (rtc_use_h264) { 438 if (rtc_use_h264) {
439 defines = [ "WEBRTC_VIDEOPROCESSOR_H264_TESTS" ] 439 defines = [ "WEBRTC_VIDEOPROCESSOR_H264_TESTS" ]
440 } 440 }
441 441
442 if (!build_with_chromium && is_clang) { 442 if (!build_with_chromium && is_clang) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 ":video_coding_videoprocessor_integration_test", 476 ":video_coding_videoprocessor_integration_test",
477 "../../test:test_main", 477 "../../test:test_main",
478 "../../test:video_test_common", 478 "../../test:video_test_common",
479 "../video_capture", 479 "../video_capture",
480 ] 480 ]
481 481
482 data = plot_videoprocessor_integrationtest_resources 482 data = plot_videoprocessor_integrationtest_resources
483 483
484 if (is_android) { 484 if (is_android) {
485 deps += [ 485 deps += [
486 "../../base:rtc_base_approved", 486 "../../rtc_base:rtc_base_approved",
487 487
488 # TODO(brandtr): Figure out if the java dep below could be moved into 488 # TODO(brandtr): Figure out if the java dep below could be moved into
489 # :video_coding_videoprocessor_integration_test, where it belongs. 489 # :video_coding_videoprocessor_integration_test, where it belongs.
490 # When that is done, support for Android HW codecs can be added to the 490 # When that is done, support for Android HW codecs can be added to the
491 # modules_tests target as well. 491 # modules_tests target as well.
492 "../../sdk/android:libjingle_peerconnection_java", 492 "../../sdk/android:libjingle_peerconnection_java",
493 "../../sdk/android:libjingle_peerconnection_jni", 493 "../../sdk/android:libjingle_peerconnection_jni",
494 "//base", 494 "//base",
495 "//testing/android/native_test:native_test_support", 495 "//testing/android/native_test:native_test_support",
496 ] 496 ]
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 ":video_codecs_test_framework", 568 ":video_codecs_test_framework",
569 ":video_coding", 569 ":video_coding",
570 ":video_coding_utility", 570 ":video_coding_utility",
571 ":webrtc_h264", 571 ":webrtc_h264",
572 ":webrtc_vp8", 572 ":webrtc_vp8",
573 ":webrtc_vp9", 573 ":webrtc_vp9",
574 "..:module_api", 574 "..:module_api",
575 "../..:webrtc_common", 575 "../..:webrtc_common",
576 "../../api:video_frame_api", 576 "../../api:video_frame_api",
577 "../../api/video_codecs:video_codecs_api", 577 "../../api/video_codecs:video_codecs_api",
578 "../../base:rtc_base",
579 "../../base:rtc_base_approved",
580 "../../base:rtc_task_queue",
581 "../../common_video:common_video", 578 "../../common_video:common_video",
579 "../../rtc_base:rtc_base",
580 "../../rtc_base:rtc_base_approved",
581 "../../rtc_base:rtc_task_queue",
582 "../../system_wrappers:metrics_default", 582 "../../system_wrappers:metrics_default",
583 "../../system_wrappers:system_wrappers", 583 "../../system_wrappers:system_wrappers",
584 "../../test:field_trial", 584 "../../test:field_trial",
585 "../../test:test_support", 585 "../../test:test_support",
586 "../../test:video_test_common", 586 "../../test:video_test_common",
587 "../../test:video_test_support", 587 "../../test:video_test_support",
588 "../rtp_rtcp:rtp_rtcp", 588 "../rtp_rtcp:rtp_rtcp",
589 "//testing/gmock", 589 "//testing/gmock",
590 ] 590 ]
591 if (rtc_build_libvpx) { 591 if (rtc_build_libvpx) {
592 deps += [ rtc_libvpx_dir ] 592 deps += [ rtc_libvpx_dir ]
593 } 593 }
594 if (is_win) { 594 if (is_win) {
595 cflags = [ 595 cflags = [
596 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. 596 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning.
597 "/wd4373", # virtual function override. 597 "/wd4373", # virtual function override.
598 ] 598 ]
599 } 599 }
600 600
601 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. 601 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning.
602 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 602 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
603 if (!build_with_chromium && is_clang) { 603 if (!build_with_chromium && is_clang) {
604 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 604 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
605 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 605 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
606 } 606 }
607 } 607 }
608 } 608 }
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