| Index: webrtc/api/BUILD.gn
|
| diff --git a/webrtc/api/BUILD.gn b/webrtc/api/BUILD.gn
|
| index dabfb4b2f90113b6cdcc1ea6de8b9a88ef33c716..0ba0638c1e8b6f0f64909e82c30220c8ef527bf0 100644
|
| --- a/webrtc/api/BUILD.gn
|
| +++ b/webrtc/api/BUILD.gn
|
| @@ -368,6 +368,34 @@ rtc_source_set("transport_api") {
|
| "call/transport.h",
|
| ]
|
| }
|
| +
|
| +rtc_source_set("video_frame_api") {
|
| + sources = [
|
| + "video/i420_buffer.cc",
|
| + "video/i420_buffer.h",
|
| + "video/video_frame.cc",
|
| + "video/video_frame.h",
|
| + "video/video_frame_buffer.h",
|
| + "video/video_rotation.h",
|
| + ]
|
| +
|
| + deps = [
|
| + "../base:rtc_base_approved",
|
| + ]
|
| +
|
| + # TODO(nisse): This logic is duplicated in multiple places.
|
| + # Define in a single place.
|
| + if (rtc_build_libyuv) {
|
| + deps += [ "$rtc_libyuv_dir" ]
|
| + public_deps = [
|
| + "$rtc_libyuv_dir",
|
| + ]
|
| + } else {
|
| + # Need to add a directory normally exported by libyuv.
|
| + include_dirs = [ "$rtc_libyuv_dir/include" ]
|
| + }
|
| +}
|
| +
|
| if (rtc_include_tests) {
|
| config("peerconnection_unittests_config") {
|
| # The warnings below are enabled by default. Since GN orders compiler flags
|
|
|