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

Unified Diff: webrtc/test/BUILD.gn

Issue 2796363003: Enabling 'gn check' on //webrtc/test. (Closed)
Patch Set: Fixing Gn coding standards 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/BUILD.gn
diff --git a/webrtc/test/BUILD.gn b/webrtc/test/BUILD.gn
index 9554ccf2f9e02fb51a372faafae0728729e68b94..64b6e03919cf0e9011c285d2265aa5894e52ca7e 100644
--- a/webrtc/test/BUILD.gn
+++ b/webrtc/test/BUILD.gn
@@ -53,9 +53,13 @@ rtc_source_set("video_test_common") {
}
deps = [
+ "..:webrtc_common",
+ "../base:rtc_base_approved",
+ "../base:rtc_task_queue",
"../common_video",
"../media:rtc_media_base",
"../modules/video_capture:video_capture_module",
+ "../system_wrappers",
]
}
@@ -77,6 +81,7 @@ rtc_source_set("rtp_test_utils") {
deps = [
"..:webrtc_common",
+ "../base:rtc_base_approved",
"../modules/rtp_rtcp",
"//testing/gtest",
]
@@ -107,6 +112,7 @@ rtc_source_set("test_main") {
]
deps = [
":field_trial",
+ "../base:rtc_base_approved",
"../system_wrappers:metrics_default",
"//testing/gmock",
"//testing/gtest",
@@ -125,6 +131,16 @@ rtc_source_set("fileutils") {
configs += [ "//build/config/compiler:enable_arc" ]
}
visibility = [ ":*" ]
+ deps = [
+ "..:webrtc_common",
+ "../base:rtc_base_approved",
+ ]
+ if (is_ios) {
+ deps += [ "../sdk:rtc_sdk_common_objc" ]
+ }
+ if (is_win) {
+ deps += [ "../base:rtc_base" ]
+ }
}
rtc_source_set("video_test_support") {
@@ -143,6 +159,9 @@ rtc_source_set("video_test_support") {
]
deps = [
+ ":test_support",
+ ":video_test_common",
+ "..:webrtc_common",
"../base:rtc_base_approved",
"../common_video",
"../system_wrappers",
@@ -191,6 +210,7 @@ rtc_source_set("test_support") {
]
deps = [
+ "..:webrtc_common",
"../base:gtest_prod",
"../base:rtc_base_approved",
"../common_video",
@@ -296,12 +316,20 @@ rtc_test("test_support_unittests") {
deps += [
":direct_transport",
+ ":fake_audio_device",
":fileutils_unittests",
+ ":rtp_test_utils",
":test_common",
":test_main",
":video_test_common",
":video_test_support",
+ "../api:video_frame_api",
+ "../base:rtc_base_approved",
+ "../call:call_interfaces",
+ "../common_audio",
+ "../modules/rtp_rtcp",
"../modules/video_capture",
+ "../system_wrappers",
"//testing/gmock",
"//testing/gtest",
"//third_party/gflags",
@@ -314,6 +342,7 @@ rtc_source_set("fileutils_unittests") {
]
deps = [
":fileutils",
+ ":test_support",
"//testing/gmock",
"//testing/gtest",
]
@@ -332,9 +361,12 @@ rtc_source_set("direct_transport") {
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
deps = [
+ "..:webrtc_common",
"../api:transport_api",
"../base:rtc_base_approved",
"../call",
+ "../modules/rtp_rtcp",
+ "../system_wrappers",
]
}
@@ -349,8 +381,11 @@ rtc_source_set("fake_audio_device") {
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
deps = [
+ "..:webrtc_common",
"../base:rtc_base_approved",
- "../modules/audio_device:audio_device",
+ "../common_audio",
+ "../modules/audio_device",
+ "../system_wrappers",
]
}
@@ -403,13 +438,25 @@ rtc_source_set("test_common") {
":test_support",
":video_test_common",
"..:webrtc_common",
+ "../api:transport_api",
+ "../api:video_frame_api",
+ "../api/audio_codecs:builtin_audio_decoder_factory",
"../api/video_codecs:video_codecs_api",
"../audio",
"../base:rtc_base_approved",
+ "../base:rtc_task_queue",
"../call",
+ "../logging:rtc_event_log_api",
+ "../modules/audio_device:mock_audio_device",
"../modules/audio_mixer:audio_mixer_impl",
"../modules/audio_processing",
+ "../modules/rtp_rtcp:rtp_rtcp",
+ "../modules/video_coding:webrtc_h264",
+ "../modules/video_coding:webrtc_vp8",
+ "../modules/video_coding:webrtc_vp9",
+ "../system_wrappers",
"../video",
+ "../voice_engine",
"//testing/gmock",
"//testing/gtest",
]
@@ -485,6 +532,9 @@ rtc_source_set("test_renderer") {
deps = [
":test_support",
+ "..:webrtc_common",
+ "../base:rtc_base_approved",
+ "../common_video",
"../modules/media_file",
"//testing/gtest",
]
@@ -496,4 +546,10 @@ rtc_source_set("audio_codec_mocks") {
"mock_audio_decoder.h",
"mock_audio_decoder_factory.h",
]
+ deps = [
+ ":test_support",
+ "../api/audio_codecs:audio_codecs_api",
+ "../api/audio_codecs:builtin_audio_decoder_factory",
+ "../base:rtc_base_approved",
+ ]
}
« no previous file with comments | « .gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698