| 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",
|
| + ]
|
| +}
|
|
|