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 | 10 |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 "screenshare_loopback.cc", | 126 "screenshare_loopback.cc", |
127 ] | 127 ] |
128 | 128 |
129 deps = [ | 129 deps = [ |
130 ":video_quality_test", | 130 ":video_quality_test", |
131 "../system_wrappers:metrics_default", | 131 "../system_wrappers:metrics_default", |
132 "../test:field_trial", | 132 "../test:field_trial", |
133 "../test:run_test", | 133 "../test:run_test", |
134 "../test:test_common", | 134 "../test:test_common", |
135 "../test:test_renderer", | 135 "../test:test_renderer", |
136 "//testing/gmock", | |
137 "//testing/gtest", | |
138 "//third_party/gflags", | 136 "//third_party/gflags", |
139 ] | 137 ] |
140 if (!build_with_chromium && is_clang) { | 138 if (!build_with_chromium && is_clang) { |
141 # Suppress warnings from Chrome's Clang plugins. | 139 # Suppress warnings from Chrome's Clang plugins. |
142 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 140 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
143 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 141 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
144 } | 142 } |
145 } | 143 } |
146 | 144 |
| 145 rtc_executable("video_replay") { |
| 146 testonly = true |
| 147 sources = [ |
| 148 "replay.cc", |
| 149 ] |
| 150 deps = [ |
| 151 "../system_wrappers:metrics_default", |
| 152 "../test:field_trial", |
| 153 "../test:run_test", |
| 154 "../test:test_common", |
| 155 "../test:test_renderer", |
| 156 "//third_party/gflags", |
| 157 ] |
| 158 if (!is_android) { |
| 159 deps += [ "../modules/video_capture:video_capture_internal_impl" ] |
| 160 } |
| 161 if (!build_with_chromium && is_clang) { |
| 162 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 163 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 164 } |
| 165 } |
| 166 |
147 # TODO(pbos): Rename test suite. | 167 # TODO(pbos): Rename test suite. |
148 rtc_source_set("video_tests") { | 168 rtc_source_set("video_tests") { |
149 testonly = true | 169 testonly = true |
150 defines = [] | 170 defines = [] |
151 sources = [ | 171 sources = [ |
152 "call_stats_unittest.cc", | 172 "call_stats_unittest.cc", |
153 "encoder_rtcp_feedback_unittest.cc", | 173 "encoder_rtcp_feedback_unittest.cc", |
154 "end_to_end_tests.cc", | 174 "end_to_end_tests.cc", |
155 "overuse_frame_detector_unittest.cc", | 175 "overuse_frame_detector_unittest.cc", |
156 "payload_router_unittest.cc", | 176 "payload_router_unittest.cc", |
(...skipping 16 matching lines...) Expand all Loading... |
173 ] | 193 ] |
174 if (!build_with_chromium && is_clang) { | 194 if (!build_with_chromium && is_clang) { |
175 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 195 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
176 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 196 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
177 } | 197 } |
178 if (rtc_use_h264) { | 198 if (rtc_use_h264) { |
179 defines += [ "WEBRTC_USE_H264" ] | 199 defines += [ "WEBRTC_USE_H264" ] |
180 } | 200 } |
181 } | 201 } |
182 } | 202 } |
OLD | NEW |