The libjingle_p2p target is renamed to rtc_pc. The libjingle_p2p_unittest test will be renamed in a separate follow-up CL, to make it possible to run all trybots successfully for this CL. BUG=webrtc:5419 R=deadbeef@webrtc.org, pthatcher@webrtc.org, tommi@webrtc.org Review URL: https://codereview.webrtc.org/1691463002 . Cr-Commit-Position: refs/heads/master@{#11592}
77 lines
2.0 KiB
Python
Executable File
77 lines
2.0 KiB
Python
Executable File
# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license
|
|
# that can be found in the LICENSE file in the root of the source
|
|
# tree. An additional intellectual property rights grant can be found
|
|
# in the file PATENTS. All contributing project authors may
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
{
|
|
'includes': ['../build/common.gypi'],
|
|
'variables': {
|
|
'rtc_pc_defines': [
|
|
'SRTP_RELATIVE_PATH',
|
|
'HAVE_SCTP',
|
|
'HAVE_SRTP',
|
|
],
|
|
},
|
|
'targets': [
|
|
{
|
|
'target_name': 'rtc_pc',
|
|
'type': 'static_library',
|
|
'dependencies': [
|
|
'<(webrtc_root)/base/base.gyp:rtc_base',
|
|
'<(webrtc_root)/media/media.gyp:rtc_media',
|
|
],
|
|
'conditions': [
|
|
['build_libsrtp==1', {
|
|
'dependencies': [
|
|
'<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp',
|
|
],
|
|
}],
|
|
],
|
|
'defines': [
|
|
'<@(rtc_pc_defines)',
|
|
],
|
|
# TODO(kjellander): Make the code compile without disabling these flags.
|
|
# See https://bugs.chromium.org/p/webrtc/issues/detail?id=3307
|
|
'cflags_cc!': [
|
|
'-Wnon-virtual-dtor',
|
|
],
|
|
'include_dirs': [
|
|
'<(DEPTH)/testing/gtest/include',
|
|
],
|
|
'direct_dependent_settings': {
|
|
'defines': [
|
|
'<@(rtc_pc_defines)'
|
|
],
|
|
'include_dirs': [
|
|
'<(DEPTH)/testing/gtest/include',
|
|
],
|
|
},
|
|
'sources': [
|
|
'audiomonitor.cc',
|
|
'audiomonitor.h',
|
|
'bundlefilter.cc',
|
|
'bundlefilter.h',
|
|
'channel.cc',
|
|
'channel.h',
|
|
'channelmanager.cc',
|
|
'channelmanager.h',
|
|
'currentspeakermonitor.cc',
|
|
'currentspeakermonitor.h',
|
|
'mediamonitor.cc',
|
|
'mediamonitor.h',
|
|
'mediasession.cc',
|
|
'mediasession.h',
|
|
'mediasink.h',
|
|
'rtcpmuxfilter.cc',
|
|
'rtcpmuxfilter.h',
|
|
'srtpfilter.cc',
|
|
'srtpfilter.h',
|
|
'voicechannel.h',
|
|
],
|
|
}, # target rtc_pc
|
|
],
|
|
}
|