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

Unified Diff: webrtc/sdk/BUILD.gn

Issue 2743663002: Reland of Add unit tests for RTCMTLVideoView. (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/sdk/objc/Framework/Classes/Metal/RTCMTLNV12Renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/sdk/BUILD.gn
diff --git a/webrtc/sdk/BUILD.gn b/webrtc/sdk/BUILD.gn
index 4acf3783f545259ac77f82027932f9ba2a03628d..a789efb57e4c668a7b12b3f9e5539c067e519d9a 100644
--- a/webrtc/sdk/BUILD.gn
+++ b/webrtc/sdk/BUILD.gn
@@ -94,6 +94,7 @@
rtc_static_library("rtc_sdk_peerconnection_objc") {
sources = [
+ "objc/Framework/Classes/Metal/RTCMTLNV12Renderer.h",
"objc/Framework/Classes/RTCAVFoundationVideoCapturerInternal.h",
"objc/Framework/Classes/RTCAVFoundationVideoCapturerInternal.mm",
"objc/Framework/Classes/RTCAVFoundationVideoSource+Private.h",
@@ -257,6 +258,12 @@
"objc/Framework/UnitTests/RTCSessionDescriptionTest.mm",
"objc/Framework/UnitTests/avformatmappertests.mm",
]
+ if (is_ios) {
+ sources += [ "objc/Framework/UnitTests/RTCMTLVideoViewTests.mm" ]
+ if (current_cpu != "arm64") {
+ sources += [ "objc/Framework/Classes/Metal/RTCMTLVideoView.m" ]
+ }
+ }
deps = [
":rtc_sdk_peerconnection_objc",
"//third_party/ocmock",
« no previous file with comments | « no previous file | webrtc/sdk/objc/Framework/Classes/Metal/RTCMTLNV12Renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698