OLD | NEW |
| (Empty) |
1 # Copyright (c) 2016 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'dependencies': [ | |
7 '../base/base.gyp:base', | |
8 '../ipc/ipc.gyp:ipc', | |
9 '../ui/events/events.gyp:events_base', | |
10 '../ui/events/events.gyp:events_ipc', | |
11 '../ui/gfx/gfx.gyp:gfx', | |
12 '../ui/gfx/gfx.gyp:gfx_geometry', | |
13 '../ui/gl/gl.gyp:gl', | |
14 '../ui/gl/init/gl_init.gyp:gl_init', | |
15 '../url/url.gyp:url_lib', | |
16 ], | |
17 'include_dirs': [ | |
18 '..', | |
19 ], | |
20 'sources': [ | |
21 'ipc/service/gpu_channel.cc', | |
22 'ipc/service/gpu_channel.h', | |
23 'ipc/service/gpu_channel_manager.cc', | |
24 'ipc/service/gpu_channel_manager.h', | |
25 'ipc/service/gpu_channel_manager_delegate.h', | |
26 'ipc/service/gpu_command_buffer_stub.cc', | |
27 'ipc/service/gpu_command_buffer_stub.h', | |
28 'ipc/service/gpu_config.h', | |
29 'ipc/service/gpu_memory_buffer_factory.cc', | |
30 'ipc/service/gpu_memory_buffer_factory.h', | |
31 'ipc/service/gpu_memory_manager.cc', | |
32 'ipc/service/gpu_memory_manager.h', | |
33 'ipc/service/gpu_memory_tracking.cc', | |
34 'ipc/service/gpu_memory_tracking.h', | |
35 'ipc/service/gpu_watchdog_thread.cc', | |
36 'ipc/service/gpu_watchdog_thread.h', | |
37 'ipc/service/image_transport_surface.h', | |
38 'ipc/service/pass_through_image_transport_surface.cc', | |
39 'ipc/service/pass_through_image_transport_surface.h', | |
40 ], | |
41 'conditions': [ | |
42 ['OS=="win"', { | |
43 'sources': [ | |
44 'ipc/service/child_window_surface_win.cc', | |
45 'ipc/service/child_window_surface_win.h', | |
46 'ipc/service/image_transport_surface_win.cc', | |
47 ], | |
48 }], | |
49 ['OS=="mac"', { | |
50 'sources': [ | |
51 'ipc/service/image_transport_surface_overlay_mac.h', | |
52 'ipc/service/image_transport_surface_overlay_mac.mm', | |
53 'ipc/service/gpu_memory_buffer_factory_io_surface.cc', | |
54 'ipc/service/gpu_memory_buffer_factory_io_surface.h', | |
55 'ipc/service/image_transport_surface_mac.mm', | |
56 ], | |
57 'dependencies': [ | |
58 '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wid
get_mac', | |
59 ], | |
60 'link_settings': { | |
61 'libraries': [ | |
62 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | |
63 ], | |
64 }, | |
65 }], | |
66 ['OS=="android"', { | |
67 'sources': [ | |
68 'ipc/service/image_transport_surface_android.cc', | |
69 'ipc/service/stream_texture_android.cc', | |
70 'ipc/service/stream_texture_android.h', | |
71 'ipc/service/gpu_memory_buffer_factory_surface_texture.cc', | |
72 'ipc/service/gpu_memory_buffer_factory_surface_texture.h', | |
73 ], | |
74 'link_settings': { | |
75 'libraries': [ | |
76 '-landroid', # ANativeWindow | |
77 ], | |
78 }, | |
79 }], | |
80 ['OS=="linux"', { | |
81 'sources': [ 'ipc/service/image_transport_surface_linux.cc' ], | |
82 }], | |
83 ['use_x11 == 1 and (target_arch != "arm" or chromeos == 0)', { | |
84 'sources': [ | |
85 'ipc/service/x_util.h', | |
86 ], | |
87 }], | |
88 ['use_ozone == 1', { | |
89 'sources': [ | |
90 'ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc', | |
91 'ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.h', | |
92 ], | |
93 'dependencies': [ | |
94 '../ui/ozone/gl/ozone_gl.gyp:ozone_gl', | |
95 '../ui/ozone/ozone.gyp:ozone', | |
96 ], | |
97 }], | |
98 ], | |
99 } | |
OLD | NEW |