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 ] | 28 ] |
29 deps = [ | 29 deps = [ |
| 30 "..:video_stream_api", |
30 "../base:rtc_base_approved", | 31 "../base:rtc_base_approved", |
31 "../call:call_interfaces", | 32 "../call:call_interfaces", |
32 ] | 33 ] |
33 } | 34 } |
34 | 35 |
35 rtc_static_library("rtc_event_log_impl") { | 36 rtc_static_library("rtc_event_log_impl") { |
36 sources = [ | 37 sources = [ |
37 "rtc_event_log/ringbuffer.h", | 38 "rtc_event_log/ringbuffer.h", |
38 "rtc_event_log/rtc_event_log.cc", | 39 "rtc_event_log/rtc_event_log.cc", |
39 "rtc_event_log/rtc_event_log_helper_thread.cc", | 40 "rtc_event_log/rtc_event_log_helper_thread.cc", |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 "../modules/remote_bitrate_estimator:remote_bitrate_estimator", | 88 "../modules/remote_bitrate_estimator:remote_bitrate_estimator", |
88 "../modules/rtp_rtcp:rtp_rtcp", | 89 "../modules/rtp_rtcp:rtp_rtcp", |
89 "../system_wrappers", | 90 "../system_wrappers", |
90 ] | 91 ] |
91 | 92 |
92 if (!build_with_chromium && is_clang) { | 93 if (!build_with_chromium && is_clang) { |
93 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 94 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
94 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 95 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
95 } | 96 } |
96 deps = [ | 97 deps = [ |
| 98 "..:video_stream_api", |
97 "../base:protobuf_utils", | 99 "../base:protobuf_utils", |
98 "../base:rtc_base_approved", | 100 "../base:rtc_base_approved", |
99 ] | 101 ] |
100 } | 102 } |
101 | 103 |
102 if (rtc_include_tests) { | 104 if (rtc_include_tests) { |
103 rtc_source_set("rtc_event_log_tests") { | 105 rtc_source_set("rtc_event_log_tests") { |
104 testonly = true | 106 testonly = true |
105 sources = [ | 107 sources = [ |
106 "rtc_event_log/ringbuffer_unittest.cc", | 108 "rtc_event_log/ringbuffer_unittest.cc", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 "../modules/rtp_rtcp:rtp_rtcp", | 169 "../modules/rtp_rtcp:rtp_rtcp", |
168 "//third_party/gflags", | 170 "//third_party/gflags", |
169 ] | 171 ] |
170 if (!build_with_chromium && is_clang) { | 172 if (!build_with_chromium && is_clang) { |
171 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. | 173 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. |
172 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 174 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
173 } | 175 } |
174 } | 176 } |
175 } | 177 } |
176 } | 178 } |
OLD | NEW |