Index: webrtc/common_video/BUILD.gn |
diff --git a/webrtc/common_video/BUILD.gn b/webrtc/common_video/BUILD.gn |
index 0aefefd193b2014bca1f8d34757260423733c781..3b33bcca8d43de3455944b18483ff4cba30a23c8 100644 |
--- a/webrtc/common_video/BUILD.gn |
+++ b/webrtc/common_video/BUILD.gn |
@@ -60,12 +60,13 @@ rtc_static_library("common_video") { |
"../base:rtc_task_queue", |
"../system_wrappers", |
] |
+ public_deps = [ |
+ "../api:video_frame_api", |
+ ] |
if (rtc_build_libyuv) { |
deps += [ "$rtc_libyuv_dir" ] |
- public_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" ] |