| 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("../webrtc.gni") | 9 import("../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") { | 16 group("logging") { |
| 17 public_deps = [ | 17 public_deps = [ |
| 18 ":rtc_event_log_impl", | 18 ":rtc_event_log_impl", |
| 19 ] | 19 ] |
| 20 if (rtc_enable_protobuf) { | 20 if (rtc_enable_protobuf) { |
| 21 public_deps += [ ":rtc_event_log_parser" ] | 21 public_deps += [ ":rtc_event_log_parser" ] |
| 22 } | 22 } |
| 23 } | 23 } |
| 24 | 24 |
| 25 rtc_source_set("rtc_event_log_api") { | 25 rtc_source_set("rtc_event_log_api") { |
| 26 sources = [ | 26 sources = [ |
| 27 "rtc_event_log/rtc_event_log.h", | 27 "rtc_event_log/rtc_event_log.h", |
| 28 "rtc_event_log/rtc_event_log_factory_interface.h", |
| 28 ] | 29 ] |
| 29 deps = [ | 30 deps = [ |
| 30 "..:video_stream_api", | 31 "..:video_stream_api", |
| 31 "..:webrtc_common", | 32 "..:webrtc_common", |
| 32 "../base:rtc_base_approved", | 33 "../base:rtc_base_approved", |
| 33 ] | 34 ] |
| 34 } | 35 } |
| 35 | 36 |
| 36 rtc_static_library("rtc_event_log_impl") { | 37 rtc_static_library("rtc_event_log_impl") { |
| 37 sources = [ | 38 sources = [ |
| 38 "rtc_event_log/rtc_event_log.cc", | 39 "rtc_event_log/rtc_event_log.cc", |
| 40 "rtc_event_log/rtc_event_log_factory.cc", |
| 41 "rtc_event_log/rtc_event_log_factory.h", |
| 39 "rtc_event_log/rtc_event_log_helper_thread.cc", | 42 "rtc_event_log/rtc_event_log_helper_thread.cc", |
| 40 "rtc_event_log/rtc_event_log_helper_thread.h", | 43 "rtc_event_log/rtc_event_log_helper_thread.h", |
| 41 ] | 44 ] |
| 42 | 45 |
| 43 defines = [] | 46 defines = [] |
| 44 | 47 |
| 45 deps = [ | 48 deps = [ |
| 46 ":rtc_event_log_api", | 49 ":rtc_event_log_api", |
| 47 "..:webrtc_common", | 50 "..:webrtc_common", |
| 48 "../base:protobuf_utils", | 51 "../base:protobuf_utils", |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 "../base:rtc_base_approved", | 185 "../base:rtc_base_approved", |
| 183 "//third_party/gflags", | 186 "//third_party/gflags", |
| 184 ] | 187 ] |
| 185 if (!build_with_chromium && is_clang) { | 188 if (!build_with_chromium && is_clang) { |
| 186 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. | 189 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. |
| 187 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 190 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 188 } | 191 } |
| 189 } | 192 } |
| 190 } | 193 } |
| 191 } | 194 } |
| OLD | NEW |