Index: webrtc/api/api_tests.gyp |
diff --git a/webrtc/api/api_tests.gyp b/webrtc/api/api_tests.gyp |
index cdb23fb290c16bb9193f29dd243b1a591f59bcfe..7d0b114f05f499b3f37b28b5743ac577711d6f78 100644 |
--- a/webrtc/api/api_tests.gyp |
+++ b/webrtc/api/api_tests.gyp |
@@ -9,11 +9,12 @@ |
{ |
'includes': [ '../build/common.gypi', ], |
'conditions': [ |
- ['OS=="ios"', { |
+ ['OS=="ios" or OS=="mac"', { |
'targets': [ |
{ |
'target_name': 'rtc_api_objc_tests', |
'type': 'executable', |
+ 'includes': [ '../build/objc_common.gypi' ], |
'dependencies': [ |
'<(webrtc_root)/api/api.gyp:rtc_api_objc', |
'<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', |
@@ -27,9 +28,6 @@ |
'objctests/RTCSessionDescriptionTest.mm', |
], |
'xcode_settings': { |
- 'CLANG_ENABLE_OBJC_ARC': 'YES', |
- 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES', |
- 'GCC_PREFIX_HEADER': 'objc/WebRTC-Prefix.pch', |
# |-ObjC| flag needed to make sure category method implementations |
# are included: |
# https://developer.apple.com/library/mac/qa/qa1490/_index.html |