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

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

Issue 2976363002: Decoupling rtc_base from apple specific code [without cyclic deps] (Closed)
Patch Set: fixing network_tester_server Created 3 years, 5 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/test/BUILD.gn ('k') | webrtc/voice_engine/BUILD.gn » ('j') | 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("../webrtc.gni") 9 import("../webrtc.gni")
10 10
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 "../test:test_renderer", 166 "../test:test_renderer",
167 "../test:test_support", 167 "../test:test_support",
168 "//testing/gmock", 168 "//testing/gmock",
169 "//testing/gtest", 169 "//testing/gtest",
170 "//third_party/gflags", 170 "//third_party/gflags",
171 ] 171 ]
172 if (!build_with_chromium && is_clang) { 172 if (!build_with_chromium && is_clang) {
173 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 173 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
174 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 174 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
175 } 175 }
176 if (is_ios || is_mac) {
177 deps += [ "../rtc_base:rtc_base_apple" ]
178 }
176 } 179 }
177 180
178 rtc_executable("screenshare_loopback") { 181 rtc_executable("screenshare_loopback") {
179 testonly = true 182 testonly = true
180 sources = [ 183 sources = [
181 "screenshare_loopback.cc", 184 "screenshare_loopback.cc",
182 ] 185 ]
183 186
184 deps = [ 187 deps = [
185 ":video_quality_test", 188 ":video_quality_test",
186 "../base:rtc_base_approved", 189 "../base:rtc_base_approved",
187 "../system_wrappers:metrics_default", 190 "../system_wrappers:metrics_default",
188 "../test:field_trial", 191 "../test:field_trial",
189 "../test:run_test", 192 "../test:run_test",
190 "../test:test_common", 193 "../test:test_common",
191 "../test:test_renderer", 194 "../test:test_renderer",
192 "../test:test_support", 195 "../test:test_support",
193 ] 196 ]
194 if (!build_with_chromium && is_clang) { 197 if (!build_with_chromium && is_clang) {
195 # Suppress warnings from Chrome's Clang plugins. 198 # Suppress warnings from Chrome's Clang plugins.
196 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 199 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
197 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 200 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
198 } 201 }
202 if (is_ios || is_mac) {
203 deps += [ "../rtc_base:rtc_base_apple" ]
204 }
199 } 205 }
200 206
201 rtc_executable("video_replay") { 207 rtc_executable("video_replay") {
202 testonly = true 208 testonly = true
203 sources = [ 209 sources = [
204 "replay.cc", 210 "replay.cc",
205 ] 211 ]
206 deps = [ 212 deps = [
207 "..:webrtc_common", 213 "..:webrtc_common",
208 "../api/video_codecs:video_codecs_api", 214 "../api/video_codecs:video_codecs_api",
(...skipping 10 matching lines...) Expand all
219 "../test:test_common", 225 "../test:test_common",
220 "../test:test_renderer", 226 "../test:test_renderer",
221 "../test:test_support", 227 "../test:test_support",
222 "../test:video_test_common", 228 "../test:video_test_common",
223 "//third_party/gflags", 229 "//third_party/gflags",
224 ] 230 ]
225 if (!build_with_chromium && is_clang) { 231 if (!build_with_chromium && is_clang) {
226 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 232 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
227 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 233 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
228 } 234 }
235 if (is_ios) {
236 deps += [ "../rtc_base:rtc_base_apple" ]
237 }
229 } 238 }
230 239
231 # TODO(pbos): Rename test suite. 240 # TODO(pbos): Rename test suite.
232 rtc_source_set("video_tests") { 241 rtc_source_set("video_tests") {
233 testonly = true 242 testonly = true
234 243
235 # Skip restricting visibility on mobile platforms since the tests on those 244 # Skip restricting visibility on mobile platforms since the tests on those
236 # gets additional generated targets which would require many lines here to 245 # gets additional generated targets which would require many lines here to
237 # cover (which would be confusing to read and hard to maintain). 246 # cover (which would be confusing to read and hard to maintain).
238 if (!is_android && !is_ios) { 247 if (!is_android && !is_ios) {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 ] 306 ]
298 if (!build_with_chromium && is_clang) { 307 if (!build_with_chromium && is_clang) {
299 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 308 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
300 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 309 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
301 } 310 }
302 if (rtc_use_h264) { 311 if (rtc_use_h264) {
303 defines += [ "WEBRTC_USE_H264" ] 312 defines += [ "WEBRTC_USE_H264" ]
304 } 313 }
305 } 314 }
306 } 315 }
OLDNEW
« no previous file with comments | « webrtc/test/BUILD.gn ('k') | webrtc/voice_engine/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698