Skip to content

Commit

Permalink
Make sure RTCMTLVideoView.h ends up in framework headers.
Browse files Browse the repository at this point in the history
Needs to be added to the array before the array is copied to the
sources and public_headers arrays.

Bug: None
Change-Id: If41fd1c882dd17e4007b62c9c7a49f196849dd12
Reviewed-on: https://webrtc-review.googlesource.com/63640
Reviewed-by: Kári Helgason <[email protected]>
Commit-Queue: Anders Carlsson <[email protected]>
Cr-Commit-Position: refs/heads/master@{#22531}
  • Loading branch information
Anders Carlsson authored and Commit Bot committed Mar 21, 2018
1 parent 08006d4 commit c3d1e09
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sdk/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,10 @@ if (is_ios || is_mac) {
"objc/Framework/Headers/WebRTC/RTCFileLogger.h",
]
}
if (rtc_use_metal_rendering) {
common_objc_headers +=
[ "objc/Framework/Headers/WebRTC/RTCMTLVideoView.h" ]
}

sources = common_objc_headers
public_headers = common_objc_headers
Expand Down Expand Up @@ -886,8 +890,6 @@ if (is_ios || is_mac) {
"../system_wrappers:runtime_enabled_features_default",
]
if (rtc_use_metal_rendering) {
common_objc_headers +=
[ "objc/Framework/Headers/WebRTC/RTCMTLVideoView.h" ]
deps += [ ":metal_objc" ]
}

Expand Down

0 comments on commit c3d1e09

Please sign in to comment.