summaryrefslogtreecommitdiffstats
path: root/content/content_common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'content/content_common.gypi')
-rw-r--r--content/content_common.gypi14
1 files changed, 9 insertions, 5 deletions
diff --git a/content/content_common.gypi b/content/content_common.gypi
index 739c0b6..61e1d9e 100644
--- a/content/content_common.gypi
+++ b/content/content_common.gypi
@@ -143,10 +143,6 @@
'common/gpu/gpu_process_launch_causes.h',
'common/gpu/gpu_watchdog.h',
'common/gpu/image_transport_surface.h',
- 'common/gpu/image_transport_surface.cc',
- 'common/gpu/image_transport_surface_linux.cc',
- 'common/gpu/image_transport_surface_mac.cc',
- 'common/gpu/image_transport_surface_win.cc',
'common/gpu/media/gpu_video_decode_accelerator.cc',
'common/gpu/media/gpu_video_decode_accelerator.h',
'common/gpu/transport_texture.cc',
@@ -276,6 +272,10 @@
'sources!': [
'common/process_watcher_posix.cc',
],
+ 'sources': [
+ 'common/gpu/image_transport_surface.cc',
+ 'common/gpu/image_transport_surface_mac.cc',
+ ],
'link_settings': {
'mac_bundle_resources': [
'common/common.sb',
@@ -298,7 +298,11 @@
'common/gpu/x_util.h',
],
}],
- ['OS=="linux"', {
+ ['ui_compositor_image_transport==1', {
+ 'sources': [
+ 'common/gpu/image_transport_surface.cc',
+ 'common/gpu/image_transport_surface_linux.cc',
+ ],
'include_dirs': [
'<(DEPTH)/third_party/angle/include',
],