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