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

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: Update style and fix build Created 5 years 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/RTCEAGLVideoView.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 ] 24 ]
16 cflags = [ 25 cflags = [
17 "-fobjc-arc", 26 "-fobjc-arc",
18 "-Wobjc-missing-property-synthesis", 27 "-Wobjc-missing-property-synthesis",
19 ] 28 ]
20 sources = [ 29 sources = [
21 "objc/RTCI420Frame+Private.h", 30 "objc/RTCI420Frame+Private.h",
22 "objc/RTCI420Frame.h", 31 "objc/RTCI420Frame.h",
23 "objc/RTCI420Frame.mm", 32 "objc/RTCI420Frame.mm",
24 "objc/RTCIceServer+Private.h", 33 "objc/RTCIceServer+Private.h",
25 "objc/RTCIceServer.h", 34 "objc/RTCIceServer.h",
26 "objc/RTCIceServer.mm", 35 "objc/RTCIceServer.mm",
36 "objc/RTCOpenGLVideoRenderer.h",
37 "objc/RTCOpenGLVideoRenderer.mm",
38 "objc/RTCVideoRenderer.h",
27 "objc/WebRTC-Prefix.pch", 39 "objc/WebRTC-Prefix.pch",
28 ] 40 ]
41
42 if (is_ios) {
43 sources += [
44 "objc/RTCEAGLVideoView.h",
45 "objc/RTCEAGLVideoView.m",
46 ]
47 }
48
49 if (is_mac) {
50 sources += [
51 "objc/RTCNSGLVideoView.h",
52 "objc/RTCNSGLVideoView.m",
53 ]
54 }
29 } 55 }
30 } 56 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/api.gyp » ('j') | webrtc/api/objc/RTCEAGLVideoView.m » ('J')

Powered by Google App Engine
This is Rietveld 408576698