Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright 2016 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 import("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
| 10 import("//build_overrides/webrtc.gni") | 10 import("//build_overrides/webrtc.gni") |
| 11 | 11 |
| 12 if (is_ios) { | 12 if (is_ios) { |
| 13 config("rtc_sdk_common_objc_config") { | |
| 14 include_dirs = [ | |
| 15 "objc/Framework/Classes", | |
| 16 "objc/Framework/Headers", | |
| 17 ] | |
| 18 } | |
| 19 | |
| 13 source_set("rtc_sdk_common_objc") { | 20 source_set("rtc_sdk_common_objc") { |
| 14 deps = [ | 21 deps = [ |
| 15 "../base:rtc_base", | 22 "../base:rtc_base", |
| 16 ] | 23 ] |
| 17 cflags = [ "-fobjc-arc" ] | 24 cflags = [ "-fobjc-arc" ] |
| 18 configs += [ "..:common_config" ] | 25 configs += [ "..:common_config" ] |
| 19 public_configs = [ "..:common_inherited_config" ] | 26 public_configs = [ |
| 20 include_dirs = [ | 27 "..:common_inherited_config", |
| 21 "objc/Framework/Classes", | 28 ":rtc_sdk_common_objc_config", |
| 22 "objc/Framework/Headers", | |
| 23 ] | 29 ] |
| 24 sources = [ | 30 sources = [ |
| 25 "objc/Framework/Classes/NSString+StdString.h", | 31 "objc/Framework/Classes/NSString+StdString.h", |
| 26 "objc/Framework/Classes/NSString+StdString.mm", | 32 "objc/Framework/Classes/NSString+StdString.mm", |
| 27 "objc/Framework/Classes/RTCCameraPreviewView.m", | 33 "objc/Framework/Classes/RTCCameraPreviewView.m", |
| 28 "objc/Framework/Classes/RTCDispatcher.m", | 34 "objc/Framework/Classes/RTCDispatcher.m", |
| 29 "objc/Framework/Classes/RTCFieldTrials.mm", | 35 "objc/Framework/Classes/RTCFieldTrials.mm", |
| 30 "objc/Framework/Classes/RTCLogging.mm", | 36 "objc/Framework/Classes/RTCLogging.mm", |
| 31 "objc/Framework/Classes/RTCSSLAdapter.mm", | 37 "objc/Framework/Classes/RTCSSLAdapter.mm", |
| 32 "objc/Framework/Classes/RTCTracing.mm", | 38 "objc/Framework/Classes/RTCTracing.mm", |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 47 ] | 53 ] |
| 48 } | 54 } |
| 49 libs = [ "AVFoundation.framework" ] | 55 libs = [ "AVFoundation.framework" ] |
| 50 } | 56 } |
| 51 | 57 |
| 52 source_set("rtc_sdk_peerconnection_objc") { | 58 source_set("rtc_sdk_peerconnection_objc") { |
| 53 deps = [ | 59 deps = [ |
| 54 ":rtc_sdk_common_objc", | 60 ":rtc_sdk_common_objc", |
| 55 #"../../talk/libjingle:libjingle_peerconnection", | 61 #"../../talk/libjingle:libjingle_peerconnection", |
| 56 ] | 62 ] |
| 57 cflags = [ | 63 configs += [ "//build/config/compiler:enable_arc" ] |
| 58 "-fobjc-arc", | 64 cflags = [ "-Wobjc-missing-property-synthesis" ] |
| 59 "-Wobjc-missing-property-synthesis", | |
| 60 ] | |
| 61 include_dirs = [ | |
| 62 "objc/Framework/Classes", | |
| 63 "objc/Framework/Headers", | |
| 64 ] | |
| 65 sources = [ | 65 sources = [ |
| 66 # Add these when there's a BUILD.gn for peer connection APIs | 66 # Add these when there's a BUILD.gn for peer connection APIs |
|
tkchin_webrtc
2016/05/25 17:46:21
Is there a plan to get GN working for peerconnecti
kjellander_webrtc
2016/05/25 17:54:02
That would be my next thing to look at. Getting th
| |
| 67 #"objc/Framework/Classes/RTCAVFoundationVideoSource+Private.h", | 67 #"objc/Framework/Classes/RTCAVFoundationVideoSource+Private.h", |
| 68 #"objc/Framework/Classes/RTCAVFoundationVideoSource.mm", | 68 #"objc/Framework/Classes/RTCAVFoundationVideoSource.mm", |
| 69 #"objc/Framework/Classes/RTCAudioTrack+Private.h", | 69 #"objc/Framework/Classes/RTCAudioTrack+Private.h", |
| 70 #"objc/Framework/Classes/RTCAudioTrack.mm", | 70 #"objc/Framework/Classes/RTCAudioTrack.mm", |
| 71 #"objc/Framework/Classes/RTCConfiguration+Private.h", | 71 #"objc/Framework/Classes/RTCConfiguration+Private.h", |
| 72 #"objc/Framework/Classes/RTCConfiguration.mm", | 72 #"objc/Framework/Classes/RTCConfiguration.mm", |
| 73 #"objc/Framework/Classes/RTCDataChannel+Private.h", | 73 #"objc/Framework/Classes/RTCDataChannel+Private.h", |
| 74 #"objc/Framework/Classes/RTCDataChannel.mm", | 74 #"objc/Framework/Classes/RTCDataChannel.mm", |
| 75 #"objc/Framework/Classes/RTCDataChannelConfiguration+Private.h", | 75 #"objc/Framework/Classes/RTCDataChannelConfiguration+Private.h", |
| 76 #"objc/Framework/Classes/RTCDataChannelConfiguration.mm", | 76 #"objc/Framework/Classes/RTCDataChannelConfiguration.mm", |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 146 } | 146 } |
| 147 | 147 |
| 148 if (is_mac) { | 148 if (is_mac) { |
| 149 sources += [ | 149 sources += [ |
| 150 "objc/Framework/Classes/RTCNSGLVideoView.m", | 150 "objc/Framework/Classes/RTCNSGLVideoView.m", |
| 151 "objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h", | 151 "objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h", |
| 152 ] | 152 ] |
| 153 } | 153 } |
| 154 } | 154 } |
| 155 } | 155 } |
| OLD | NEW |