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

Side by Side Diff: webrtc/api/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/BUILD.gn ('k') | webrtc/api/audio_codecs/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) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 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 if (is_android) { 10 if (is_android) {
(...skipping 10 matching lines...) Expand all
21 rtc_source_set("call_api") { 21 rtc_source_set("call_api") {
22 sources = [ 22 sources = [
23 "call/audio_sink.h", 23 "call/audio_sink.h",
24 ] 24 ]
25 25
26 deps = [ 26 deps = [
27 # TODO(kjellander): Add remaining dependencies when webrtc:4243 is done. 27 # TODO(kjellander): Add remaining dependencies when webrtc:4243 is done.
28 ":audio_mixer_api", 28 ":audio_mixer_api",
29 ":transport_api", 29 ":transport_api",
30 "..:webrtc_common", 30 "..:webrtc_common",
31 "../base:rtc_base_approved", 31 "../rtc_base:rtc_base_approved",
32 "audio_codecs:audio_codecs_api", 32 "audio_codecs:audio_codecs_api",
33 ] 33 ]
34 } 34 }
35 35
36 rtc_static_library("libjingle_peerconnection_api") { 36 rtc_static_library("libjingle_peerconnection_api") {
37 # Cannot have GN check enabled since that would introduce dependency cycles 37 # Cannot have GN check enabled since that would introduce dependency cycles
38 # TODO(kjellander): Remove (bugs.webrtc.org/7504) 38 # TODO(kjellander): Remove (bugs.webrtc.org/7504)
39 check_includes = false 39 check_includes = false
40 cflags = [] 40 cflags = []
41 sources = [ 41 sources = [
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 ] 76 ]
77 77
78 if (!build_with_chromium && is_clang) { 78 if (!build_with_chromium && is_clang) {
79 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 79 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
80 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 80 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
81 } 81 }
82 82
83 deps = [ 83 deps = [
84 ":rtc_stats_api", 84 ":rtc_stats_api",
85 "..:webrtc_common", 85 "..:webrtc_common",
86 "../base:rtc_base", 86 "../rtc_base:rtc_base",
87 "../base:rtc_base_approved", 87 "../rtc_base:rtc_base_approved",
88 "audio_codecs:audio_codecs_api", 88 "audio_codecs:audio_codecs_api",
89 ] 89 ]
90 90
91 # This is needed until bugs.webrtc.org/7504 is removed so this target can 91 # This is needed until bugs.webrtc.org/7504 is removed so this target can
92 # properly depend on ../media:rtc_media_base 92 # properly depend on ../media:rtc_media_base
93 # TODO(kjellander): Remove this dependency. 93 # TODO(kjellander): Remove this dependency.
94 if (is_nacl) { 94 if (is_nacl) {
95 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] 95 deps += [ "//native_client_sdk/src/libraries/nacl_io" ]
96 } 96 }
97 } 97 }
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 rtc_source_set("rtc_stats_api") { 136 rtc_source_set("rtc_stats_api") {
137 cflags = [] 137 cflags = []
138 sources = [ 138 sources = [
139 "stats/rtcstats.h", 139 "stats/rtcstats.h",
140 "stats/rtcstats_objects.h", 140 "stats/rtcstats_objects.h",
141 "stats/rtcstatscollectorcallback.h", 141 "stats/rtcstatscollectorcallback.h",
142 "stats/rtcstatsreport.h", 142 "stats/rtcstatsreport.h",
143 ] 143 ]
144 144
145 deps = [ 145 deps = [
146 "../base:rtc_base_approved", 146 "../rtc_base:rtc_base_approved",
147 ] 147 ]
148 } 148 }
149 149
150 rtc_source_set("audio_mixer_api") { 150 rtc_source_set("audio_mixer_api") {
151 sources = [ 151 sources = [
152 "audio/audio_mixer.h", 152 "audio/audio_mixer.h",
153 ] 153 ]
154 154
155 deps = [ 155 deps = [
156 "../base:rtc_base_approved",
157 "../modules:module_api", 156 "../modules:module_api",
157 "../rtc_base:rtc_base_approved",
158 ] 158 ]
159 } 159 }
160 160
161 rtc_source_set("transport_api") { 161 rtc_source_set("transport_api") {
162 sources = [ 162 sources = [
163 "call/transport.h", 163 "call/transport.h",
164 ] 164 ]
165 } 165 }
166 166
167 rtc_source_set("video_frame_api") { 167 rtc_source_set("video_frame_api") {
168 sources = [ 168 sources = [
169 "video/i420_buffer.cc", 169 "video/i420_buffer.cc",
170 "video/i420_buffer.h", 170 "video/i420_buffer.h",
171 "video/video_frame.cc", 171 "video/video_frame.cc",
172 "video/video_frame.h", 172 "video/video_frame.h",
173 "video/video_frame_buffer.cc", 173 "video/video_frame_buffer.cc",
174 "video/video_frame_buffer.h", 174 "video/video_frame_buffer.h",
175 "video/video_rotation.h", 175 "video/video_rotation.h",
176 "video/video_timing.cc", 176 "video/video_timing.cc",
177 "video/video_timing.h", 177 "video/video_timing.h",
178 ] 178 ]
179 179
180 deps = [ 180 deps = [
181 "../base:rtc_base_approved", 181 "../rtc_base:rtc_base_approved",
182 "../system_wrappers", 182 "../system_wrappers",
183 ] 183 ]
184 184
185 # TODO(nisse): This logic is duplicated in multiple places. 185 # TODO(nisse): This logic is duplicated in multiple places.
186 # Define in a single place. 186 # Define in a single place.
187 if (rtc_build_libyuv) { 187 if (rtc_build_libyuv) {
188 deps += [ "$rtc_libyuv_dir" ] 188 deps += [ "$rtc_libyuv_dir" ]
189 public_deps = [ 189 public_deps = [
190 "$rtc_libyuv_dir", 190 "$rtc_libyuv_dir",
191 ] 191 ]
192 } else { 192 } else {
193 # Need to add a directory normally exported by libyuv. 193 # Need to add a directory normally exported by libyuv.
194 include_dirs = [ "$rtc_libyuv_dir/include" ] 194 include_dirs = [ "$rtc_libyuv_dir/include" ]
195 } 195 }
196 } 196 }
197 197
198 rtc_source_set("libjingle_peerconnection_test_api") { 198 rtc_source_set("libjingle_peerconnection_test_api") {
199 testonly = true 199 testonly = true
200 sources = [ 200 sources = [
201 "test/fakeconstraints.h", 201 "test/fakeconstraints.h",
202 ] 202 ]
203 203
204 public_deps = [ 204 public_deps = [
205 ":libjingle_peerconnection_api", 205 ":libjingle_peerconnection_api",
206 ] 206 ]
207 207
208 deps = [ 208 deps = [
209 "../base:rtc_base_approved", 209 "../rtc_base:rtc_base_approved",
210 ] 210 ]
211 } 211 }
212 212
213 if (rtc_include_tests) { 213 if (rtc_include_tests) {
214 rtc_source_set("mock_audio_mixer") { 214 rtc_source_set("mock_audio_mixer") {
215 testonly = true 215 testonly = true
216 sources = [ 216 sources = [
217 "test/mock_audio_mixer.h", 217 "test/mock_audio_mixer.h",
218 ] 218 ]
219 219
220 public_deps = [ 220 public_deps = [
221 ":audio_mixer_api", 221 ":audio_mixer_api",
222 ] 222 ]
223 223
224 deps = [ 224 deps = [
225 "../test:test_support", 225 "../test:test_support",
226 "//testing/gmock", 226 "//testing/gmock",
227 ] 227 ]
228 } 228 }
229 229
230 rtc_source_set("fakemetricsobserver") { 230 rtc_source_set("fakemetricsobserver") {
231 testonly = true 231 testonly = true
232 sources = [ 232 sources = [
233 "fakemetricsobserver.cc", 233 "fakemetricsobserver.cc",
234 "fakemetricsobserver.h", 234 "fakemetricsobserver.h",
235 ] 235 ]
236 deps = [ 236 deps = [
237 ":libjingle_peerconnection_api", 237 ":libjingle_peerconnection_api",
238 "../base:rtc_base_approved", 238 "../rtc_base:rtc_base_approved",
239 ] 239 ]
240 if (!build_with_chromium && is_clang) { 240 if (!build_with_chromium && is_clang) {
241 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 241 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
242 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 242 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
243 } 243 }
244 } 244 }
245 245
246 rtc_source_set("rtc_api_unittests") { 246 rtc_source_set("rtc_api_unittests") {
247 testonly = true 247 testonly = true
248 248
(...skipping 14 matching lines...) Expand all
263 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 263 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
264 } 264 }
265 265
266 deps = [ 266 deps = [
267 ":libjingle_peerconnection_api", 267 ":libjingle_peerconnection_api",
268 ":ortc_api", 268 ":ortc_api",
269 "../test:test_support", 269 "../test:test_support",
270 ] 270 ]
271 } 271 }
272 } 272 }
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/api/audio_codecs/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698