BUILD.gn (1427B)
1 # 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 9 import("../../webrtc.gni") 10 11 rtc_library("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 ] 19 20 deps = [ 21 "..:libjingle_logging_api", 22 "../../rtc_base:timeutils", 23 ] 24 } 25 26 rtc_source_set("rtc_event_log_factory_interface") { 27 visibility = [ "*" ] 28 sources = [ "rtc_event_log_factory_interface.h" ] 29 deps = [ 30 ":rtc_event_log", 31 "../environment", 32 "//third_party/abseil-cpp/absl/base:nullability", 33 ] 34 } 35 36 rtc_library("rtc_event_log_factory") { 37 visibility = [ "*" ] 38 sources = [ 39 "rtc_event_log_factory.cc", 40 "rtc_event_log_factory.h", 41 ] 42 43 deps = [ 44 ":rtc_event_log", 45 ":rtc_event_log_factory_interface", 46 "..:field_trials_view", 47 "../../rtc_base/system:rtc_export", 48 "../environment", 49 "../task_queue", 50 "//third_party/abseil-cpp/absl/base:nullability", 51 ] 52 53 if (rtc_enable_protobuf) { 54 defines = [ "WEBRTC_ENABLE_RTC_EVENT_LOG" ] 55 deps += [ "../../logging:rtc_event_log_impl" ] 56 } 57 }