| 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 |
| 241 #"api", # TODO(kjellander): Enable when bugs.webrtc.org/4256 is fixed. |
| 236 "audio", | 242 "audio", |
| 237 "base:rtc_base", | 243 "base:rtc_base", |
| 238 "call", | 244 "call", |
| 239 "common_audio", | 245 "common_audio", |
| 240 "common_video", | 246 "common_video", |
| 247 |
| 248 #"media", # TODO(kjellander): Enable when bugs.webrtc.org/4256 is fixed. |
| 241 "modules/audio_coding", | 249 "modules/audio_coding", |
| 242 "modules/audio_conference_mixer", | 250 "modules/audio_conference_mixer", |
| 243 "modules/audio_device", | 251 "modules/audio_device", |
| 244 "modules/audio_processing", | 252 "modules/audio_processing", |
| 245 "modules/bitrate_controller", | 253 "modules/bitrate_controller", |
| 246 "modules/desktop_capture", | 254 "modules/desktop_capture", |
| 247 "modules/media_file", | 255 "modules/media_file", |
| 248 "modules/rtp_rtcp", | 256 "modules/rtp_rtcp", |
| 249 "modules/utility", | 257 "modules/utility", |
| 250 "modules/video_coding", | 258 "modules/video_coding", |
| 251 "modules/video_processing", | 259 "modules/video_processing", |
| 260 |
| 261 #"p2p", # TODO(kjellander): Enable when bugs.webrtc.org/4256 is fixed. |
| 262 #"pc", # TODO(kjellander): Enable when bugs.webrtc.org/4256 is fixed. |
| 252 "system_wrappers", | 263 "system_wrappers", |
| 253 "tools", | 264 "tools", |
| 254 "video", | 265 "video", |
| 255 "voice_engine", | 266 "voice_engine", |
| 256 ] | 267 ] |
| 257 | 268 |
| 258 if (build_with_chromium) { | 269 if (build_with_chromium) { |
| 259 deps += [ "modules/video_capture" ] | 270 deps += [ "modules/video_capture" ] |
| 260 } | 271 } |
| 261 | 272 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 if (use_libfuzzer || use_drfuzz) { | 370 if (use_libfuzzer || use_drfuzz) { |
| 360 # This target is only here for gn to discover fuzzer build targets under | 371 # This target is only here for gn to discover fuzzer build targets under |
| 361 # webrtc/test/fuzzers/. | 372 # webrtc/test/fuzzers/. |
| 362 group("webrtc_fuzzers_dummy") { | 373 group("webrtc_fuzzers_dummy") { |
| 363 testonly = true | 374 testonly = true |
| 364 deps = [ | 375 deps = [ |
| 365 "test/fuzzers:webrtc_fuzzer_main", | 376 "test/fuzzers:webrtc_fuzzer_main", |
| 366 ] | 377 ] |
| 367 } | 378 } |
| 368 } | 379 } |
| OLD | NEW |