OLD | NEW |
---|---|
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'], |
hjon_webrtc
2016/03/15 21:07:48
In legacy_objc_api.gyp, webrtc_examples.gyp, and h
kjellander_webrtc
2016/03/16 00:52:43
Yeah, the warning level is different: something I
| |
29 'conditions': [ | 29 'conditions': [ |
30 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', { | 30 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', { |
31 # 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 |
32 # opposed to _compile_ cleanly, which the library under test | 32 # opposed to _compile_ cleanly, which the library under test |
33 # does just fine on 10.6 too). | 33 # does just fine on 10.6 too). |
34 'targets': [ | 34 'targets': [ |
35 { | 35 { |
36 'target_name': 'libjingle_peerconnection_objc_test', | 36 'target_name': 'libjingle_peerconnection_objc_test', |
37 'type': 'executable', | 37 'type': 'executable', |
38 'includes': [ '../../build/objc_app.gypi' ], | 38 'includes': [ '../../../webrtc/build/ios/objc_app.gypi' ], |
39 'dependencies': [ | 39 'dependencies': [ |
40 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', | 40 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', |
41 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_defa ult', | 41 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_defa ult', |
42 'legacy_objc_api.gyp:libjingle_peerconnection_objc', | 42 'legacy_objc_api.gyp:libjingle_peerconnection_objc', |
43 ], | 43 ], |
44 'sources': [ | 44 'sources': [ |
45 'objctests/RTCPeerConnectionSyncObserver.h', | 45 'objctests/RTCPeerConnectionSyncObserver.h', |
46 'objctests/RTCPeerConnectionSyncObserver.m', | 46 'objctests/RTCPeerConnectionSyncObserver.m', |
47 'objctests/RTCPeerConnectionTest.mm', | 47 'objctests/RTCPeerConnectionTest.mm', |
48 'objctests/RTCSessionDescriptionSyncObserver.h', | 48 'objctests/RTCSessionDescriptionSyncObserver.h', |
(...skipping 11 matching lines...) Expand all Loading... | |
60 # 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 |
61 # disabled like it is for ios. | 61 # disabled like it is for ios. |
62 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO', | 62 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO', |
63 }, | 63 }, |
64 }], | 64 }], |
65 ], | 65 ], |
66 }, # target libjingle_peerconnection_objc_test | 66 }, # target libjingle_peerconnection_objc_test |
67 { | 67 { |
68 'target_name': 'apprtc_signaling_gunit_test', | 68 'target_name': 'apprtc_signaling_gunit_test', |
69 'type': 'executable', | 69 'type': 'executable', |
70 'includes': [ '../../build/objc_app.gypi' ], | 70 'includes': [ '../../../webrtc/build/ios/objc_app.gypi' ], |
71 'dependencies': [ | 71 'dependencies': [ |
72 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', | 72 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', |
73 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_defa ult', | 73 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_defa ult', |
74 '<(webrtc_root)/webrtc_examples.gyp:apprtc_signaling', | 74 '<(webrtc_root)/webrtc_examples.gyp:apprtc_signaling', |
75 '<(DEPTH)/third_party/ocmock/ocmock.gyp:ocmock', | 75 '<(DEPTH)/third_party/ocmock/ocmock.gyp:ocmock', |
76 ], | 76 ], |
77 'sources': [ | 77 'sources': [ |
78 'objctests/mac/main.mm', | 78 'objctests/mac/main.mm', |
79 '<(webrtc_root)/examples/objc/AppRTCDemo/tests/ARDAppClientTest.mm', | 79 '<(webrtc_root)/examples/objc/AppRTCDemo/tests/ARDAppClientTest.mm', |
80 ], | 80 ], |
81 'conditions': [ | 81 'conditions': [ |
82 ['OS=="mac"', { | 82 ['OS=="mac"', { |
83 'xcode_settings': { | 83 'xcode_settings': { |
84 'MACOSX_DEPLOYMENT_TARGET' : '10.8', | 84 'MACOSX_DEPLOYMENT_TARGET' : '10.8', |
85 }, | 85 }, |
86 }], | 86 }], |
87 ], | 87 ], |
88 }, # target apprtc_signaling_gunit_test | 88 }, # target apprtc_signaling_gunit_test |
89 ], | 89 ], |
90 }], | 90 }], |
91 ], | 91 ], |
92 } | 92 } |
OLD | NEW |