Index: media/BUILD.gn |
diff --git a/media/BUILD.gn b/media/BUILD.gn |
index 628aa06e15b38955bc72eeebc9d4da011dd91028..d6728c4bbeea6b19d9bc8b87ab1725b37d796994 100644 |
--- a/media/BUILD.gn |
+++ b/media/BUILD.gn |
@@ -488,6 +488,35 @@ component("media") { |
"//ui/gfx/geometry", |
"//url", |
] |
+ |
+ if (is_ensemble) { |
DaleCurtis
2015/02/11 21:58:01
I think it'll be less error prone if you gate the
wtc
2015/02/11 23:40:47
Originally I did it this way to minimize my change
DaleCurtis
2015/02/11 23:53:46
I dislike the double listing and much prefer to op
|
+ # Remove source files and dependencies that need X11, font, or graphics |
+ # libraries. |
+ sources -= [ |
+ "filters/default_renderer_factory.cc", |
+ "filters/default_renderer_factory.h", |
+ "filters/gpu_video_decoder.cc", |
+ "filters/gpu_video_decoder.h", |
+ "filters/skcanvas_video_renderer.cc", |
+ "filters/skcanvas_video_renderer.h", |
+ "video/capture/fake_video_capture_device.cc", |
+ "video/capture/fake_video_capture_device.h", |
+ "video/capture/fake_video_capture_device_factory.h", |
+ "video/capture/fake_video_capture_device_factory.cc", |
+ "video/capture/file_video_capture_device_factory.h", |
+ "video/capture/file_video_capture_device_factory.cc", |
+ "video/capture/linux/video_capture_device_factory_linux.cc", |
+ "video/capture/linux/video_capture_device_factory_linux.h", |
+ "video/capture/video_capture_device_factory.cc", |
+ "video/capture/video_capture_device_factory.h", |
+ ] |
+ |
+ deps -= [ |
+ "//skia", |
+ "//ui/events:events_base", |
+ "//ui/gfx", |
+ ] |
+ } |
} |
# Minimal media component for media/cast on iOS. |