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

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

Issue 2832063003: Enabling 'gn check' on webrtc/video (Closed)
Patch Set: Moving rtc_base_tests_main out of rtc_unittest_main Created 3 years, 8 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 | « .gn ('k') | webrtc/ortc/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) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 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/config/linux/pkg_config.gni") 9 import("//build/config/linux/pkg_config.gni")
10 import("../webrtc.gni") 10 import("../webrtc.gni")
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 if (rtc_include_tests) { 254 if (rtc_include_tests) {
255 config("rtc_unittest_main_config") { 255 config("rtc_unittest_main_config") {
256 # GN orders flags on a target before flags from configs. The default config 256 # GN orders flags on a target before flags from configs. The default config
257 # adds -Wall, and this flag have to be after -Wall -- so they need to 257 # adds -Wall, and this flag have to be after -Wall -- so they need to
258 # come from a config and can"t be on the target directly. 258 # come from a config and can"t be on the target directly.
259 if (is_clang && is_ios) { 259 if (is_clang && is_ios) {
260 cflags = [ "-Wno-unused-variable" ] 260 cflags = [ "-Wno-unused-variable" ]
261 } 261 }
262 } 262 }
263 263
264 rtc_source_set("rtc_unittest_main") { 264 rtc_source_set("rtc_unittest_main") {
mbonadei 2017/04/24 12:10:39 I think that the _main suffix is misleading here.
kjellander_webrtc 2017/04/24 12:41:43 Yeah, let's rename it to rtc_media_tests_utils. Th
265 testonly = true 265 testonly = true
266 266
267 include_dirs = [] 267 include_dirs = []
268 public_deps = [] 268 public_deps = []
269 deps = [ 269 deps = [
270 "../modules/audio_coding:rent_a_codec", 270 "../modules/audio_coding:rent_a_codec",
271 "../modules/audio_processing:audio_processing", 271 "../modules/audio_processing:audio_processing",
272 "../p2p:rtc_p2p", 272 "../p2p:rtc_p2p",
273 ] 273 ]
274 sources = [ 274 sources = [
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 306
307 deps += [ 307 deps += [
308 ":rtc_media", 308 ":rtc_media",
309 ":rtc_media_base", 309 ":rtc_media_base",
310 "..:webrtc_common", 310 "..:webrtc_common",
311 "../api:call_api", 311 "../api:call_api",
312 "../api:video_frame_api", 312 "../api:video_frame_api",
313 "../api/video_codecs:video_codecs_api", 313 "../api/video_codecs:video_codecs_api",
314 "../base:rtc_base", 314 "../base:rtc_base",
315 "../base:rtc_base_approved", 315 "../base:rtc_base_approved",
316 "../base:rtc_base_tests_main",
317 "../base:rtc_base_tests_utils", 316 "../base:rtc_base_tests_utils",
318 "../call:call_interfaces", 317 "../call:call_interfaces",
319 "../test:test_support", 318 "../test:test_support",
320 "//testing/gtest", 319 "//testing/gtest",
321 ] 320 ]
322 public_deps += [ "//testing/gmock" ] 321 public_deps += [ "//testing/gmock" ]
323 } 322 }
324 323
325 config("rtc_media_unittests_config") { 324 config("rtc_media_unittests_config") {
326 # GN orders flags on a target before flags from configs. The default config 325 # GN orders flags on a target before flags from configs. The default config
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 deps += [ 440 deps += [
442 ":rtc_media", 441 ":rtc_media",
443 ":rtc_media_base", 442 ":rtc_media_base",
444 ":rtc_unittest_main", 443 ":rtc_unittest_main",
445 "../api:video_frame_api", 444 "../api:video_frame_api",
446 "../api/audio_codecs:builtin_audio_decoder_factory", 445 "../api/audio_codecs:builtin_audio_decoder_factory",
447 "../api/video_codecs:video_codecs_api", 446 "../api/video_codecs:video_codecs_api",
448 "../audio", 447 "../audio",
449 "../base:rtc_base", 448 "../base:rtc_base",
450 "../base:rtc_base_approved", 449 "../base:rtc_base_approved",
450 "../base:rtc_base_tests_main",
451 "../base:rtc_base_tests_utils", 451 "../base:rtc_base_tests_utils",
452 "../call:call_interfaces", 452 "../call:call_interfaces",
453 "../common_video:common_video", 453 "../common_video:common_video",
454 "../logging:rtc_event_log_api", 454 "../logging:rtc_event_log_api",
455 "../modules/audio_device:mock_audio_device", 455 "../modules/audio_device:mock_audio_device",
456 "../modules/audio_processing:audio_processing", 456 "../modules/audio_processing:audio_processing",
457 "../modules/video_coding:video_coding_utility", 457 "../modules/video_coding:video_coding_utility",
458 "../modules/video_coding:webrtc_vp8", 458 "../modules/video_coding:webrtc_vp8",
459 "../p2p:p2p_test_utils", 459 "../p2p:p2p_test_utils",
460 "../system_wrappers:metrics_default", 460 "../system_wrappers:metrics_default",
461 "../test:audio_codec_mocks", 461 "../test:audio_codec_mocks",
462 "../test:test_support", 462 "../test:test_support",
463 "../voice_engine:voice_engine", 463 "../voice_engine:voice_engine",
464 ] 464 ]
465 } 465 }
466 } 466 }
OLDNEW
« no previous file with comments | « .gn ('k') | webrtc/ortc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698