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

Unified Diff: webrtc/api/BUILD.gn

Issue 2546723003: New gn target video_frame_api. (Closed)
Patch Set: Created 4 years 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/api/video/video_rotation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/BUILD.gn
diff --git a/webrtc/api/BUILD.gn b/webrtc/api/BUILD.gn
index dabfb4b2f90113b6cdcc1ea6de8b9a88ef33c716..b2f28ab4e2769faaf4963bb264a139eaf08aa2e6 100644
--- a/webrtc/api/BUILD.gn
+++ b/webrtc/api/BUILD.gn
@@ -368,6 +368,29 @@ rtc_source_set("transport_api") {
"call/transport.h",
]
}
+
+rtc_source_set("video_frame_api") {
+ sources = [
+ "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" ]
kjellander_webrtc 2016/12/02 10:09:00 I tried gathering it in one place at some point (c
+ 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
« no previous file with comments | « no previous file | webrtc/api/video/video_rotation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698