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

Side by Side Diff: webrtc/api/api_tests.gyp

Issue 1644843003: Compile rtc_base_objc and rtc_api_objc for Mac (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update against master 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
OLDNEW
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 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', ],
11 'conditions': [ 11 'conditions': [
12 ['OS=="ios"', { 12 ['OS=="ios" or OS=="mac"', {
tkchin_webrtc 2016/02/03 08:26:49 update this one too, otherwise we'll have gyp fail
hjon_webrtc 2016/02/04 01:43:03 Done.
13 'targets': [ 13 'targets': [
14 { 14 {
15 'target_name': 'rtc_api_objc_tests', 15 'target_name': 'rtc_api_objc_tests',
16 'type': 'executable', 16 'type': 'executable',
17 'includes': [ '../build/objc_common.gypi' ],
17 'dependencies': [ 18 'dependencies': [
18 '<(webrtc_root)/api/api.gyp:rtc_api_objc', 19 '<(webrtc_root)/api/api.gyp:rtc_api_objc',
19 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', 20 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
20 ], 21 ],
21 'sources': [ 22 'sources': [
22 'objctests/RTCConfigurationTest.mm', 23 'objctests/RTCConfigurationTest.mm',
23 'objctests/RTCDataChannelConfigurationTest.mm', 24 'objctests/RTCDataChannelConfigurationTest.mm',
24 'objctests/RTCIceCandidateTest.mm', 25 'objctests/RTCIceCandidateTest.mm',
25 'objctests/RTCIceServerTest.mm', 26 'objctests/RTCIceServerTest.mm',
26 'objctests/RTCMediaConstraintsTest.mm', 27 'objctests/RTCMediaConstraintsTest.mm',
27 'objctests/RTCSessionDescriptionTest.mm', 28 'objctests/RTCSessionDescriptionTest.mm',
28 ], 29 ],
29 'xcode_settings': { 30 'xcode_settings': {
30 'CLANG_ENABLE_OBJC_ARC': 'YES',
31 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES',
32 'GCC_PREFIX_HEADER': 'objc/WebRTC-Prefix.pch',
33 # |-ObjC| flag needed to make sure category method implementations 31 # |-ObjC| flag needed to make sure category method implementations
34 # are included: 32 # are included:
35 # https://developer.apple.com/library/mac/qa/qa1490/_index.html 33 # https://developer.apple.com/library/mac/qa/qa1490/_index.html
36 'OTHER_LDFLAGS': ['-ObjC'], 34 'OTHER_LDFLAGS': ['-ObjC'],
37 }, 35 },
38 } 36 }
39 ], 37 ],
40 }], # OS=="ios" 38 }], # OS=="ios"
41 ], 39 ],
42 } 40 }
OLDNEW
« no previous file with comments | « webrtc/api/api.gyp ('k') | webrtc/api/objc/WebRTC-Prefix.pch » ('j') | webrtc/base/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698