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

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

Issue 2438973002: GN: move webrtc/video/ targets from webrtc/BUILD.gn into webrtc/video/BUILD.gn (Closed)
Patch Set: Add missing dependency on modules/video_capture:video_capture_module Created 4 years, 2 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
« webrtc/test/BUILD.gn ('K') | « webrtc/test/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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 "../modules/rtp_rtcp", 66 "../modules/rtp_rtcp",
67 "../modules/utility", 67 "../modules/utility",
68 "../modules/video_coding", 68 "../modules/video_coding",
69 "../modules/video_processing", 69 "../modules/video_processing",
70 "../system_wrappers", 70 "../system_wrappers",
71 "../voice_engine", 71 "../voice_engine",
72 ] 72 ]
73 } 73 }
74 74
75 if (rtc_include_tests) { 75 if (rtc_include_tests) {
76 rtc_source_set("video_quality_test") {
77 testonly = true
78 sources = [
79 "video_quality_test.cc",
80 "video_quality_test.h",
81 ]
82 deps = [
83 "../system_wrappers",
84 "//testing/gtest",
85 ]
86 if (!is_android) {
87 deps += [ "../modules/video_capture:video_capture_internal_impl" ]
88 }
89 if (!build_with_chromium && is_clang) {
90 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
91 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
92 }
93 }
94
95 rtc_executable("video_loopback") {
96 testonly = true
97 sources = [
98 "video_loopback.cc",
99 ]
100 deps = [
101 ":video_quality_test",
102 "../system_wrappers:metrics_default",
103 "../test:field_trial",
104 "../test:run_test",
105 "../test:test_common",
106 "../test:test_renderer",
107 "//testing/gmock",
108 "//testing/gtest",
109 "//third_party/gflags",
110 ]
111 if (!build_with_chromium && is_clang) {
112 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
113 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
114 }
115 }
116
117 rtc_executable("screenshare_loopback") {
118 testonly = true
119 sources = [
120 "screenshare_loopback.cc",
121 ]
122
123 deps = [
124 ":video_quality_test",
125 "../system_wrappers:metrics_default",
126 "../test:field_trial",
127 "../test:run_test",
128 "../test:test_common",
129 "../test:test_renderer",
130 "//testing/gmock",
131 "//testing/gtest",
132 "//third_party/gflags",
133 ]
134 if (!build_with_chromium && is_clang) {
135 # Suppress warnings from Chrome's Clang plugins.
136 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
137 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
138 }
139 }
140
76 # TODO(pbos): Rename test suite. 141 # TODO(pbos): Rename test suite.
77 rtc_source_set("video_tests") { 142 rtc_source_set("video_tests") {
78 testonly = true 143 testonly = true
79 sources = [ 144 sources = [
80 "call_stats_unittest.cc", 145 "call_stats_unittest.cc",
81 "encoder_rtcp_feedback_unittest.cc", 146 "encoder_rtcp_feedback_unittest.cc",
82 "end_to_end_tests.cc", 147 "end_to_end_tests.cc",
83 "overuse_frame_detector_unittest.cc", 148 "overuse_frame_detector_unittest.cc",
84 "payload_router_unittest.cc", 149 "payload_router_unittest.cc",
85 "report_block_stats_unittest.cc", 150 "report_block_stats_unittest.cc",
(...skipping 11 matching lines...) Expand all
97 ":video", 162 ":video",
98 "//testing/gmock", 163 "//testing/gmock",
99 "//testing/gtest", 164 "//testing/gtest",
100 ] 165 ]
101 if (!build_with_chromium && is_clang) { 166 if (!build_with_chromium && is_clang) {
102 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 167 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
103 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 168 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
104 } 169 }
105 } 170 }
106 } 171 }
OLDNEW
« webrtc/test/BUILD.gn ('K') | « webrtc/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698