summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer_service.gypi
blob: 95a0aa2c4292e059ec58c9242f578111f1df78ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'include_dirs': [
    '..',
  ],
  'all_dependent_settings': {
    'include_dirs': [
      '..',
    ],
  },
  'dependencies': [
    '../base/base.gyp:base',
    '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
    '../crypto/crypto.gyp:crypto',
    '../third_party/khronos/khronos.gyp:khronos_headers',
    '../third_party/protobuf/protobuf.gyp:protobuf_lite',
    '../third_party/re2/re2.gyp:re2',
    '../third_party/smhasher/smhasher.gyp:cityhash',
    '../ui/gfx/gfx.gyp:gfx',
    '../ui/gfx/gfx.gyp:gfx_geometry',
    '../ui/gl/gl.gyp:gl',
    '<(angle_path)/src/angle.gyp:translator',
  ],
  'sources': [
    'command_buffer/service/async_pixel_transfer_delegate.cc',
    'command_buffer/service/async_pixel_transfer_delegate.h',
    'command_buffer/service/async_pixel_transfer_manager.cc',
    'command_buffer/service/async_pixel_transfer_manager.h',
    'command_buffer/service/async_pixel_transfer_manager_android.cc',
    'command_buffer/service/async_pixel_transfer_manager_idle.cc',
    'command_buffer/service/async_pixel_transfer_manager_idle.h',
    'command_buffer/service/async_pixel_transfer_manager_linux.cc',
    'command_buffer/service/async_pixel_transfer_manager_mac.cc',
    'command_buffer/service/async_pixel_transfer_manager_share_group.cc',
    'command_buffer/service/async_pixel_transfer_manager_share_group.h',
    'command_buffer/service/async_pixel_transfer_manager_stub.cc',
    'command_buffer/service/async_pixel_transfer_manager_stub.h',
    'command_buffer/service/async_pixel_transfer_manager_sync.cc',
    'command_buffer/service/async_pixel_transfer_manager_sync.h',
    'command_buffer/service/async_pixel_transfer_manager_win.cc',
    'command_buffer/service/buffer_manager.cc',
    'command_buffer/service/buffer_manager.h',
    'command_buffer/service/cmd_buffer_engine.h',
    'command_buffer/service/cmd_parser.cc',
    'command_buffer/service/cmd_parser.h',
    'command_buffer/service/command_buffer_service.cc',
    'command_buffer/service/command_buffer_service.h',
    'command_buffer/service/common_decoder.cc',
    'command_buffer/service/common_decoder.h',
    'command_buffer/service/context_group.cc',
    'command_buffer/service/context_group.h',
    'command_buffer/service/context_state.cc',
    'command_buffer/service/context_state.h',
    'command_buffer/service/context_state_autogen.h',
    'command_buffer/service/context_state_impl_autogen.h',
    'command_buffer/service/error_state.cc',
    'command_buffer/service/error_state.h',
    'command_buffer/service/feature_info.cc',
    'command_buffer/service/feature_info.h',
    'command_buffer/service/framebuffer_manager.cc',
    'command_buffer/service/framebuffer_manager.h',
    'command_buffer/service/gl_context_virtual.cc',
    'command_buffer/service/gl_context_virtual.h',
    'command_buffer/service/gl_state_restorer_impl.cc',
    'command_buffer/service/gl_state_restorer_impl.h',
    'command_buffer/service/gl_utils.h',
    'command_buffer/service/gles2_cmd_clear_framebuffer.cc',
    'command_buffer/service/gles2_cmd_clear_framebuffer.h',
    'command_buffer/service/gles2_cmd_copy_texture_chromium.cc',
    'command_buffer/service/gles2_cmd_copy_texture_chromium.h',
    'command_buffer/service/gles2_cmd_decoder.cc',
    'command_buffer/service/gles2_cmd_decoder.h',
    'command_buffer/service/gles2_cmd_decoder_autogen.h',
    'command_buffer/service/gles2_cmd_validation.cc',
    'command_buffer/service/gles2_cmd_validation.h',
    'command_buffer/service/gles2_cmd_validation_autogen.h',
    'command_buffer/service/gles2_cmd_validation_implementation_autogen.h',
    'command_buffer/service/gpu_scheduler.cc',
    'command_buffer/service/gpu_scheduler.h',
    'command_buffer/service/gpu_scheduler_mock.h',
    'command_buffer/service/gpu_state_tracer.cc',
    'command_buffer/service/gpu_state_tracer.h',
    'command_buffer/service/gpu_switches.cc',
    'command_buffer/service/gpu_switches.h',
    'command_buffer/service/gpu_tracer.cc',
    'command_buffer/service/gpu_tracer.h',
    'command_buffer/service/id_manager.cc',
    'command_buffer/service/id_manager.h',
    'command_buffer/service/image_factory.cc',
    'command_buffer/service/image_factory.h',
    'command_buffer/service/image_manager.cc',
    'command_buffer/service/image_manager.h',
    'command_buffer/service/in_process_command_buffer.cc',
    'command_buffer/service/in_process_command_buffer.h',
    'command_buffer/service/logger.cc',
    'command_buffer/service/logger.h',
    'command_buffer/service/mailbox_manager.h',
    'command_buffer/service/mailbox_manager_impl.cc',
    'command_buffer/service/mailbox_manager_impl.h',
    'command_buffer/service/mailbox_manager_sync.cc',
    'command_buffer/service/mailbox_manager_sync.h',
    'command_buffer/service/memory_program_cache.cc',
    'command_buffer/service/memory_program_cache.h',
    'command_buffer/service/mocks.h',
    'command_buffer/service/program_cache.cc',
    'command_buffer/service/program_cache.h',
    'command_buffer/service/program_manager.cc',
    'command_buffer/service/program_manager.h',
    'command_buffer/service/query_manager.cc',
    'command_buffer/service/query_manager.h',
    'command_buffer/service/renderbuffer_manager.cc',
    'command_buffer/service/renderbuffer_manager.h',
    'command_buffer/service/shader_manager.cc',
    'command_buffer/service/shader_manager.h',
    'command_buffer/service/shader_translator.cc',
    'command_buffer/service/shader_translator.h',
    'command_buffer/service/shader_translator_cache.cc',
    'command_buffer/service/shader_translator_cache.h',
    'command_buffer/service/stream_texture_manager_in_process_android.cc',
    'command_buffer/service/stream_texture_manager_in_process_android.h',
    'command_buffer/service/sync_point_manager.cc',
    'command_buffer/service/sync_point_manager.h',
    'command_buffer/service/texture_definition.cc',
    'command_buffer/service/texture_definition.h',
    'command_buffer/service/texture_manager.cc',
    'command_buffer/service/texture_manager.h',
    'command_buffer/service/transfer_buffer_manager.cc',
    'command_buffer/service/transfer_buffer_manager.h',
    'command_buffer/service/valuebuffer_manager.cc',
    'command_buffer/service/valuebuffer_manager.h',
    'command_buffer/service/vertex_array_manager.cc',
    'command_buffer/service/vertex_array_manager.h',
    'command_buffer/service/vertex_attrib_manager.cc',
    'command_buffer/service/vertex_attrib_manager.h',
  ],
  'conditions': [
    ['ui_compositor_image_transport==1', {
      'include_dirs': [
        '../third_party/khronos',
      ],
    }],
    ['OS in ("win", "android") or (OS == "linux" and use_x11 == 1)', {
      'sources': [
        'command_buffer/service/async_pixel_transfer_manager_egl.cc',
        'command_buffer/service/async_pixel_transfer_manager_egl.h',
      ],
    }],
  ],
}