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

Side by Side Diff: webrtc/BUILD.gn

Issue 2023233002: Revert of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | webrtc/api/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) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330.
10 10
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 if (rtc_have_dbus_glib) { 106 if (rtc_have_dbus_glib) {
107 defines += [ "HAVE_DBUS_GLIB" ] 107 defines += [ "HAVE_DBUS_GLIB" ]
108 108
109 # TODO(kjellander): Investigate this, it seems like include <dbus/dbus.h> 109 # TODO(kjellander): Investigate this, it seems like include <dbus/dbus.h>
110 # is still not found even if the execution of 110 # is still not found even if the execution of
111 # build/config/linux/pkg-config.py dbus-glib-1 returns correct include 111 # build/config/linux/pkg-config.py dbus-glib-1 returns correct include
112 # dirs on Linux. 112 # dirs on Linux.
113 all_dependent_configs = [ "dbus-glib" ] 113 all_dependent_configs = [ "dbus-glib" ]
114 } 114 }
115 115
116 if (rtc_relative_path) {
117 defines += [ "EXPAT_RELATIVE_PATH" ]
118 }
119
120 if (build_with_chromium) { 116 if (build_with_chromium) {
121 defines += [ 117 defines += [
122 # NOTICE: Since common_inherited_config is used in public_configs for our 118 # NOTICE: Since common_inherited_config is used in public_configs for our
123 # targets, there's no point including the defines in that config here. 119 # targets, there's no point including the defines in that config here.
124 # TODO(kjellander): Cleanup unused ones and move defines closer to the 120 # TODO(kjellander): Cleanup unused ones and move defines closer to the
125 # source when webrtc:4256 is completed. 121 # source when webrtc:4256 is completed.
126 "ENABLE_EXTERNAL_AUTH", 122 "ENABLE_EXTERNAL_AUTH",
127 "HAVE_OPENSSL_SSL_H", 123 "HAVE_OPENSSL_SSL_H",
128 "HAVE_SCTP", 124 "HAVE_SCTP",
129 "HAVE_SRTP", 125 "HAVE_SRTP",
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 "config.h", 226 "config.h",
231 "transport.h", 227 "transport.h",
232 ] 228 ]
233 229
234 defines = [] 230 defines = []
235 configs += [ ":common_config" ] 231 configs += [ ":common_config" ]
236 public_configs = [ ":common_inherited_config" ] 232 public_configs = [ ":common_inherited_config" ]
237 233
238 deps = [ 234 deps = [
239 ":webrtc_common", 235 ":webrtc_common",
240 "api",
241 "audio", 236 "audio",
242 "base:rtc_base", 237 "base:rtc_base",
243 "call", 238 "call",
244 "common_audio", 239 "common_audio",
245 "common_video", 240 "common_video",
246 "media",
247 "modules/audio_coding", 241 "modules/audio_coding",
248 "modules/audio_conference_mixer", 242 "modules/audio_conference_mixer",
249 "modules/audio_device", 243 "modules/audio_device",
250 "modules/audio_processing", 244 "modules/audio_processing",
251 "modules/bitrate_controller", 245 "modules/bitrate_controller",
252 "modules/desktop_capture", 246 "modules/desktop_capture",
253 "modules/media_file", 247 "modules/media_file",
254 "modules/rtp_rtcp", 248 "modules/rtp_rtcp",
255 "modules/utility", 249 "modules/utility",
256 "modules/video_coding", 250 "modules/video_coding",
257 "modules/video_processing", 251 "modules/video_processing",
258 "p2p",
259 "pc",
260 "system_wrappers", 252 "system_wrappers",
261 "tools", 253 "tools",
262 "video", 254 "video",
263 "voice_engine", 255 "voice_engine",
264 ] 256 ]
265 257
266 if (build_with_chromium) { 258 if (build_with_chromium) {
267 deps += [ "modules/video_capture" ] 259 deps += [ "modules/video_capture" ]
268 } 260 }
269 261
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 if (use_libfuzzer || use_drfuzz) { 359 if (use_libfuzzer || use_drfuzz) {
368 # This target is only here for gn to discover fuzzer build targets under 360 # This target is only here for gn to discover fuzzer build targets under
369 # webrtc/test/fuzzers/. 361 # webrtc/test/fuzzers/.
370 group("webrtc_fuzzers_dummy") { 362 group("webrtc_fuzzers_dummy") {
371 testonly = true 363 testonly = true
372 deps = [ 364 deps = [
373 "test/fuzzers:webrtc_fuzzer_main", 365 "test/fuzzers:webrtc_fuzzer_main",
374 ] 366 ]
375 } 367 }
376 } 368 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698