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

Side by Side Diff: webrtc/api/BUILD.gn

Issue 1542473003: Move Objective-C video renderers to webrtc/api/objc. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@updateI420Frame
Patch Set: Merge master Created 4 years, 11 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
« no previous file with comments | « no previous file | webrtc/api/api.gyp » ('j') | webrtc/api/objc/RTCNSGLVideoView.m » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 10
11 config("ios_config") {
12 libs = [
13 "CoreGraphics.framework",
14 "GLKit.framework",
15 "OpenGLES.framework",
16 "QuartzCore.framework",
17 ]
18 }
19
11 if (is_ios) { 20 if (is_ios) {
12 source_set("rtc_api_objc") { 21 source_set("rtc_api_objc") {
13 deps = [ 22 deps = [
14 "//webrtc/base:rtc_base_objc", 23 "//webrtc/base:rtc_base_objc",
15 #"//talk/libjingle:libjingle_peerconnection", 24 #"//talk/libjingle:libjingle_peerconnection",
16 ] 25 ]
17 cflags = [ 26 cflags = [
18 "-fobjc-arc", 27 "-fobjc-arc",
19 "-Wobjc-missing-property-synthesis", 28 "-Wobjc-missing-property-synthesis",
20 ] 29 ]
21 sources = [ 30 sources = [
22 # Add RTCIceCandidate when there's a BUILD.gn for peer connection APIs 31 # Add RTCIceCandidate when there's a BUILD.gn for peer connection APIs
23 #"objc/RTCIceCandidate+Private.h", 32 #"objc/RTCIceCandidate+Private.h",
24 #"objc/RTCIceCandidate.h", 33 #"objc/RTCIceCandidate.h",
25 #"objc/RTCIceCandidate.mm", 34 #"objc/RTCIceCandidate.mm",
26 "objc/RTCIceServer+Private.h", 35 "objc/RTCIceServer+Private.h",
27 "objc/RTCIceServer.h", 36 "objc/RTCIceServer.h",
28 "objc/RTCIceServer.mm", 37 "objc/RTCIceServer.mm",
29 "objc/RTCMediaConstraints+Private.h", 38 "objc/RTCMediaConstraints+Private.h",
30 "objc/RTCMediaConstraints.h", 39 "objc/RTCMediaConstraints.h",
31 "objc/RTCMediaConstraints.mm", 40 "objc/RTCMediaConstraints.mm",
41 "objc/RTCOpenGLVideoRenderer.h",
42 "objc/RTCOpenGLVideoRenderer.mm",
32 "objc/RTCSessionDescription+Private.h", 43 "objc/RTCSessionDescription+Private.h",
33 "objc/RTCSessionDescription.h", 44 "objc/RTCSessionDescription.h",
34 "objc/RTCSessionDescription.mm", 45 "objc/RTCSessionDescription.mm",
35 "objc/RTCVideoFrame+Private.h", 46 "objc/RTCVideoFrame+Private.h",
36 "objc/RTCVideoFrame.h", 47 "objc/RTCVideoFrame.h",
37 "objc/RTCVideoFrame.mm", 48 "objc/RTCVideoFrame.mm",
49 "objc/RTCVideoRenderer.h",
38 "objc/WebRTC-Prefix.pch", 50 "objc/WebRTC-Prefix.pch",
39 ] 51 ]
52
53 if (is_ios) {
54 sources += [
55 "objc/RTCEAGLVideoView.h",
56 "objc/RTCEAGLVideoView.m",
57 ]
58 }
59
60 if (is_mac) {
61 sources += [
62 "objc/RTCNSGLVideoView.h",
63 "objc/RTCNSGLVideoView.m",
64 ]
65 }
40 } 66 }
41 } 67 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/api.gyp » ('j') | webrtc/api/objc/RTCNSGLVideoView.m » ('J')

Powered by Google App Engine
This is Rietveld 408576698