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

Unified Diff: media/BUILD.gn

Issue 914363002: Add the "is_ensemble" build variable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | media/base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | media/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698