Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(914)

Side by Side Diff: webrtc/logging/BUILD.gn

Issue 2976293002: Remove remains of webrtc/base (Closed)
Patch Set: Add README.md Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/examples/BUILD.gn ('k') | webrtc/media/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 12 matching lines...) Expand all
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 "rtc_event_log/rtc_event_log_factory_interface.h",
29 ] 29 ]
30 deps = [ 30 deps = [
31 "..:video_stream_api", 31 "..:video_stream_api",
32 "..:webrtc_common", 32 "..:webrtc_common",
33 "../base:rtc_base_approved", 33 "../rtc_base:rtc_base_approved",
34 ] 34 ]
35 } 35 }
36 36
37 rtc_static_library("rtc_event_log_impl") { 37 rtc_static_library("rtc_event_log_impl") {
38 sources = [ 38 sources = [
39 "rtc_event_log/rtc_event_log.cc", 39 "rtc_event_log/rtc_event_log.cc",
40 "rtc_event_log/rtc_event_log_factory.cc", 40 "rtc_event_log/rtc_event_log_factory.cc",
41 "rtc_event_log/rtc_event_log_factory.h", 41 "rtc_event_log/rtc_event_log_factory.h",
42 "rtc_event_log/rtc_event_log_helper_thread.cc", 42 "rtc_event_log/rtc_event_log_helper_thread.cc",
43 "rtc_event_log/rtc_event_log_helper_thread.h", 43 "rtc_event_log/rtc_event_log_helper_thread.h",
44 ] 44 ]
45 45
46 defines = [] 46 defines = []
47 47
48 deps = [ 48 deps = [
49 ":rtc_event_log_api", 49 ":rtc_event_log_api",
50 "..:webrtc_common", 50 "..:webrtc_common",
51 "../base:protobuf_utils",
52 "../base:rtc_base_approved",
53 "../modules/audio_coding:audio_network_adaptor", 51 "../modules/audio_coding:audio_network_adaptor",
54 "../modules/remote_bitrate_estimator:remote_bitrate_estimator", 52 "../modules/remote_bitrate_estimator:remote_bitrate_estimator",
55 "../modules/rtp_rtcp", 53 "../modules/rtp_rtcp",
54 "../rtc_base:protobuf_utils",
55 "../rtc_base:rtc_base_approved",
56 "../system_wrappers", 56 "../system_wrappers",
57 ] 57 ]
58 58
59 if (rtc_enable_protobuf) { 59 if (rtc_enable_protobuf) {
60 defines += [ "ENABLE_RTC_EVENT_LOG" ] 60 defines += [ "ENABLE_RTC_EVENT_LOG" ]
61 deps += [ ":rtc_event_log_proto" ] 61 deps += [ ":rtc_event_log_proto" ]
62 } 62 }
63 if (!build_with_chromium && is_clang) { 63 if (!build_with_chromium && is_clang) {
64 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 64 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
65 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 65 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
(...skipping 23 matching lines...) Expand all
89 "../modules/rtp_rtcp:rtp_rtcp", 89 "../modules/rtp_rtcp:rtp_rtcp",
90 "../system_wrappers", 90 "../system_wrappers",
91 ] 91 ]
92 92
93 if (!build_with_chromium && is_clang) { 93 if (!build_with_chromium && is_clang) {
94 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 94 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
95 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 95 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
96 } 96 }
97 deps = [ 97 deps = [
98 "..:video_stream_api", 98 "..:video_stream_api",
99 "../base:protobuf_utils", 99 "../rtc_base:protobuf_utils",
100 "../base:rtc_base_approved", 100 "../rtc_base:rtc_base_approved",
101 ] 101 ]
102 } 102 }
103 103
104 if (rtc_include_tests) { 104 if (rtc_include_tests) {
105 rtc_source_set("rtc_event_log_tests") { 105 rtc_source_set("rtc_event_log_tests") {
106 testonly = true 106 testonly = true
107 sources = [ 107 sources = [
108 "rtc_event_log/rtc_event_log_unittest.cc", 108 "rtc_event_log/rtc_event_log_unittest.cc",
109 "rtc_event_log/rtc_event_log_unittest_helper.cc", 109 "rtc_event_log/rtc_event_log_unittest_helper.cc",
110 ] 110 ]
111 deps = [ 111 deps = [
112 ":rtc_event_log_impl", 112 ":rtc_event_log_impl",
113 ":rtc_event_log_parser", 113 ":rtc_event_log_parser",
114 "../base:rtc_base_approved",
115 "../base:rtc_base_tests_utils",
116 "../call", 114 "../call",
117 "../modules/audio_coding:audio_network_adaptor", 115 "../modules/audio_coding:audio_network_adaptor",
118 "../modules/remote_bitrate_estimator:remote_bitrate_estimator", 116 "../modules/remote_bitrate_estimator:remote_bitrate_estimator",
119 "../modules/rtp_rtcp", 117 "../modules/rtp_rtcp",
118 "../rtc_base:rtc_base_approved",
119 "../rtc_base:rtc_base_tests_utils",
120 "../system_wrappers:metrics_default", 120 "../system_wrappers:metrics_default",
121 "../test:test_support", 121 "../test:test_support",
122 "//testing/gmock", 122 "//testing/gmock",
123 "//testing/gtest", 123 "//testing/gtest",
124 ] 124 ]
125 if (!build_with_chromium && is_clang) { 125 if (!build_with_chromium && is_clang) {
126 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) . 126 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) .
127 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 127 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
128 } 128 }
129 } 129 }
130 rtc_test("rtc_event_log2rtp_dump") { 130 rtc_test("rtc_event_log2rtp_dump") {
131 testonly = true 131 testonly = true
132 sources = [ 132 sources = [
133 "rtc_event_log/rtc_event_log2rtp_dump.cc", 133 "rtc_event_log/rtc_event_log2rtp_dump.cc",
134 ] 134 ]
135 deps = [ 135 deps = [
136 ":rtc_event_log_api", 136 ":rtc_event_log_api",
137 ":rtc_event_log_impl", 137 ":rtc_event_log_impl",
138 ":rtc_event_log_parser", 138 ":rtc_event_log_parser",
139 "../base:rtc_base_approved",
140 "../modules/rtp_rtcp:rtp_rtcp", 139 "../modules/rtp_rtcp:rtp_rtcp",
140 "../rtc_base:rtc_base_approved",
141 "../system_wrappers:field_trial_default", 141 "../system_wrappers:field_trial_default",
142 "../system_wrappers:metrics_default", 142 "../system_wrappers:metrics_default",
143 "../test:rtp_test_utils", 143 "../test:rtp_test_utils",
144 "//third_party/gflags", 144 "//third_party/gflags",
145 ] 145 ]
146 if (!build_with_chromium && is_clang) { 146 if (!build_with_chromium && is_clang) {
147 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) . 147 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) .
148 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 148 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
149 } 149 }
150 } 150 }
151 } 151 }
152 if (rtc_include_tests) { 152 if (rtc_include_tests) {
153 rtc_executable("rtc_event_log2text") { 153 rtc_executable("rtc_event_log2text") {
154 testonly = true 154 testonly = true
155 sources = [ 155 sources = [
156 "rtc_event_log/rtc_event_log2text.cc", 156 "rtc_event_log/rtc_event_log2text.cc",
157 ] 157 ]
158 deps = [ 158 deps = [
159 ":rtc_event_log_api", 159 ":rtc_event_log_api",
160 ":rtc_event_log_impl", 160 ":rtc_event_log_impl",
161 ":rtc_event_log_parser", 161 ":rtc_event_log_parser",
162 "../base:rtc_base_approved", 162 "../rtc_base:rtc_base_approved",
163 163
164 # TODO(kwiberg): Remove this dependency. 164 # TODO(kwiberg): Remove this dependency.
165 "../api/audio_codecs:audio_codecs_api", 165 "../api/audio_codecs:audio_codecs_api",
166 "../modules/rtp_rtcp:rtp_rtcp", 166 "../modules/rtp_rtcp:rtp_rtcp",
167 "//third_party/gflags", 167 "//third_party/gflags",
168 ] 168 ]
169 if (!build_with_chromium && is_clang) { 169 if (!build_with_chromium && is_clang) {
170 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) . 170 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) .
171 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 171 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
172 } 172 }
173 } 173 }
174 } 174 }
175 if (rtc_include_tests) { 175 if (rtc_include_tests) {
176 rtc_executable("rtc_event_log2stats") { 176 rtc_executable("rtc_event_log2stats") {
177 testonly = true 177 testonly = true
178 sources = [ 178 sources = [
179 "rtc_event_log/rtc_event_log2stats.cc", 179 "rtc_event_log/rtc_event_log2stats.cc",
180 ] 180 ]
181 deps = [ 181 deps = [
182 ":rtc_event_log_api", 182 ":rtc_event_log_api",
183 ":rtc_event_log_impl", 183 ":rtc_event_log_impl",
184 ":rtc_event_log_proto", 184 ":rtc_event_log_proto",
185 "../base:rtc_base_approved", 185 "../rtc_base:rtc_base_approved",
186 "//third_party/gflags", 186 "//third_party/gflags",
187 ] 187 ]
188 if (!build_with_chromium && is_clang) { 188 if (!build_with_chromium && is_clang) {
189 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) . 189 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) .
190 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 190 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
191 } 191 }
192 } 192 }
193 } 193 }
194 } 194 }
OLDNEW
« no previous file with comments | « webrtc/examples/BUILD.gn ('k') | webrtc/media/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698