OLD | NEW |
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 Loading... |
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 |
116 if (build_with_chromium) { | 120 if (build_with_chromium) { |
117 defines += [ | 121 defines += [ |
118 # NOTICE: Since common_inherited_config is used in public_configs for our | 122 # NOTICE: Since common_inherited_config is used in public_configs for our |
119 # targets, there's no point including the defines in that config here. | 123 # targets, there's no point including the defines in that config here. |
120 # TODO(kjellander): Cleanup unused ones and move defines closer to the | 124 # TODO(kjellander): Cleanup unused ones and move defines closer to the |
121 # source when webrtc:4256 is completed. | 125 # source when webrtc:4256 is completed. |
122 "ENABLE_EXTERNAL_AUTH", | 126 "ENABLE_EXTERNAL_AUTH", |
123 "HAVE_OPENSSL_SSL_H", | 127 "HAVE_OPENSSL_SSL_H", |
124 "HAVE_SCTP", | 128 "HAVE_SCTP", |
125 "HAVE_SRTP", | 129 "HAVE_SRTP", |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 "config.h", | 230 "config.h", |
227 "transport.h", | 231 "transport.h", |
228 ] | 232 ] |
229 | 233 |
230 defines = [] | 234 defines = [] |
231 configs += [ ":common_config" ] | 235 configs += [ ":common_config" ] |
232 public_configs = [ ":common_inherited_config" ] | 236 public_configs = [ ":common_inherited_config" ] |
233 | 237 |
234 deps = [ | 238 deps = [ |
235 ":webrtc_common", | 239 ":webrtc_common", |
| 240 "api", |
236 "audio", | 241 "audio", |
237 "base:rtc_base", | 242 "base:rtc_base", |
238 "call", | 243 "call", |
239 "common_audio", | 244 "common_audio", |
240 "common_video", | 245 "common_video", |
| 246 "media", |
241 "modules/audio_coding", | 247 "modules/audio_coding", |
242 "modules/audio_conference_mixer", | 248 "modules/audio_conference_mixer", |
243 "modules/audio_device", | 249 "modules/audio_device", |
244 "modules/audio_processing", | 250 "modules/audio_processing", |
245 "modules/bitrate_controller", | 251 "modules/bitrate_controller", |
246 "modules/desktop_capture", | 252 "modules/desktop_capture", |
247 "modules/media_file", | 253 "modules/media_file", |
248 "modules/rtp_rtcp", | 254 "modules/rtp_rtcp", |
249 "modules/utility", | 255 "modules/utility", |
250 "modules/video_coding", | 256 "modules/video_coding", |
251 "modules/video_processing", | 257 "modules/video_processing", |
| 258 "p2p", |
| 259 "pc", |
252 "system_wrappers", | 260 "system_wrappers", |
253 "tools", | 261 "tools", |
254 "video", | 262 "video", |
255 "voice_engine", | 263 "voice_engine", |
256 ] | 264 ] |
257 | 265 |
258 if (build_with_chromium) { | 266 if (build_with_chromium) { |
259 deps += [ "modules/video_capture" ] | 267 deps += [ "modules/video_capture" ] |
260 } | 268 } |
261 | 269 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 if (use_libfuzzer || use_drfuzz) { | 367 if (use_libfuzzer || use_drfuzz) { |
360 # This target is only here for gn to discover fuzzer build targets under | 368 # This target is only here for gn to discover fuzzer build targets under |
361 # webrtc/test/fuzzers/. | 369 # webrtc/test/fuzzers/. |
362 group("webrtc_fuzzers_dummy") { | 370 group("webrtc_fuzzers_dummy") { |
363 testonly = true | 371 testonly = true |
364 deps = [ | 372 deps = [ |
365 "test/fuzzers:webrtc_fuzzer_main", | 373 "test/fuzzers:webrtc_fuzzer_main", |
366 ] | 374 ] |
367 } | 375 } |
368 } | 376 } |
OLD | NEW |