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 "report_block_stats_unittest.cc", | 151 "report_block_stats_unittest.cc", |
151 "send_delay_stats_unittest.cc", | 152 "send_delay_stats_unittest.cc", |
152 "send_statistics_proxy_unittest.cc", | 153 "send_statistics_proxy_unittest.cc", |
153 "stats_counter_unittest.cc", | 154 "stats_counter_unittest.cc", |
154 "stream_synchronization_unittest.cc", | 155 "stream_synchronization_unittest.cc", |
155 "video_decoder_unittest.cc", | 156 "video_decoder_unittest.cc", |
156 "video_encoder_unittest.cc", | 157 "video_encoder_unittest.cc", |
157 "video_send_stream_tests.cc", | 158 "video_send_stream_tests.cc", |
158 "vie_encoder_unittest.cc", | 159 "vie_encoder_unittest.cc", |
159 "vie_remb_unittest.cc", | 160 "vie_remb_unittest.cc", |
160 ] | 161 ] |
161 deps = [ | 162 deps = [ |
162 ":video", | 163 ":video", |
163 "//testing/gmock", | 164 "//testing/gmock", |
164 "//testing/gtest", | 165 "//testing/gtest", |
165 ] | 166 ] |
166 if (!build_with_chromium && is_clang) { | 167 if (!build_with_chromium && is_clang) { |
167 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 168 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
168 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 169 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
169 } | 170 } |
| 171 if (rtc_use_h264) { |
| 172 defines += [ "WEBRTC_USE_H264" ] |
| 173 } |
170 } | 174 } |
171 } | 175 } |
OLD | NEW |