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

Unified Diff: webrtc/webrtc_tests.gypi

Issue 2041743003: GN: Add SDK tests to rtc_unittests. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Final fixes Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« webrtc/sdk/BUILD.gn ('K') | « webrtc/webrtc.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/webrtc_tests.gypi
diff --git a/webrtc/webrtc_tests.gypi b/webrtc/webrtc_tests.gypi
index 4177cfeb5ede443b11d7a939d6032d955970ca8b..838d795f387e02446f9a193f3a2b0b93541fd98c 100644
--- a/webrtc/webrtc_tests.gypi
+++ b/webrtc/webrtc_tests.gypi
@@ -183,9 +183,27 @@
],
}],
['OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")', {
+ 'includes': [
+ 'build/objc_common.gypi',
+ ],
'dependencies': [
- 'sdk/sdk_tests.gyp:rtc_sdk_peerconnection_objc_tests',
+ 'sdk/sdk.gyp:rtc_sdk_peerconnection_objc',
+ 'system_wrappers/system_wrappers.gyp:metrics_default',
],
+ 'sources': [
+ 'sdk/objc/Framework/UnitTests/RTCConfigurationTest.mm',
+ 'sdk/objc/Framework/UnitTests/RTCDataChannelConfigurationTest.mm',
+ 'sdk/objc/Framework/UnitTests/RTCIceCandidateTest.mm',
+ 'sdk/objc/Framework/UnitTests/RTCIceServerTest.mm',
+ 'sdk/objc/Framework/UnitTests/RTCMediaConstraintsTest.mm',
+ 'sdk/objc/Framework/UnitTests/RTCSessionDescriptionTest.mm',
+ ],
+ 'xcode_settings': {
+ # |-ObjC| flag needed to make sure category method implementations
+ # are included:
+ # https://developer.apple.com/library/mac/qa/qa1490/_index.html
+ 'OTHER_LDFLAGS': ['-ObjC'],
+ },
}],
],
},
« webrtc/sdk/BUILD.gn ('K') | « webrtc/webrtc.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698