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