| OLD | NEW |
| 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 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 { | 9 { |
| 10 'includes': ['../build/common.gypi'], | 10 'includes': ['../build/common.gypi'], |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 'mediasession.h', | 67 'mediasession.h', |
| 68 'mediasink.h', | 68 'mediasink.h', |
| 69 'rtcpmuxfilter.cc', | 69 'rtcpmuxfilter.cc', |
| 70 'rtcpmuxfilter.h', | 70 'rtcpmuxfilter.h', |
| 71 'srtpfilter.cc', | 71 'srtpfilter.cc', |
| 72 'srtpfilter.h', | 72 'srtpfilter.h', |
| 73 'voicechannel.h', | 73 'voicechannel.h', |
| 74 ], | 74 ], |
| 75 }, # target rtc_pc | 75 }, # target rtc_pc |
| 76 ], # targets | 76 ], # targets |
| 77 'conditions': [ | |
| 78 ['include_tests==1', { | |
| 79 'targets' : [ | |
| 80 { | |
| 81 'target_name': 'rtc_pc_unittests', | |
| 82 'type': 'executable', | |
| 83 'dependencies': [ | |
| 84 '<(webrtc_root)/api/api.gyp:libjingle_peerconnection', | |
| 85 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', | |
| 86 '<(webrtc_root)/media/media.gyp:rtc_unittest_main', | |
| 87 '<(webrtc_root)/pc/pc.gyp:rtc_pc', | |
| 88 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default'
, | |
| 89 ], | |
| 90 'include_dirs': [ | |
| 91 '<(DEPTH)/third_party/libsrtp/srtp', | |
| 92 ], | |
| 93 'sources': [ | |
| 94 'bundlefilter_unittest.cc', | |
| 95 'channel_unittest.cc', | |
| 96 'channelmanager_unittest.cc', | |
| 97 'currentspeakermonitor_unittest.cc', | |
| 98 'mediasession_unittest.cc', | |
| 99 'rtcpmuxfilter_unittest.cc', | |
| 100 'srtpfilter_unittest.cc', | |
| 101 ], | |
| 102 'conditions': [ | |
| 103 ['clang==0', { | |
| 104 'cflags': [ | |
| 105 '-Wno-maybe-uninitialized', # Only exists for GCC. | |
| 106 ], | |
| 107 }], | |
| 108 ['build_libsrtp==1', { | |
| 109 'dependencies': [ | |
| 110 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp', | |
| 111 ], | |
| 112 }], | |
| 113 ['OS=="win"', { | |
| 114 'msvs_settings': { | |
| 115 'VCLinkerTool': { | |
| 116 'AdditionalDependencies': [ | |
| 117 'strmiids.lib', | |
| 118 ], | |
| 119 }, | |
| 120 }, | |
| 121 }], | |
| 122 ], | |
| 123 }, # target rtc_pc_unittests | |
| 124 ], # targets | |
| 125 'conditions': [ | |
| 126 ['test_isolation_mode != "noop"', { | |
| 127 'targets': [ | |
| 128 { | |
| 129 'target_name': 'rtc_pc_unittests_run', | |
| 130 'type': 'none', | |
| 131 'dependencies': [ | |
| 132 'rtc_pc_unittests', | |
| 133 ], | |
| 134 'includes': [ | |
| 135 '../build/isolate.gypi', | |
| 136 ], | |
| 137 'sources': [ | |
| 138 'rtc_pc_unittests.isolate', | |
| 139 ], | |
| 140 }, | |
| 141 ], | |
| 142 }], | |
| 143 ], # conditions | |
| 144 }], # include_tests==1 | |
| 145 ], # conditions | |
| 146 } | 77 } |
| OLD | NEW |