blob: d10cc696a7d562cfab27848d760dc5e7f0699012 [file] [log] [blame]
skvladcc91d282016-10-03 18:31:22 -07001# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
2#
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
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
mbonadei9aa3f0a2017-01-24 06:58:22 -08009import("../webrtc.gni")
Dan Minor9c686132018-01-15 10:20:00 -050010if (!build_with_mozilla) {
11 import("//third_party/protobuf/proto_library.gni")
12}
skvladcc91d282016-10-03 18:31:22 -070013if (is_android) {
14 import("//build/config/android/config.gni")
15 import("//build/config/android/rules.gni")
16}
17
kjellander6ceab082016-10-28 05:44:03 -070018group("logging") {
Mirko Bonadei818d9102017-12-12 12:46:13 +010019 deps = [
Qingsi Wang970b0882018-02-01 11:04:46 -080020 ":rtc_event_audio",
21 ":rtc_event_bwe",
22 ":rtc_event_log_impl_base",
23 ":rtc_event_log_impl_encoder",
24 ":rtc_event_log_impl_output",
25 ":rtc_event_pacing",
26 ":rtc_event_rtp_rtcp",
27 ":rtc_event_video",
kjellander6ceab082016-10-28 05:44:03 -070028 ]
Qingsi Wang970b0882018-02-01 11:04:46 -080029
kjellander6ceab082016-10-28 05:44:03 -070030 if (rtc_enable_protobuf) {
Mirko Bonadei818d9102017-12-12 12:46:13 +010031 deps += [ ":rtc_event_log_parser" ]
kjellander6ceab082016-10-28 05:44:03 -070032 }
33}
34
skvladcc91d282016-10-03 18:31:22 -070035rtc_source_set("rtc_event_log_api") {
36 sources = [
Qingsi Wang970b0882018-02-01 11:04:46 -080037 "rtc_event_log/encoder/rtc_event_log_encoder.h",
Elad Alon652cc842017-10-02 11:27:52 +020038 "rtc_event_log/events/rtc_event.h",
Danil Chapovalov2a5ce2b2018-02-07 09:38:31 +010039 "rtc_event_log/rtc_event_log.cc",
Qingsi Wang970b0882018-02-01 11:04:46 -080040 "rtc_event_log/rtc_event_log.h",
41 "rtc_event_log/rtc_event_log_factory_interface.h",
42 ]
43
44 deps = [
45 "../api:libjingle_logging_api",
46 "../rtc_base:rtc_base_approved",
Dino Radakoviće9d2e4d2018-03-20 18:15:39 +010047 "../rtc_base:rtc_task_queue",
Qingsi Wang970b0882018-02-01 11:04:46 -080048 ]
49}
50
51rtc_source_set("rtc_stream_config") {
52 sources = [
53 "rtc_event_log/rtc_stream_config.cc",
54 "rtc_event_log/rtc_stream_config.h",
55 ]
56
57 deps = [
58 ":rtc_event_log_api",
59 "..:webrtc_common",
60 "../api:libjingle_peerconnection_api",
61 ]
62}
63
64rtc_source_set("rtc_event_pacing") {
65 sources = [
Ilya Nikolaevskiya4259f62017-12-05 13:19:45 +010066 "rtc_event_log/events/rtc_event_alr_state.cc",
67 "rtc_event_log/events/rtc_event_alr_state.h",
Qingsi Wang970b0882018-02-01 11:04:46 -080068 ]
69
70 deps = [
71 ":rtc_event_log_api",
72 "../:typedefs",
73 ]
74}
75
76rtc_source_set("rtc_event_audio") {
77 sources = [
Elad Alon652cc842017-10-02 11:27:52 +020078 "rtc_event_log/events/rtc_event_audio_network_adaptation.cc",
79 "rtc_event_log/events/rtc_event_audio_network_adaptation.h",
80 "rtc_event_log/events/rtc_event_audio_playout.cc",
81 "rtc_event_log/events/rtc_event_audio_playout.h",
82 "rtc_event_log/events/rtc_event_audio_receive_stream_config.cc",
83 "rtc_event_log/events/rtc_event_audio_receive_stream_config.h",
84 "rtc_event_log/events/rtc_event_audio_send_stream_config.cc",
85 "rtc_event_log/events/rtc_event_audio_send_stream_config.h",
Qingsi Wang970b0882018-02-01 11:04:46 -080086 ]
87
88 deps = [
89 ":rtc_event_log_api",
90 ":rtc_stream_config",
91 "../modules/audio_coding:audio_network_adaptor_config",
92 ]
93}
94
95rtc_source_set("rtc_event_bwe") {
96 sources = [
Elad Alon652cc842017-10-02 11:27:52 +020097 "rtc_event_log/events/rtc_event_bwe_update_delay_based.cc",
98 "rtc_event_log/events/rtc_event_bwe_update_delay_based.h",
99 "rtc_event_log/events/rtc_event_bwe_update_loss_based.cc",
100 "rtc_event_log/events/rtc_event_bwe_update_loss_based.h",
Elad Alon652cc842017-10-02 11:27:52 +0200101 "rtc_event_log/events/rtc_event_probe_cluster_created.cc",
102 "rtc_event_log/events/rtc_event_probe_cluster_created.h",
103 "rtc_event_log/events/rtc_event_probe_result_failure.cc",
104 "rtc_event_log/events/rtc_event_probe_result_failure.h",
105 "rtc_event_log/events/rtc_event_probe_result_success.cc",
106 "rtc_event_log/events/rtc_event_probe_result_success.h",
Qingsi Wang970b0882018-02-01 11:04:46 -0800107 ]
108
109 deps = [
110 ":rtc_event_log_api",
111 "../modules/remote_bitrate_estimator:remote_bitrate_estimator",
112 ]
113}
114
115rtc_source_set("rtc_event_rtp_rtcp") {
116 sources = [
Elad Alon652cc842017-10-02 11:27:52 +0200117 "rtc_event_log/events/rtc_event_rtcp_packet_incoming.cc",
118 "rtc_event_log/events/rtc_event_rtcp_packet_incoming.h",
119 "rtc_event_log/events/rtc_event_rtcp_packet_outgoing.cc",
120 "rtc_event_log/events/rtc_event_rtcp_packet_outgoing.h",
121 "rtc_event_log/events/rtc_event_rtp_packet_incoming.cc",
122 "rtc_event_log/events/rtc_event_rtp_packet_incoming.h",
123 "rtc_event_log/events/rtc_event_rtp_packet_outgoing.cc",
124 "rtc_event_log/events/rtc_event_rtp_packet_outgoing.h",
Qingsi Wang970b0882018-02-01 11:04:46 -0800125 ]
126
127 deps = [
128 ":rtc_event_log_api",
129 "../api:array_view",
130 "../modules/rtp_rtcp:rtp_rtcp_format",
131 "../rtc_base:rtc_base_approved",
132 ]
133}
134
135rtc_source_set("rtc_event_video") {
136 sources = [
Elad Alon652cc842017-10-02 11:27:52 +0200137 "rtc_event_log/events/rtc_event_video_receive_stream_config.cc",
138 "rtc_event_log/events/rtc_event_video_receive_stream_config.h",
139 "rtc_event_log/events/rtc_event_video_send_stream_config.cc",
140 "rtc_event_log/events/rtc_event_video_send_stream_config.h",
skvladcc91d282016-10-03 18:31:22 -0700141 ]
Elad Alon83ccca12017-10-04 13:18:26 +0200142
kjellander727ac1d2017-03-08 02:12:11 -0800143 deps = [
Qingsi Wang970b0882018-02-01 11:04:46 -0800144 ":rtc_event_log_api",
145 ":rtc_stream_config",
kjellander727ac1d2017-03-08 02:12:11 -0800146 ]
skvladcc91d282016-10-03 18:31:22 -0700147}
148
Qingsi Wang970b0882018-02-01 11:04:46 -0800149rtc_static_library("rtc_event_log_impl_encoder") {
Per Kjellandera7f2d842018-01-10 15:54:53 +0000150 visibility = [ "*" ]
skvladcc91d282016-10-03 18:31:22 -0700151 sources = [
Elad Alon1d87b0e2017-10-03 15:01:03 +0200152 "rtc_event_log/encoder/rtc_event_log_encoder_legacy.cc",
153 "rtc_event_log/encoder/rtc_event_log_encoder_legacy.h",
skvladcc91d282016-10-03 18:31:22 -0700154 ]
155
156 defines = []
157
158 deps = [
Qingsi Wang8eca1ff2018-02-02 11:49:44 -0800159 ":ice_log",
Qingsi Wang970b0882018-02-01 11:04:46 -0800160 ":rtc_event_audio",
161 ":rtc_event_bwe",
skvladcc91d282016-10-03 18:31:22 -0700162 ":rtc_event_log_api",
Qingsi Wang970b0882018-02-01 11:04:46 -0800163 ":rtc_event_log_impl_output",
164 ":rtc_event_pacing",
165 ":rtc_event_rtp_rtcp",
166 ":rtc_event_video",
167 ":rtc_stream_config",
minyue4b7c9522017-01-24 04:54:59 -0800168 "../modules/audio_coding:audio_network_adaptor",
michaelt97653702017-04-11 00:49:44 -0700169 "../modules/remote_bitrate_estimator:remote_bitrate_estimator",
Mirko Bonadeib5728d92017-12-06 07:51:33 +0100170 "../modules/rtp_rtcp:rtp_rtcp_format",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100171 "../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700172 "../rtc_base:rtc_base_approved",
skvladcc91d282016-10-03 18:31:22 -0700173 ]
174
175 if (rtc_enable_protobuf) {
176 defines += [ "ENABLE_RTC_EVENT_LOG" ]
177 deps += [ ":rtc_event_log_proto" ]
178 }
Elad Alon83ccca12017-10-04 13:18:26 +0200179
180 # TODO(eladalon): Remove this.
kjellandere40a7ee2016-10-16 23:56:12 -0700181 if (!build_with_chromium && is_clang) {
182 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
skvladcc91d282016-10-03 18:31:22 -0700183 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
184 }
185}
186
Qingsi Wang970b0882018-02-01 11:04:46 -0800187rtc_source_set("rtc_event_log_impl_output") {
188 sources = [
189 "rtc_event_log/output/rtc_event_log_output_file.cc",
190 "rtc_event_log/output/rtc_event_log_output_file.h",
191 ]
192
193 deps = [
194 ":rtc_event_log_api",
195 "../api:libjingle_logging_api",
196 "../rtc_base:checks",
197 "../rtc_base:rtc_base_approved",
198 ]
199
200 if (!build_with_chromium && is_clang) {
201 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
202 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
203 }
204}
205
206rtc_static_library("rtc_event_log_impl_base") {
207 visibility = [ "*" ]
208 sources = [
209 "rtc_event_log/rtc_event_log_factory.cc",
210 "rtc_event_log/rtc_event_log_factory.h",
211 "rtc_event_log/rtc_event_log_impl.cc",
212 ]
213
214 defines = []
215
216 deps = [
Qingsi Wang8eca1ff2018-02-02 11:49:44 -0800217 ":ice_log",
Qingsi Wang970b0882018-02-01 11:04:46 -0800218 ":rtc_event_log_api",
219 ":rtc_event_log_impl_encoder",
220 ":rtc_event_log_impl_output",
221 "../rtc_base:checks",
222 "../rtc_base:rtc_base_approved",
Tommi8d2c5a82018-03-19 11:12:48 +0100223 "../rtc_base:rtc_task_queue",
Karl Wiberg12edf4c2018-03-07 14:18:56 +0100224 "../rtc_base:safe_minmax",
Qingsi Wang970b0882018-02-01 11:04:46 -0800225 "../rtc_base:sequenced_task_checker",
226 ]
227
228 if (rtc_enable_protobuf) {
229 defines += [ "ENABLE_RTC_EVENT_LOG" ]
230 deps += [ ":rtc_event_log_proto" ]
231 }
232
233 if (!build_with_chromium && is_clang) {
234 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
235 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
236 }
237}
238
skvladcc91d282016-10-03 18:31:22 -0700239if (rtc_enable_protobuf) {
240 proto_library("rtc_event_log_proto") {
241 sources = [
242 "rtc_event_log/rtc_event_log.proto",
243 ]
Mirko Bonadei92ea95e2017-09-15 06:47:31 +0200244 proto_out_dir = "logging/rtc_event_log"
skvladcc91d282016-10-03 18:31:22 -0700245 }
skvladcc91d282016-10-03 18:31:22 -0700246
Mirko Bonadeib3c210f2017-12-15 17:12:42 +0100247 proto_library("rtc_event_log2_proto") {
248 sources = [
249 "rtc_event_log/rtc_event_log2.proto",
250 ]
251 proto_out_dir = "logging/rtc_event_log"
252 }
253
skvladcc91d282016-10-03 18:31:22 -0700254 rtc_static_library("rtc_event_log_parser") {
Bjorn Terelius73df8832018-04-26 14:46:06 +0200255 visibility = [ "*" ]
skvladcc91d282016-10-03 18:31:22 -0700256 sources = [
Björn Tereliusff612732018-04-25 14:23:01 +0000257 "rtc_event_log/rtc_event_log_parser.cc",
258 "rtc_event_log/rtc_event_log_parser.h",
skvladcc91d282016-10-03 18:31:22 -0700259 ]
260
Mirko Bonadei818d9102017-12-12 12:46:13 +0100261 deps = [
Qingsi Wang8eca1ff2018-02-02 11:49:44 -0800262 ":ice_log",
Qingsi Wang970b0882018-02-01 11:04:46 -0800263 ":rtc_event_bwe",
Mirko Bonadeib3c210f2017-12-15 17:12:42 +0100264 ":rtc_event_log2_proto",
kjellander727ac1d2017-03-08 02:12:11 -0800265 ":rtc_event_log_api",
skvladcc91d282016-10-03 18:31:22 -0700266 ":rtc_event_log_proto",
Qingsi Wang970b0882018-02-01 11:04:46 -0800267 ":rtc_stream_config",
skvladcc91d282016-10-03 18:31:22 -0700268 "..:webrtc_common",
Mirko Bonadei818d9102017-12-12 12:46:13 +0100269 "../call:video_stream_api",
michaeltcde46b72017-04-06 05:59:10 -0700270 "../modules/audio_coding:audio_network_adaptor",
michaelt97653702017-04-11 00:49:44 -0700271 "../modules/remote_bitrate_estimator:remote_bitrate_estimator",
Mirko Bonadeib5728d92017-12-06 07:51:33 +0100272 "../modules/rtp_rtcp",
Mirko Bonadei818d9102017-12-12 12:46:13 +0100273 "../modules/rtp_rtcp:rtp_rtcp_format",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100274 "../rtc_base:checks",
Mirko Bonadei818d9102017-12-12 12:46:13 +0100275 "../rtc_base:protobuf_utils",
276 "../rtc_base:rtc_base_approved",
skvladcc91d282016-10-03 18:31:22 -0700277 ]
278
kjellandere40a7ee2016-10-16 23:56:12 -0700279 if (!build_with_chromium && is_clang) {
280 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
skvladcc91d282016-10-03 18:31:22 -0700281 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
282 }
283 }
ehmaldonado1fd08c12017-01-17 02:37:34 -0800284
285 if (rtc_include_tests) {
286 rtc_source_set("rtc_event_log_tests") {
287 testonly = true
Elad Alon1d87b0e2017-10-03 15:01:03 +0200288 assert(rtc_enable_protobuf)
289 defines = [ "ENABLE_RTC_EVENT_LOG" ]
Elad Alon8233bfe2017-10-05 15:27:29 +0200290 if (rtc_use_memcheck) {
291 defines += [ "WEBRTC_USE_MEMCHECK" ]
292 }
ehmaldonado1fd08c12017-01-17 02:37:34 -0800293 sources = [
Elad Alon1d87b0e2017-10-03 15:01:03 +0200294 "rtc_event_log/encoder/rtc_event_log_encoder_unittest.cc",
Elad Alon83ccca12017-10-04 13:18:26 +0200295 "rtc_event_log/output/rtc_event_log_output_file_unittest.cc",
ehmaldonado1fd08c12017-01-17 02:37:34 -0800296 "rtc_event_log/rtc_event_log_unittest.cc",
297 "rtc_event_log/rtc_event_log_unittest_helper.cc",
eladalonb5c319a2017-08-17 08:32:39 -0700298 "rtc_event_log/rtc_event_log_unittest_helper.h",
ehmaldonado1fd08c12017-01-17 02:37:34 -0800299 ]
300 deps = [
Qingsi Wang970b0882018-02-01 11:04:46 -0800301 ":rtc_event_audio",
302 ":rtc_event_bwe",
Mirko Bonadei818d9102017-12-12 12:46:13 +0100303 ":rtc_event_log_api",
Qingsi Wang970b0882018-02-01 11:04:46 -0800304 ":rtc_event_log_impl_base",
305 ":rtc_event_log_impl_encoder",
306 ":rtc_event_log_impl_output",
ehmaldonado1fd08c12017-01-17 02:37:34 -0800307 ":rtc_event_log_parser",
Mirko Bonadei818d9102017-12-12 12:46:13 +0100308 ":rtc_event_log_proto",
Qingsi Wang970b0882018-02-01 11:04:46 -0800309 ":rtc_event_rtp_rtcp",
310 ":rtc_event_video",
311 ":rtc_stream_config",
Mirko Bonadeia0e1a552017-12-04 10:50:51 +0100312 "../api:libjingle_peerconnection_api",
ehmaldonado1fd08c12017-01-17 02:37:34 -0800313 "../call",
Mirko Bonadeia0e1a552017-12-04 10:50:51 +0100314 "../call:call_interfaces",
michaeltcde46b72017-04-06 05:59:10 -0700315 "../modules/audio_coding:audio_network_adaptor",
michaelt97653702017-04-11 00:49:44 -0700316 "../modules/remote_bitrate_estimator:remote_bitrate_estimator",
Mirko Bonadeib5728d92017-12-06 07:51:33 +0100317 "../modules/rtp_rtcp:rtp_rtcp_format",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100318 "../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700319 "../rtc_base:rtc_base_approved",
320 "../rtc_base:rtc_base_tests_utils",
Patrik Höglund7696bef2018-03-15 15:05:39 +0100321 "../test:fileutils",
kjellander727ac1d2017-03-08 02:12:11 -0800322 "../test:test_support",
ehmaldonado1fd08c12017-01-17 02:37:34 -0800323 "//testing/gtest",
324 ]
325 if (!build_with_chromium && is_clang) {
326 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
327 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
328 }
329 }
ivoc54b6e982017-02-08 00:28:09 -0800330 rtc_test("rtc_event_log2rtp_dump") {
331 testonly = true
332 sources = [
333 "rtc_event_log/rtc_event_log2rtp_dump.cc",
334 ]
335 deps = [
336 ":rtc_event_log_api",
ivoc54b6e982017-02-08 00:28:09 -0800337 ":rtc_event_log_parser",
Mirko Bonadei818d9102017-12-12 12:46:13 +0100338 "../modules/rtp_rtcp",
Mirko Bonadeib5728d92017-12-06 07:51:33 +0100339 "../modules/rtp_rtcp:rtp_rtcp_format",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100340 "../rtc_base:checks",
Mirko Bonadei818d9102017-12-12 12:46:13 +0100341 "../rtc_base:protobuf_utils",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700342 "../rtc_base:rtc_base_approved",
ivoc54b6e982017-02-08 00:28:09 -0800343 "../system_wrappers:field_trial_default",
344 "../system_wrappers:metrics_default",
345 "../test:rtp_test_utils",
ivoc54b6e982017-02-08 00:28:09 -0800346 ]
347 if (!build_with_chromium && is_clang) {
348 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
349 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
350 }
351 }
ehmaldonado1fd08c12017-01-17 02:37:34 -0800352 }
Patrik Höglund731082c2018-01-03 09:08:20 +0100353
tereliusd4ed7f52017-02-08 04:22:53 -0800354 if (rtc_include_tests) {
355 rtc_executable("rtc_event_log2text") {
356 testonly = true
357 sources = [
358 "rtc_event_log/rtc_event_log2text.cc",
359 ]
360 deps = [
361 ":rtc_event_log_api",
tereliusd4ed7f52017-02-08 04:22:53 -0800362 ":rtc_event_log_parser",
Mirko Bonadei818d9102017-12-12 12:46:13 +0100363 "../:webrtc_common",
Stefan Holmer1acbd682017-09-01 15:29:28 +0200364 "../call:video_stream_api",
Mirko Bonadeib5728d92017-12-06 07:51:33 +0100365 "../modules/rtp_rtcp:rtp_rtcp_format",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100366 "../rtc_base:checks",
Mirko Bonadei818d9102017-12-12 12:46:13 +0100367 "../rtc_base:protobuf_utils",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700368 "../rtc_base:rtc_base_approved",
tereliusbb46b952017-02-08 09:37:30 -0800369
370 # TODO(kwiberg): Remove this dependency.
kwiberg087bd342017-02-10 08:15:44 -0800371 "../api/audio_codecs:audio_codecs_api",
Elad Alona96fd7f2017-09-15 16:13:21 +0200372 "../modules/audio_coding:audio_network_adaptor_config",
Mirko Bonadeib5728d92017-12-06 07:51:33 +0100373 "../modules/rtp_rtcp",
tereliusd4ed7f52017-02-08 04:22:53 -0800374 ]
375 if (!build_with_chromium && is_clang) {
376 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
377 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
378 }
379 }
380 }
tereliusee37e862017-04-28 07:48:17 -0700381 if (rtc_include_tests) {
382 rtc_executable("rtc_event_log2stats") {
383 testonly = true
384 sources = [
385 "rtc_event_log/rtc_event_log2stats.cc",
386 ]
387 deps = [
388 ":rtc_event_log_api",
tereliusee37e862017-04-28 07:48:17 -0700389 ":rtc_event_log_proto",
Patrik Höglunda8005cf2017-12-13 16:05:42 +0100390 "../rtc_base:checks",
ehmaldonadof6a861a2017-07-19 10:40:47 -0700391 "../rtc_base:rtc_base_approved",
tereliusee37e862017-04-28 07:48:17 -0700392 ]
393 if (!build_with_chromium && is_clang) {
394 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
395 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
396 }
397 }
398 }
skvladcc91d282016-10-03 18:31:22 -0700399}
Patrik Höglund731082c2018-01-03 09:08:20 +0100400
Qingsi Wang8eca1ff2018-02-02 11:49:44 -0800401rtc_source_set("ice_log") {
402 sources = [
403 "rtc_event_log/events/rtc_event_ice_candidate_pair.cc",
404 "rtc_event_log/events/rtc_event_ice_candidate_pair.h",
405 "rtc_event_log/events/rtc_event_ice_candidate_pair_config.cc",
406 "rtc_event_log/events/rtc_event_ice_candidate_pair_config.h",
407 "rtc_event_log/icelogger.cc",
408 "rtc_event_log/icelogger.h",
409 ]
410
411 deps = [
412 ":rtc_event_log_api",
413 "../api:libjingle_logging_api",
414 "../rtc_base:rtc_base_approved",
415 ]
416
417 if (!build_with_chromium && is_clang) {
418 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
419 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
420 }
421}
422
Patrik Höglund731082c2018-01-03 09:08:20 +0100423if (rtc_include_tests) {
424 rtc_source_set("mocks") {
425 testonly = true
426 sources = [
Danil Chapovalovdd7e2842018-03-09 15:37:03 +0000427 "rtc_event_log/mock/mock_rtc_event_log.cc",
Patrik Höglund731082c2018-01-03 09:08:20 +0100428 "rtc_event_log/mock/mock_rtc_event_log.h",
429 ]
430 deps = [
431 ":rtc_event_log_api",
432 "../../test:test_support",
433 ]
434 }
435}