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

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

Issue 2974863003: Use relative paths in GN files. (Closed)
Patch Set: 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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 } 405 }
406 } 406 }
407 407
408 rtc_source_set("video_coding_modules_tests") { 408 rtc_source_set("video_coding_modules_tests") {
409 testonly = true 409 testonly = true
410 410
411 # Skip restricting visibility on mobile platforms since the tests on those 411 # Skip restricting visibility on mobile platforms since the tests on those
412 # gets additional generated targets which would require many lines here to 412 # gets additional generated targets which would require many lines here to
413 # cover (which would be confusing to read and hard to maintain). 413 # cover (which would be confusing to read and hard to maintain).
414 if (!is_android && !is_ios) { 414 if (!is_android && !is_ios) {
415 visibility = [ "//webrtc/modules:modules_tests" ] 415 visibility = [ "..:modules_tests" ]
416 } 416 }
417 sources = [ 417 sources = [
418 "codecs/h264/test/h264_impl_unittest.cc", 418 "codecs/h264/test/h264_impl_unittest.cc",
419 "codecs/test/videoprocessor_integrationtest.cc", 419 "codecs/test/videoprocessor_integrationtest.cc",
420 "codecs/vp8/test/vp8_impl_unittest.cc", 420 "codecs/vp8/test/vp8_impl_unittest.cc",
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",
(...skipping 13 matching lines...) Expand all
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) {
443 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 443 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
444 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 444 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
445 } 445 }
446 } 446 }
447 447
448 plot_videoprocessor_integrationtest_resources = [ 448 plot_videoprocessor_integrationtest_resources = [
449 "//resources/foreman_128x96.yuv", 449 "../../../resources/foreman_128x96.yuv",
450 "//resources/foreman_160x120.yuv", 450 "../../../resources/foreman_160x120.yuv",
451 "//resources/foreman_176x144.yuv", 451 "../../../resources/foreman_176x144.yuv",
452 "//resources/foreman_320x240.yuv", 452 "../../../resources/foreman_320x240.yuv",
453 "//resources/foreman_cif.yuv", 453 "../../../resources/foreman_cif.yuv",
454 ] 454 ]
455 455
456 if (is_ios || is_mac) { 456 if (is_ios || is_mac) {
457 bundle_data("plot_videoprocessor_integrationtest_bundle_data") { 457 bundle_data("plot_videoprocessor_integrationtest_bundle_data") {
458 testonly = true 458 testonly = true
459 sources = plot_videoprocessor_integrationtest_resources 459 sources = plot_videoprocessor_integrationtest_resources
460 outputs = [ 460 outputs = [
461 "{{bundle_resources_dir}}/{{source_file_part}}", 461 "{{bundle_resources_dir}}/{{source_file_part}}",
462 ] 462 ]
463 } 463 }
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 } 512 }
513 } 513 }
514 514
515 rtc_source_set("video_coding_unittests") { 515 rtc_source_set("video_coding_unittests") {
516 testonly = true 516 testonly = true
517 517
518 # Skip restricting visibility on mobile platforms since the tests on those 518 # Skip restricting visibility on mobile platforms since the tests on those
519 # gets additional generated targets which would require many lines here to 519 # gets additional generated targets which would require many lines here to
520 # cover (which would be confusing to read and hard to maintain). 520 # cover (which would be confusing to read and hard to maintain).
521 if (!is_android && !is_ios) { 521 if (!is_android && !is_ios) {
522 visibility = [ "//webrtc/modules:modules_unittests" ] 522 visibility = [ "..:modules_unittests" ]
523 } 523 }
524 sources = [ 524 sources = [
525 "codecs/test/packet_manipulator_unittest.cc", 525 "codecs/test/packet_manipulator_unittest.cc",
526 "codecs/test/stats_unittest.cc", 526 "codecs/test/stats_unittest.cc",
527 "codecs/test/videoprocessor_unittest.cc", 527 "codecs/test/videoprocessor_unittest.cc",
528 "codecs/vp8/default_temporal_layers_unittest.cc", 528 "codecs/vp8/default_temporal_layers_unittest.cc",
529 "codecs/vp8/screenshare_layers_unittest.cc", 529 "codecs/vp8/screenshare_layers_unittest.cc",
530 "codecs/vp8/simulcast_unittest.cc", 530 "codecs/vp8/simulcast_unittest.cc",
531 "decoding_state_unittest.cc", 531 "decoding_state_unittest.cc",
532 "frame_buffer2_unittest.cc", 532 "frame_buffer2_unittest.cc",
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
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