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