| OLD | NEW |
| 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 import("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
| 10 import("//third_party/protobuf/proto_library.gni") | 10 import("//third_party/protobuf/proto_library.gni") |
| 11 if (is_android) { | 11 if (is_android) { |
| 12 import("//build/config/android/config.gni") | 12 import("//build/config/android/config.gni") |
| 13 import("//build/config/android/rules.gni") | 13 import("//build/config/android/rules.gni") |
| 14 } | 14 } |
| 15 | 15 |
| 16 group("logging") { |
| 17 public_deps = [ |
| 18 ":rtc_event_log_impl", |
| 19 ] |
| 20 if (rtc_enable_protobuf) { |
| 21 public_deps += [ ":rtc_event_log_parser" ] |
| 22 } |
| 23 } |
| 24 |
| 16 rtc_source_set("rtc_event_log_api") { | 25 rtc_source_set("rtc_event_log_api") { |
| 17 sources = [ | 26 sources = [ |
| 18 "rtc_event_log/rtc_event_log.h", | 27 "rtc_event_log/rtc_event_log.h", |
| 19 ] | 28 ] |
| 20 } | 29 } |
| 21 | 30 |
| 22 rtc_static_library("rtc_event_log_impl") { | 31 rtc_static_library("rtc_event_log_impl") { |
| 23 sources = [ | 32 sources = [ |
| 24 "rtc_event_log/ringbuffer.h", | 33 "rtc_event_log/ringbuffer.h", |
| 25 "rtc_event_log/rtc_event_log.cc", | 34 "rtc_event_log/rtc_event_log.cc", |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 ":rtc_event_log_proto", | 98 ":rtc_event_log_proto", |
| 90 "..:webrtc_common", | 99 "..:webrtc_common", |
| 91 ] | 100 ] |
| 92 | 101 |
| 93 if (!build_with_chromium && is_clang) { | 102 if (!build_with_chromium && is_clang) { |
| 94 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 103 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 95 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 104 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 96 } | 105 } |
| 97 } | 106 } |
| 98 } | 107 } |
| OLD | NEW |