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': 'libjingle_p2p_unittest', |
| 14 'type': 'executable', |
| 15 'dependencies': [ |
| 16 '<(webrtc_root)/api/api.gyp:libjingle_peerconnection', |
| 17 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', |
| 18 '<(webrtc_root)/webrtc.gyp:rtc_unittest_main', |
| 19 '<(webrtc_root)/pc/pc.gyp:rtc_pc', |
| 20 ], |
| 21 'include_dirs': [ |
| 22 '<(DEPTH)/third_party/libsrtp/srtp', |
| 23 ], |
| 24 'sources': [ |
| 25 'bundlefilter_unittest.cc', |
| 26 'channel_unittest.cc', |
| 27 'channelmanager_unittest.cc', |
| 28 'currentspeakermonitor_unittest.cc', |
| 29 'mediasession_unittest.cc', |
| 30 'rtcpmuxfilter_unittest.cc', |
| 31 'srtpfilter_unittest.cc', |
| 32 ], |
| 33 # TODO(kjellander): Make the code compile without disabling these flags. |
| 34 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=3307 |
| 35 'cflags_cc!': [ |
| 36 '-Wnon-virtual-dtor', |
| 37 ], |
| 38 'conditions': [ |
| 39 ['clang==0', { |
| 40 'cflags': [ |
| 41 '-Wno-maybe-uninitialized', # Only exists for GCC. |
| 42 ], |
| 43 }], |
| 44 ['build_libsrtp==1', { |
| 45 'dependencies': [ |
| 46 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp', |
| 47 ], |
| 48 }], |
| 49 ['OS=="win"', { |
| 50 'msvs_settings': { |
| 51 'VCLinkerTool': { |
| 52 'AdditionalDependencies': [ |
| 53 'strmiids.lib', |
| 54 ], |
| 55 }, |
| 56 }, |
| 57 }], |
| 58 ], |
| 59 }, # target libjingle_p2p_unittest |
| 60 ], |
| 61 } |
OLD | NEW |