OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
| 2 # |
| 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 |
| 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 |
| 9 { |
| 10 'includes': ['../build/common.gypi'], |
| 11 'targets': [ |
| 12 { |
| 13 'target_name': 'rtc_pc', |
| 14 'type': 'static_library', |
| 15 'dependencies': [ |
| 16 '<(webrtc_root)/base/base.gyp:rtc_base', |
| 17 '<(webrtc_root)/media/media.gyp:rtc_media', |
| 18 ], |
| 19 'conditions': [ |
| 20 ['build_libsrtp==1', { |
| 21 'dependencies': [ |
| 22 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp', |
| 23 ], |
| 24 }], |
| 25 ], |
| 26 'defines': [ |
| 27 'SRTP_RELATIVE_PATH', |
| 28 'HAVE_SCTP', |
| 29 'HAVE_SRTP', |
| 30 ], |
| 31 # TODO(kjellander): Make the code compile without disabling these flags. |
| 32 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=3307 |
| 33 'cflags_cc!': [ |
| 34 '-Wnon-virtual-dtor', |
| 35 ], |
| 36 'include_dirs': [ |
| 37 '<(DEPTH)/testing/gtest/include', |
| 38 ], |
| 39 'direct_dependent_settings': { |
| 40 'include_dirs': [ |
| 41 '<(DEPTH)/testing/gtest/include', |
| 42 ], |
| 43 }, |
| 44 'sources': [ |
| 45 'audiomonitor.cc', |
| 46 'audiomonitor.h', |
| 47 'bundlefilter.cc', |
| 48 'bundlefilter.h', |
| 49 'channel.cc', |
| 50 'channel.h', |
| 51 'channelmanager.cc', |
| 52 'channelmanager.h', |
| 53 'currentspeakermonitor.cc', |
| 54 'currentspeakermonitor.h', |
| 55 'mediamonitor.cc', |
| 56 'mediamonitor.h', |
| 57 'mediasession.cc', |
| 58 'mediasession.h', |
| 59 'mediasink.h', |
| 60 'rtcpmuxfilter.cc', |
| 61 'rtcpmuxfilter.h', |
| 62 'srtpfilter.cc', |
| 63 'srtpfilter.h', |
| 64 'voicechannel.h', |
| 65 ], |
| 66 }, # target rtc_pc |
| 67 ], |
| 68 } |
OLD | NEW |