Enable GN check in voice_engine/

BUG=webrtc:6828
NOTRY=True

Review-Url: https://codereview.webrtc.org/2714353002
Cr-Commit-Position: refs/heads/master@{#16986}
This commit is contained in:
kjellander 2017-03-02 21:28:23 -08:00 committed by Commit bot
parent c6dfb7bd3f
commit cfa95aa995
2 changed files with 17 additions and 6 deletions

6
.gn
View File

@ -44,11 +44,7 @@ check_targets = [
"//webrtc/modules/video_processing/*",
"//webrtc/modules/remote_bitrate_estimator/*",
"//webrtc/stats/*",
"//webrtc/voice_engine",
"//webrtc/voice_engine:audio_coder",
"//webrtc/voice_engine:file_player",
"//webrtc/voice_engine:file_recorder",
"//webrtc/voice_engine:level_indicator",
"//webrtc/voice_engine/*",
]
# These are the list of GN files that run exec_script. This whitelist exists

View File

@ -233,9 +233,12 @@ if (rtc_include_tests) {
}
deps = [
":voice_engine",
"..:webrtc_common",
"../api:transport_api",
"../base:rtc_base_approved",
"../system_wrappers",
"../test:test_support",
"//testing/gtest",
]
}
@ -243,7 +246,10 @@ if (rtc_include_tests) {
rtc_test("voice_engine_unittests") {
deps = [
":channel_transport",
":file_player",
":voice_engine",
"../base:rtc_base_approved",
"../test:test_common",
"//testing/gmock",
"//testing/gtest",
"//third_party/gflags",
@ -255,8 +261,10 @@ if (rtc_include_tests) {
"//webrtc/modules/media_file",
"//webrtc/modules/rtp_rtcp",
"//webrtc/modules/utility",
"//webrtc/modules/video_capture:video_capture",
"//webrtc/system_wrappers",
"//webrtc/test:test_main",
"//webrtc/test:video_test_common",
]
if (is_android) {
@ -306,9 +314,12 @@ if (rtc_include_tests) {
deps = [
":channel_transport",
":voice_engine",
"..:webrtc_common",
"../base:rtc_base_approved",
"//testing/gtest",
"//third_party/gflags",
"//webrtc/logging:rtc_event_log_api",
"//webrtc/modules/audio_processing",
"//webrtc/system_wrappers",
"//webrtc/system_wrappers:system_wrappers_default",
"//webrtc/test:test_support",
@ -331,6 +342,11 @@ if (rtc_include_tests) {
deps = [
":channel_transport",
":voice_engine",
"..:webrtc_common",
"../base:rtc_base_approved",
"../modules/audio_device:audio_device",
"../modules/audio_processing:audio_processing",
"../modules/rtp_rtcp:rtp_rtcp",
"//testing/gmock",
"//testing/gtest",
"//third_party/gflags",
@ -378,7 +394,6 @@ if (rtc_include_tests) {
"test/auto_test/voe_standard_test.cc",
"test/auto_test/voe_standard_test.h",
"test/auto_test/voe_test_defines.h",
"test/auto_test/voe_test_interface.h",
]
if (!is_android) {