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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 if (!build_with_chromium && is_clang) { | 138 if (!build_with_chromium && is_clang) { |
139 # Suppress warnings from Chrome's Clang plugins. | 139 # Suppress warnings from Chrome's Clang plugins. |
140 # 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. |
141 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 141 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
142 } | 142 } |
143 } | 143 } |
144 | 144 |
145 # TODO(pbos): Rename test suite. | 145 # TODO(pbos): Rename test suite. |
146 rtc_source_set("video_tests") { | 146 rtc_source_set("video_tests") { |
147 testonly = true | 147 testonly = true |
| 148 defines = [] |
148 sources = [ | 149 sources = [ |
149 "call_stats_unittest.cc", | 150 "call_stats_unittest.cc", |
150 "encoder_rtcp_feedback_unittest.cc", | 151 "encoder_rtcp_feedback_unittest.cc", |
151 "end_to_end_tests.cc", | 152 "end_to_end_tests.cc", |
152 "overuse_frame_detector_unittest.cc", | 153 "overuse_frame_detector_unittest.cc", |
153 "payload_router_unittest.cc", | 154 "payload_router_unittest.cc", |
154 "receive_statistics_proxy_unittest.cc", | 155 "receive_statistics_proxy_unittest.cc", |
155 "report_block_stats_unittest.cc", | 156 "report_block_stats_unittest.cc", |
156 "send_delay_stats_unittest.cc", | 157 "send_delay_stats_unittest.cc", |
157 "send_statistics_proxy_unittest.cc", | 158 "send_statistics_proxy_unittest.cc", |
158 "stats_counter_unittest.cc", | 159 "stats_counter_unittest.cc", |
159 "stream_synchronization_unittest.cc", | 160 "stream_synchronization_unittest.cc", |
160 "video_send_stream_tests.cc", | 161 "video_send_stream_tests.cc", |
161 "vie_encoder_unittest.cc", | 162 "vie_encoder_unittest.cc", |
162 "vie_remb_unittest.cc", | 163 "vie_remb_unittest.cc", |
163 ] | 164 ] |
164 deps = [ | 165 deps = [ |
165 ":video", | 166 ":video", |
166 "../media:rtc_media_base", | 167 "../media:rtc_media_base", |
167 "//testing/gmock", | 168 "//testing/gmock", |
168 "//testing/gtest", | 169 "//testing/gtest", |
169 ] | 170 ] |
170 if (!build_with_chromium && is_clang) { | 171 if (!build_with_chromium && is_clang) { |
171 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 172 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
172 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 173 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
173 } | 174 } |
174 if (rtc_use_h264) { | 175 if (rtc_use_h264) { |
175 defines = [ "WEBRTC_USE_H264" ] | 176 defines += [ "WEBRTC_USE_H264" ] |
176 } | 177 } |
177 } | 178 } |
178 } | 179 } |
OLD | NEW |