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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 testonly = true | 82 testonly = true |
83 sources = [ | 83 sources = [ |
84 "video_quality_test.cc", | 84 "video_quality_test.cc", |
85 "video_quality_test.h", | 85 "video_quality_test.h", |
86 ] | 86 ] |
87 deps = [ | 87 deps = [ |
88 "../base:rtc_task_queue", | 88 "../base:rtc_task_queue", |
89 "../media:rtc_media_base", | 89 "../media:rtc_media_base", |
90 "../system_wrappers", | 90 "../system_wrappers", |
91 "//testing/gtest", | 91 "//testing/gtest", |
92 "//webrtc/test:test_renderer", | |
93 ] | 92 ] |
94 if (!is_android) { | 93 if (!is_android) { |
95 deps += [ "../modules/video_capture:video_capture_internal_impl" ] | 94 deps += [ "../modules/video_capture:video_capture_internal_impl" ] |
96 } | 95 } |
97 if (!build_with_chromium && is_clang) { | 96 if (!build_with_chromium && is_clang) { |
98 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 97 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
99 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 98 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
100 } | 99 } |
101 } | 100 } |
102 | 101 |
103 rtc_source_set("video_full_stack_tests") { | |
104 testonly = true | |
105 sources = [ | |
106 "full_stack_tests.cc", | |
107 ] | |
108 deps = [ | |
109 ":video_quality_test", | |
110 "//testing/gtest", | |
111 "//webrtc/test:test_common", | |
112 ] | |
113 if (!build_with_chromium && is_clang) { | |
114 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | |
115 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
116 } | |
117 if (rtc_use_h264) { | |
118 defines = [ "WEBRTC_USE_H264" ] | |
119 } | |
120 } | |
121 | |
122 rtc_executable("video_loopback") { | 102 rtc_executable("video_loopback") { |
123 testonly = true | 103 testonly = true |
124 sources = [ | 104 sources = [ |
125 "video_loopback.cc", | 105 "video_loopback.cc", |
126 ] | 106 ] |
127 deps = [ | 107 deps = [ |
128 ":video_quality_test", | 108 ":video_quality_test", |
129 "../system_wrappers:metrics_default", | 109 "../system_wrappers:metrics_default", |
130 "../test:field_trial", | 110 "../test:field_trial", |
131 "../test:run_test", | 111 "../test:run_test", |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 ] | 194 ] |
215 if (!build_with_chromium && is_clang) { | 195 if (!build_with_chromium && is_clang) { |
216 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 196 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
217 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 197 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
218 } | 198 } |
219 if (rtc_use_h264) { | 199 if (rtc_use_h264) { |
220 defines += [ "WEBRTC_USE_H264" ] | 200 defines += [ "WEBRTC_USE_H264" ] |
221 } | 201 } |
222 } | 202 } |
223 } | 203 } |
OLD | NEW |