blob: 70074938b2a6dbfd5d8c86180c12238d233e6314 [file] [log] [blame]
Danil Chapovalovb32f2c72019-05-22 13:39:25 +02001# Copyright (c) 2019 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
9import("../../webrtc.gni")
10
11rtc_source_set("rtc_event_log") {
12 visibility = [ "*" ]
13 sources = [
14 "rtc_event.cc",
15 "rtc_event.h",
16 "rtc_event_log.cc",
17 "rtc_event_log.h",
18 "rtc_event_log_factory_interface.h",
19 ]
20
21 deps = [
22 "..:libjingle_logging_api",
23 "../../rtc_base:checks",
24 "../../rtc_base:deprecation",
25 "../../rtc_base:timeutils",
26 "../task_queue",
27 "//third_party/abseil-cpp/absl/memory",
28 ]
29}
30
31rtc_source_set("rtc_event_log_factory") {
32 visibility = [ "*" ]
33 sources = [
34 "rtc_event_log_factory.cc",
35 "rtc_event_log_factory.h",
36 ]
37
38 deps = [
39 ":rtc_event_log",
40 "../../rtc_base:checks",
41 "../task_queue",
42 "//third_party/abseil-cpp/absl/memory",
43 ]
44
45 if (rtc_enable_protobuf) {
46 defines = [ "ENABLE_RTC_EVENT_LOG" ]
47 deps += [ "../../logging:rtc_event_log_impl" ]
48 }
49}