Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: talk/app/webrtc/legacy_objc_api_tests.gyp

Issue 1691463002: Move talk/session/media -> webrtc/pc (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Last rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « talk/app/webrtc/legacy_objc_api.gyp ('k') | talk/build/common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # libjingle 2 # libjingle
3 # Copyright 2012 Google Inc. 3 # Copyright 2012 Google Inc.
4 # 4 #
5 # Redistribution and use in source and binary forms, with or without 5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are met: 6 # modification, are permitted provided that the following conditions are met:
7 # 7 #
8 # 1. Redistributions of source code must retain the above copyright notice, 8 # 1. Redistributions of source code must retain the above copyright notice,
9 # this list of conditions and the following disclaimer. 9 # this list of conditions and the following disclaimer.
10 # 2. Redistributions in binary form must reproduce the above copyright notice, 10 # 2. Redistributions in binary form must reproduce the above copyright notice,
11 # this list of conditions and the following disclaimer in the documentation 11 # this list of conditions and the following disclaimer in the documentation
12 # and/or other materials provided with the distribution. 12 # and/or other materials provided with the distribution.
13 # 3. The name of the author may not be used to endorse or promote products 13 # 3. The name of the author may not be used to endorse or promote products
14 # derived from this software without specific prior written permission. 14 # derived from this software without specific prior written permission.
15 # 15 #
16 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 16 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
17 # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 17 # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18 # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 18 # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
19 # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 19 # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 20 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 21 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22 # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 22 # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23 # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 23 # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 24 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 26
27 { 27 {
28 'includes': ['build/common.gypi'], 28 'includes': ['../../build/common.gypi'],
29 'targets': [
30 {
31 'target_name': 'libjingle_p2p_unittest',
32 'type': 'executable',
33 'dependencies': [
34 '<(webrtc_root)/api/api.gyp:libjingle_peerconnection',
35 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
36 '<(webrtc_root)/webrtc.gyp:rtc_unittest_main',
37 'libjingle.gyp:libjingle_p2p',
38 ],
39 'include_dirs': [
40 '<(DEPTH)/third_party/libsrtp/srtp',
41 ],
42 'sources': [
43 'session/media/bundlefilter_unittest.cc',
44 'session/media/channel_unittest.cc',
45 'session/media/channelmanager_unittest.cc',
46 'session/media/currentspeakermonitor_unittest.cc',
47 'session/media/mediasession_unittest.cc',
48 'session/media/rtcpmuxfilter_unittest.cc',
49 'session/media/srtpfilter_unittest.cc',
50 ],
51 'conditions': [
52 ['build_libsrtp==1', {
53 'dependencies': [
54 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp',
55 ],
56 }],
57 ['OS=="win"', {
58 'msvs_settings': {
59 'VCLinkerTool': {
60 'AdditionalDependencies': [
61 'strmiids.lib',
62 ],
63 },
64 },
65 }],
66 ],
67 }, # target libjingle_p2p_unittest
68 ],
69 'conditions': [ 29 'conditions': [
70 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', { 30 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', {
71 # The >=10.7 above is required to make ARC link cleanly (e.g. as 31 # The >=10.7 above is required to make ARC link cleanly (e.g. as
72 # opposed to _compile_ cleanly, which the library under test 32 # opposed to _compile_ cleanly, which the library under test
73 # does just fine on 10.6 too). 33 # does just fine on 10.6 too).
74 'targets': [ 34 'targets': [
75 { 35 {
76 'target_name': 'libjingle_peerconnection_objc_test', 36 'target_name': 'libjingle_peerconnection_objc_test',
77 'type': 'executable', 37 'type': 'executable',
78 'includes': [ 'build/objc_app.gypi' ], 38 'includes': [ '../../build/objc_app.gypi' ],
79 'dependencies': [ 39 'dependencies': [
80 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', 40 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
81 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_defa ult', 41 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_defa ult',
82 'libjingle.gyp:libjingle_peerconnection_objc', 42 'legacy_objc_api.gyp:libjingle_peerconnection_objc',
83 ], 43 ],
84 'sources': [ 44 'sources': [
85 'app/webrtc/objctests/RTCPeerConnectionSyncObserver.h', 45 'objctests/RTCPeerConnectionSyncObserver.h',
86 'app/webrtc/objctests/RTCPeerConnectionSyncObserver.m', 46 'objctests/RTCPeerConnectionSyncObserver.m',
87 'app/webrtc/objctests/RTCPeerConnectionTest.mm', 47 'objctests/RTCPeerConnectionTest.mm',
88 'app/webrtc/objctests/RTCSessionDescriptionSyncObserver.h', 48 'objctests/RTCSessionDescriptionSyncObserver.h',
89 'app/webrtc/objctests/RTCSessionDescriptionSyncObserver.m', 49 'objctests/RTCSessionDescriptionSyncObserver.m',
90 # TODO(fischman): figure out if this works for ios or if it 50 # TODO(fischman): figure out if this works for ios or if it
91 # needs a GUI driver. 51 # needs a GUI driver.
92 'app/webrtc/objctests/mac/main.mm', 52 'objctests/mac/main.mm',
93 ], 53 ],
94 'conditions': [ 54 'conditions': [
95 ['OS=="mac"', { 55 ['OS=="mac"', {
96 'xcode_settings': { 56 'xcode_settings': {
97 # Need to build against 10.7 framework for full ARC support 57 # Need to build against 10.7 framework for full ARC support
98 # on OSX. 58 # on OSX.
99 'MACOSX_DEPLOYMENT_TARGET' : '10.7', 59 'MACOSX_DEPLOYMENT_TARGET' : '10.7',
100 # common.gypi enables this for mac but we want this to be 60 # common.gypi enables this for mac but we want this to be
101 # disabled like it is for ios. 61 # disabled like it is for ios.
102 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO', 62 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO',
103 }, 63 },
104 }], 64 }],
105 ], 65 ],
106 }, # target libjingle_peerconnection_objc_test 66 }, # target libjingle_peerconnection_objc_test
107 { 67 {
108 'target_name': 'apprtc_signaling_gunit_test', 68 'target_name': 'apprtc_signaling_gunit_test',
109 'type': 'executable', 69 'type': 'executable',
110 'includes': [ 'build/objc_app.gypi' ], 70 'includes': [ '../../build/objc_app.gypi' ],
111 'dependencies': [ 71 'dependencies': [
112 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', 72 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
113 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_defa ult', 73 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_defa ult',
114 '<(webrtc_root)/webrtc_examples.gyp:apprtc_signaling', 74 '<(webrtc_root)/webrtc_examples.gyp:apprtc_signaling',
115 '<(DEPTH)/third_party/ocmock/ocmock.gyp:ocmock', 75 '<(DEPTH)/third_party/ocmock/ocmock.gyp:ocmock',
116 ], 76 ],
117 'sources': [ 77 'sources': [
118 'app/webrtc/objctests/mac/main.mm', 78 'objctests/mac/main.mm',
119 '<(webrtc_root)/examples/objc/AppRTCDemo/tests/ARDAppClientTest.mm', 79 '<(webrtc_root)/examples/objc/AppRTCDemo/tests/ARDAppClientTest.mm',
120 ], 80 ],
121 'conditions': [ 81 'conditions': [
122 ['OS=="mac"', { 82 ['OS=="mac"', {
123 'xcode_settings': { 83 'xcode_settings': {
124 'MACOSX_DEPLOYMENT_TARGET' : '10.8', 84 'MACOSX_DEPLOYMENT_TARGET' : '10.8',
125 }, 85 },
126 }], 86 }],
127 ], 87 ],
128 }, # target apprtc_signaling_gunit_test 88 }, # target apprtc_signaling_gunit_test
129 ], 89 ],
130 }], 90 }],
131 ['test_isolation_mode != "noop"', {
132 'targets': [
133 {
134 'target_name': 'libjingle_p2p_unittest_run',
135 'type': 'none',
136 'dependencies': [
137 'libjingle_p2p_unittest',
138 ],
139 'includes': [
140 'build/isolate.gypi',
141 ],
142 'sources': [
143 'libjingle_p2p_unittest.isolate',
144 ],
145 },
146 ],
147 }],
148 ], 91 ],
149 } 92 }
OLDNEW
« no previous file with comments | « talk/app/webrtc/legacy_objc_api.gyp ('k') | talk/build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698