Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Side by Side Diff: webrtc/video/BUILD.gn

Issue 2609403002: Refactor webrtc_perf_tests into several source_sets. (Closed)
Patch Set: Moved define. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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",
92 ] 93 ]
93 if (!is_android) { 94 if (!is_android) {
94 deps += [ "../modules/video_capture:video_capture_internal_impl" ] 95 deps += [ "../modules/video_capture:video_capture_internal_impl" ]
95 } 96 }
96 if (!build_with_chromium && is_clang) { 97 if (!build_with_chromium && is_clang) {
97 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 98 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
98 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 99 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
99 } 100 }
100 } 101 }
101 102
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
102 rtc_executable("video_loopback") { 122 rtc_executable("video_loopback") {
103 testonly = true 123 testonly = true
104 sources = [ 124 sources = [
105 "video_loopback.cc", 125 "video_loopback.cc",
106 ] 126 ]
107 deps = [ 127 deps = [
108 ":video_quality_test", 128 ":video_quality_test",
109 "../system_wrappers:metrics_default", 129 "../system_wrappers:metrics_default",
110 "../test:field_trial", 130 "../test:field_trial",
111 "../test:run_test", 131 "../test:run_test",
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 ] 214 ]
195 if (!build_with_chromium && is_clang) { 215 if (!build_with_chromium && is_clang) {
196 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 216 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
197 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 217 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
198 } 218 }
199 if (rtc_use_h264) { 219 if (rtc_use_h264) {
200 defines += [ "WEBRTC_USE_H264" ] 220 defines += [ "WEBRTC_USE_H264" ]
201 } 221 }
202 } 222 }
203 } 223 }
OLDNEW
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698