Index: webrtc/base/base.gyp |
diff --git a/webrtc/base/base.gyp b/webrtc/base/base.gyp |
index 9d104032e34437979424a729824dcfb3b4ed9b9b..288a613638c9b2df40ed67f836b9bbbccea15894 100644 |
--- a/webrtc/base/base.gyp |
+++ b/webrtc/base/base.gyp |
@@ -33,13 +33,28 @@ |
'rtc_base', |
], |
'sources': [ |
- 'objc/RTCCameraPreviewView.h', |
- 'objc/RTCCameraPreviewView.m', |
+ 'objc/NSString+StdString.h', |
+ 'objc/NSString+StdString.mm', |
'objc/RTCDispatcher.h', |
'objc/RTCDispatcher.m', |
'objc/RTCLogging.h', |
'objc/RTCLogging.mm', |
], |
+ 'conditions': [ |
+ ['OS=="ios"', { |
+ 'sources': [ |
+ 'objc/RTCCameraPreviewView.h', |
+ 'objc/RTCCameraPreviewView.m', |
+ ], |
+ 'all_dependent_settings': { |
+ 'xcode_settings': { |
+ 'OTHER_LDFLAGS': [ |
+ '-framework AVFoundation', |
+ ], |
+ }, |
+ }, |
+ }], |
+ ], |
'xcode_settings': { |
'CLANG_ENABLE_OBJC_ARC': 'YES', |
'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES', |