| OLD | NEW |
| 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 import("//testing/test.gni") | |
| 11 | 10 |
| 12 source_set("video") { | 11 rtc_source_set("video") { |
| 13 sources = [ | 12 sources = [ |
| 14 "call_stats.cc", | 13 "call_stats.cc", |
| 15 "call_stats.h", | 14 "call_stats.h", |
| 16 "encoder_state_feedback.cc", | 15 "encoder_state_feedback.cc", |
| 17 "encoder_state_feedback.h", | 16 "encoder_state_feedback.h", |
| 18 "overuse_frame_detector.cc", | 17 "overuse_frame_detector.cc", |
| 19 "overuse_frame_detector.h", | 18 "overuse_frame_detector.h", |
| 20 "payload_router.cc", | 19 "payload_router.cc", |
| 21 "payload_router.h", | 20 "payload_router.h", |
| 22 "receive_statistics_proxy.cc", | 21 "receive_statistics_proxy.cc", |
| (...skipping 25 matching lines...) Expand all Loading... |
| 48 "vie_remb.cc", | 47 "vie_remb.cc", |
| 49 "vie_remb.h", | 48 "vie_remb.h", |
| 50 ] | 49 ] |
| 51 | 50 |
| 52 configs += [ "..:common_config" ] | 51 configs += [ "..:common_config" ] |
| 53 public_configs = [ "..:common_inherited_config" ] | 52 public_configs = [ "..:common_inherited_config" ] |
| 54 | 53 |
| 55 if (is_clang) { | 54 if (is_clang) { |
| 56 # Suppress warnings from Chrome's Clang plugins. | 55 # Suppress warnings from Chrome's Clang plugins. |
| 57 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 56 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 58 configs -= [ "//build/config/clang:find_bad_constructs" ] | 57 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 59 } | 58 } |
| 60 | 59 |
| 61 deps = [ | 60 deps = [ |
| 62 "..:rtc_event_log", | 61 "..:rtc_event_log", |
| 63 "..:webrtc_common", | 62 "..:webrtc_common", |
| 64 "../base:rtc_base_approved", | 63 "../base:rtc_base_approved", |
| 65 "../base:rtc_task_queue", | 64 "../base:rtc_task_queue", |
| 66 "../common_video", | 65 "../common_video", |
| 67 "../modules/bitrate_controller", | 66 "../modules/bitrate_controller", |
| 68 "../modules/congestion_controller", | 67 "../modules/congestion_controller", |
| 69 "../modules/pacing", | 68 "../modules/pacing", |
| 70 "../modules/remote_bitrate_estimator", | 69 "../modules/remote_bitrate_estimator", |
| 71 "../modules/rtp_rtcp", | 70 "../modules/rtp_rtcp", |
| 72 "../modules/utility", | 71 "../modules/utility", |
| 73 "../modules/video_capture:video_capture_module", | 72 "../modules/video_capture:video_capture_module", |
| 74 "../modules/video_coding", | 73 "../modules/video_coding", |
| 75 "../modules/video_processing", | 74 "../modules/video_processing", |
| 76 "../system_wrappers", | 75 "../system_wrappers", |
| 77 "../voice_engine", | 76 "../voice_engine", |
| 78 ] | 77 ] |
| 79 } | 78 } |
| 80 | 79 |
| 81 if (rtc_include_tests) { | 80 if (rtc_include_tests) { |
| 82 # TODO(pbos): Rename test suite. | 81 # TODO(pbos): Rename test suite. |
| 83 source_set("video_tests") { | 82 rtc_source_set("video_tests") { |
| 84 testonly = true | 83 testonly = true |
| 85 sources = [ | 84 sources = [ |
| 86 "call_stats_unittest.cc", | 85 "call_stats_unittest.cc", |
| 87 "encoder_state_feedback_unittest.cc", | 86 "encoder_state_feedback_unittest.cc", |
| 88 "end_to_end_tests.cc", | 87 "end_to_end_tests.cc", |
| 89 "overuse_frame_detector_unittest.cc", | 88 "overuse_frame_detector_unittest.cc", |
| 90 "payload_router_unittest.cc", | 89 "payload_router_unittest.cc", |
| 91 "report_block_stats_unittest.cc", | 90 "report_block_stats_unittest.cc", |
| 92 "send_delay_stats_unittest.cc", | 91 "send_delay_stats_unittest.cc", |
| 93 "send_statistics_proxy_unittest.cc", | 92 "send_statistics_proxy_unittest.cc", |
| 94 "stats_counter_unittest.cc", | 93 "stats_counter_unittest.cc", |
| 95 "stream_synchronization_unittest.cc", | 94 "stream_synchronization_unittest.cc", |
| 96 "video_decoder_unittest.cc", | 95 "video_decoder_unittest.cc", |
| 97 "video_encoder_unittest.cc", | 96 "video_encoder_unittest.cc", |
| 98 "video_send_stream_tests.cc", | 97 "video_send_stream_tests.cc", |
| 99 "vie_encoder_unittest.cc", | 98 "vie_encoder_unittest.cc", |
| 100 "vie_remb_unittest.cc", | 99 "vie_remb_unittest.cc", |
| 101 ] | 100 ] |
| 102 configs += [ "..:common_config" ] | 101 configs += [ "..:common_config" ] |
| 103 deps = [ | 102 deps = [ |
| 104 ":video", | 103 ":video", |
| 105 "//testing/gmock", | 104 "//testing/gmock", |
| 106 "//testing/gtest", | 105 "//testing/gtest", |
| 107 ] | 106 ] |
| 108 if (is_clang) { | 107 if (is_clang) { |
| 109 # Suppress warnings from the Chromium Clang plugin. | 108 # Suppress warnings from the Chromium Clang plugin. |
| 110 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 109 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 111 configs -= [ "//build/config/clang:find_bad_constructs" ] | 110 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 112 } | 111 } |
| 113 } | 112 } |
| 114 } | 113 } |
| OLD | NEW |