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") |
(...skipping 10 matching lines...) Expand all Loading... |
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 "..:video_stream_api", |
| 31 "..:webrtc_common", |
31 "../base:rtc_base_approved", | 32 "../base:rtc_base_approved", |
32 "../call:call_interfaces", | |
33 ] | 33 ] |
34 } | 34 } |
35 | 35 |
36 rtc_static_library("rtc_event_log_impl") { | 36 rtc_static_library("rtc_event_log_impl") { |
37 sources = [ | 37 sources = [ |
38 "rtc_event_log/ringbuffer.h", | 38 "rtc_event_log/ringbuffer.h", |
39 "rtc_event_log/rtc_event_log.cc", | 39 "rtc_event_log/rtc_event_log.cc", |
40 "rtc_event_log/rtc_event_log_helper_thread.cc", | 40 "rtc_event_log/rtc_event_log_helper_thread.cc", |
41 "rtc_event_log/rtc_event_log_helper_thread.h", | 41 "rtc_event_log/rtc_event_log_helper_thread.h", |
42 ] | 42 ] |
43 | 43 |
44 defines = [] | 44 defines = [] |
45 | 45 |
46 deps = [ | 46 deps = [ |
47 ":rtc_event_log_api", | 47 ":rtc_event_log_api", |
48 "..:webrtc_common", | 48 "..:webrtc_common", |
49 "../base:protobuf_utils", | 49 "../base:protobuf_utils", |
50 "../base:rtc_base_approved", | 50 "../base:rtc_base_approved", |
51 "../call:call_interfaces", | |
52 "../modules/audio_coding:audio_network_adaptor", | 51 "../modules/audio_coding:audio_network_adaptor", |
53 "../modules/remote_bitrate_estimator:remote_bitrate_estimator", | 52 "../modules/remote_bitrate_estimator:remote_bitrate_estimator", |
54 "../modules/rtp_rtcp", | 53 "../modules/rtp_rtcp", |
55 "../system_wrappers", | 54 "../system_wrappers", |
56 ] | 55 ] |
57 | 56 |
58 if (rtc_enable_protobuf) { | 57 if (rtc_enable_protobuf) { |
59 defines += [ "ENABLE_RTC_EVENT_LOG" ] | 58 defines += [ "ENABLE_RTC_EVENT_LOG" ] |
60 deps += [ ":rtc_event_log_proto" ] | 59 deps += [ ":rtc_event_log_proto" ] |
61 } | 60 } |
(...skipping 14 matching lines...) Expand all Loading... |
76 rtc_static_library("rtc_event_log_parser") { | 75 rtc_static_library("rtc_event_log_parser") { |
77 sources = [ | 76 sources = [ |
78 "rtc_event_log/rtc_event_log_parser.cc", | 77 "rtc_event_log/rtc_event_log_parser.cc", |
79 "rtc_event_log/rtc_event_log_parser.h", | 78 "rtc_event_log/rtc_event_log_parser.h", |
80 ] | 79 ] |
81 | 80 |
82 public_deps = [ | 81 public_deps = [ |
83 ":rtc_event_log_api", | 82 ":rtc_event_log_api", |
84 ":rtc_event_log_proto", | 83 ":rtc_event_log_proto", |
85 "..:webrtc_common", | 84 "..:webrtc_common", |
86 "../call:call_interfaces", | |
87 "../modules/audio_coding:audio_network_adaptor", | 85 "../modules/audio_coding:audio_network_adaptor", |
88 "../modules/remote_bitrate_estimator:remote_bitrate_estimator", | 86 "../modules/remote_bitrate_estimator:remote_bitrate_estimator", |
89 "../modules/rtp_rtcp:rtp_rtcp", | 87 "../modules/rtp_rtcp:rtp_rtcp", |
90 "../system_wrappers", | 88 "../system_wrappers", |
91 ] | 89 ] |
92 | 90 |
93 if (!build_with_chromium && is_clang) { | 91 if (!build_with_chromium && is_clang) { |
94 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 92 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
95 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 93 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
96 } | 94 } |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 rtc_test("rtc_event_log2rtp_dump") { | 129 rtc_test("rtc_event_log2rtp_dump") { |
132 testonly = true | 130 testonly = true |
133 sources = [ | 131 sources = [ |
134 "rtc_event_log/rtc_event_log2rtp_dump.cc", | 132 "rtc_event_log/rtc_event_log2rtp_dump.cc", |
135 ] | 133 ] |
136 deps = [ | 134 deps = [ |
137 ":rtc_event_log_api", | 135 ":rtc_event_log_api", |
138 ":rtc_event_log_impl", | 136 ":rtc_event_log_impl", |
139 ":rtc_event_log_parser", | 137 ":rtc_event_log_parser", |
140 "../base:rtc_base_approved", | 138 "../base:rtc_base_approved", |
141 "../call:call_interfaces", | |
142 "../modules/rtp_rtcp:rtp_rtcp", | 139 "../modules/rtp_rtcp:rtp_rtcp", |
143 "../system_wrappers:field_trial_default", | 140 "../system_wrappers:field_trial_default", |
144 "../system_wrappers:metrics_default", | 141 "../system_wrappers:metrics_default", |
145 "../test:rtp_test_utils", | 142 "../test:rtp_test_utils", |
146 "//third_party/gflags", | 143 "//third_party/gflags", |
147 ] | 144 ] |
148 if (!build_with_chromium && is_clang) { | 145 if (!build_with_chromium && is_clang) { |
149 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. | 146 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. |
150 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 147 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
151 } | 148 } |
152 } | 149 } |
153 } | 150 } |
154 if (rtc_include_tests) { | 151 if (rtc_include_tests) { |
155 rtc_executable("rtc_event_log2text") { | 152 rtc_executable("rtc_event_log2text") { |
156 testonly = true | 153 testonly = true |
157 sources = [ | 154 sources = [ |
158 "rtc_event_log/rtc_event_log2text.cc", | 155 "rtc_event_log/rtc_event_log2text.cc", |
159 ] | 156 ] |
160 deps = [ | 157 deps = [ |
161 ":rtc_event_log_api", | 158 ":rtc_event_log_api", |
162 ":rtc_event_log_impl", | 159 ":rtc_event_log_impl", |
163 ":rtc_event_log_parser", | 160 ":rtc_event_log_parser", |
164 "../base:rtc_base_approved", | 161 "../base:rtc_base_approved", |
165 "../call:call_interfaces", | |
166 | 162 |
167 # TODO(kwiberg): Remove this dependency. | 163 # TODO(kwiberg): Remove this dependency. |
168 "../api/audio_codecs:audio_codecs_api", | 164 "../api/audio_codecs:audio_codecs_api", |
169 "../modules/rtp_rtcp:rtp_rtcp", | 165 "../modules/rtp_rtcp:rtp_rtcp", |
170 "//third_party/gflags", | 166 "//third_party/gflags", |
171 ] | 167 ] |
172 if (!build_with_chromium && is_clang) { | 168 if (!build_with_chromium && is_clang) { |
173 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. | 169 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. |
174 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 170 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
175 } | 171 } |
(...skipping 12 matching lines...) Expand all Loading... |
188 "../base:rtc_base_approved", | 184 "../base:rtc_base_approved", |
189 "//third_party/gflags", | 185 "//third_party/gflags", |
190 ] | 186 ] |
191 if (!build_with_chromium && is_clang) { | 187 if (!build_with_chromium && is_clang) { |
192 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. | 188 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. |
193 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 189 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
194 } | 190 } |
195 } | 191 } |
196 } | 192 } |
197 } | 193 } |
OLD | NEW |