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

Unified Diff: media/mojo/common/BUILD.gn

Issue 2919163003: media: Create separate target for MojoSharedBufferVideoFrame. (Closed)
Patch Set: Created 3 years, 7 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 | « media/mojo/clients/BUILD.gn ('k') | media/mojo/services/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/common/BUILD.gn
diff --git a/media/mojo/common/BUILD.gn b/media/mojo/common/BUILD.gn
index 1dfe069a71e7ae2dad91b1a76b3b2418773f1da9..cd16a73cfd11ae1d358c68dffdd493c7c9199909 100644
--- a/media/mojo/common/BUILD.gn
+++ b/media/mojo/common/BUILD.gn
@@ -8,11 +8,10 @@ source_set("common") {
"media_type_converters.h",
"mojo_decoder_buffer_converter.cc",
"mojo_decoder_buffer_converter.h",
- "mojo_shared_buffer_video_frame.cc",
- "mojo_shared_buffer_video_frame.h",
]
deps = [
+ ":mojo_shared_buffer_video_frame",
"//base",
"//gpu/ipc/common:struct_traits",
"//media",
@@ -24,3 +23,19 @@ source_set("common") {
"//ui/gfx/geometry/mojo",
]
}
+
+# This is a separate target so that //media/mojo/interfaces can depend on it
+# without creating a cycle.
+source_set("mojo_shared_buffer_video_frame") {
+ sources = [
+ "mojo_shared_buffer_video_frame.cc",
+ "mojo_shared_buffer_video_frame.h",
+ ]
+
+ deps = [
+ "//base",
+ "//media",
+ "//mojo/public/cpp/system",
+ "//ui/gfx/geometry",
+ ]
+}
« no previous file with comments | « media/mojo/clients/BUILD.gn ('k') | media/mojo/services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698