Tracking mock_process_thread with a GN target

include/mock/mock_process_thread.h was not tracked by GN.

This cl creates a target for it. The target is testonly because it
depends on "webrtc/test:rtp_test_utils".

This means that dependencies to this header cannot fly under the
GN radar anymore. :)

BUG=webrtc:7652
NOTRY=True

Review-Url: https://codereview.webrtc.org/2881343003
Cr-Commit-Position: refs/heads/master@{#19234}
This commit is contained in:
mbonadei
2017-08-03 05:57:11 -07:00
committed by Commit Bot
parent 7b7e06fd23
commit 5166e54a3d
3 changed files with 14 additions and 0 deletions

View File

@ -158,6 +158,7 @@ if (rtc_include_tests) {
"../modules/pacing",
"../modules/rtp_rtcp",
"../modules/rtp_rtcp:mock_rtp_rtcp",
"../modules/utility:mock_process_thread",
"../rtc_base:rtc_base_approved",
"../system_wrappers",
"../test:audio_codec_mocks",

View File

@ -40,6 +40,18 @@ rtc_static_library("utility") {
]
}
rtc_source_set("mock_process_thread") {
testonly = true
sources = [
"include/mock/mock_process_thread.h",
]
deps = [
":utility",
"../../rtc_base:rtc_base_approved",
"../../test:test_support",
]
}
if (rtc_include_tests) {
rtc_source_set("utility_unittests") {
testonly = true

View File

@ -277,6 +277,7 @@ if (rtc_include_tests) {
"../modules/rtp_rtcp",
"../modules/rtp_rtcp:mock_rtp_rtcp",
"../modules/utility",
"../modules/utility:mock_process_thread",
"../modules/video_coding",
"../modules/video_coding:video_coding_utility",
"../modules/video_coding:webrtc_h264",