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

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

Issue 2778693003: MacOS: Add metal renderer and view. (Closed)
Patch Set: Revert not needed change Created 3 years, 8 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
OLDNEW
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("../webrtc.gni") 9 import("../webrtc.gni")
10 if (is_ios) { 10 if (is_ios) {
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 libs = [ 203 libs = [
204 "CoreGraphics.framework", 204 "CoreGraphics.framework",
205 "GLKit.framework", 205 "GLKit.framework",
206 "OpenGLES.framework", 206 "OpenGLES.framework",
207 "QuartzCore.framework", 207 "QuartzCore.framework",
208 ] 208 ]
209 } 209 }
210 210
211 if (is_mac) { 211 if (is_mac) {
212 sources += [ 212 sources += [
213 "objc/Framework/Classes/Metal/RTCMTLI420Renderer.h",
214 "objc/Framework/Classes/Metal/RTCMTLI420Renderer.mm",
215 "objc/Framework/Classes/Metal/RTCMTLNSVideoView.m",
213 "objc/Framework/Classes/RTCNSGLVideoView.m", 216 "objc/Framework/Classes/RTCNSGLVideoView.m",
217 "objc/Framework/Headers/WebRTC/RTCMTLNSVideoView.h",
214 "objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h", 218 "objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h",
215 ] 219 ]
216 libs = [ 220 libs = [
221 "CoreVideo.framework",
217 "CoreMedia.framework", 222 "CoreMedia.framework",
218 "OpenGL.framework", 223 "OpenGL.framework",
224 "Metal.framework",
225 "MetalKit.framework",
219 ] 226 ]
220 } 227 }
221 228
222 configs += [ 229 configs += [
223 "..:common_objc", 230 "..:common_objc",
224 "//build/config/compiler:enable_arc", 231 "//build/config/compiler:enable_arc",
225 ] 232 ]
226 233
227 public_configs = [ ":rtc_sdk_common_objc_config" ] 234 public_configs = [ ":rtc_sdk_common_objc_config" ]
228 235
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 deps += [ "$rtc_libyuv_dir" ] 426 deps += [ "$rtc_libyuv_dir" ]
420 public_deps = [ 427 public_deps = [
421 "$rtc_libyuv_dir", 428 "$rtc_libyuv_dir",
422 ] 429 ]
423 } else { 430 } else {
424 # Need to add a directory normally exported by libyuv. 431 # Need to add a directory normally exported by libyuv.
425 include_dirs = [ "$rtc_libyuv_dir/include" ] 432 include_dirs = [ "$rtc_libyuv_dir/include" ]
426 } 433 }
427 } 434 }
428 } 435 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698