[Android] Implement 3-way sensor fallback for Device Orientation.
[chromium-blink-merge.git] / gpu / command_buffer_service.gypi
blobb633f8927dff3766e4b63c3dc8c29b27fa875501
1 # Copyright (c) 2012 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.
6   'include_dirs': [
7     '..',
8   ],
9   'all_dependent_settings': {
10     'include_dirs': [
11       '..',
12     ],
13   },
14   'dependencies': [
15     '../base/base.gyp:base',
16     '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
17     '../crypto/crypto.gyp:crypto',
18     '../third_party/khronos/khronos.gyp:khronos_headers',
19     '../third_party/protobuf/protobuf.gyp:protobuf_lite',
20     '../third_party/re2/re2.gyp:re2',
21     '../third_party/smhasher/smhasher.gyp:cityhash',
22     '../ui/gfx/gfx.gyp:gfx',
23     '../ui/gfx/gfx.gyp:gfx_geometry',
24     '../ui/gl/gl.gyp:gl',
25     '<(angle_path)/src/angle.gyp:commit_id',
26     '<(angle_path)/src/angle.gyp:translator',
27   ],
28   'sources': [
29     'command_buffer/service/async_pixel_transfer_delegate.cc',
30     'command_buffer/service/async_pixel_transfer_delegate.h',
31     'command_buffer/service/async_pixel_transfer_manager.cc',
32     'command_buffer/service/async_pixel_transfer_manager.h',
33     'command_buffer/service/async_pixel_transfer_manager_android.cc',
34     'command_buffer/service/async_pixel_transfer_manager_idle.cc',
35     'command_buffer/service/async_pixel_transfer_manager_idle.h',
36     'command_buffer/service/async_pixel_transfer_manager_linux.cc',
37     'command_buffer/service/async_pixel_transfer_manager_mac.cc',
38     'command_buffer/service/async_pixel_transfer_manager_share_group.cc',
39     'command_buffer/service/async_pixel_transfer_manager_share_group.h',
40     'command_buffer/service/async_pixel_transfer_manager_stub.cc',
41     'command_buffer/service/async_pixel_transfer_manager_stub.h',
42     'command_buffer/service/async_pixel_transfer_manager_sync.cc',
43     'command_buffer/service/async_pixel_transfer_manager_sync.h',
44     'command_buffer/service/async_pixel_transfer_manager_win.cc',
45     'command_buffer/service/buffer_manager.cc',
46     'command_buffer/service/buffer_manager.h',
47     'command_buffer/service/cmd_buffer_engine.h',
48     'command_buffer/service/cmd_parser.cc',
49     'command_buffer/service/cmd_parser.h',
50     'command_buffer/service/command_buffer_service.cc',
51     'command_buffer/service/command_buffer_service.h',
52     'command_buffer/service/common_decoder.cc',
53     'command_buffer/service/common_decoder.h',
54     'command_buffer/service/context_group.cc',
55     'command_buffer/service/context_group.h',
56     'command_buffer/service/context_state.cc',
57     'command_buffer/service/context_state.h',
58     'command_buffer/service/context_state_autogen.h',
59     'command_buffer/service/context_state_impl_autogen.h',
60     'command_buffer/service/error_state.cc',
61     'command_buffer/service/error_state.h',
62     'command_buffer/service/feature_info.cc',
63     'command_buffer/service/feature_info.h',
64     'command_buffer/service/framebuffer_manager.cc',
65     'command_buffer/service/framebuffer_manager.h',
66     'command_buffer/service/gl_context_virtual.cc',
67     'command_buffer/service/gl_context_virtual.h',
68     'command_buffer/service/gl_state_restorer_impl.cc',
69     'command_buffer/service/gl_state_restorer_impl.h',
70     'command_buffer/service/gl_utils.h',
71     'command_buffer/service/gles2_cmd_clear_framebuffer.cc',
72     'command_buffer/service/gles2_cmd_clear_framebuffer.h',
73     'command_buffer/service/gles2_cmd_copy_texture_chromium.cc',
74     'command_buffer/service/gles2_cmd_copy_texture_chromium.h',
75     'command_buffer/service/gles2_cmd_decoder.cc',
76     'command_buffer/service/gles2_cmd_decoder.h',
77     'command_buffer/service/gles2_cmd_decoder_autogen.h',
78     'command_buffer/service/gles2_cmd_validation.cc',
79     'command_buffer/service/gles2_cmd_validation.h',
80     'command_buffer/service/gles2_cmd_validation_autogen.h',
81     'command_buffer/service/gles2_cmd_validation_implementation_autogen.h',
82     'command_buffer/service/gpu_scheduler.cc',
83     'command_buffer/service/gpu_scheduler.h',
84     'command_buffer/service/gpu_state_tracer.cc',
85     'command_buffer/service/gpu_state_tracer.h',
86     'command_buffer/service/gpu_switches.cc',
87     'command_buffer/service/gpu_switches.h',
88     'command_buffer/service/gpu_tracer.cc',
89     'command_buffer/service/gpu_tracer.h',
90     'command_buffer/service/id_manager.cc',
91     'command_buffer/service/id_manager.h',
92     'command_buffer/service/image_factory.cc',
93     'command_buffer/service/image_factory.h',
94     'command_buffer/service/image_manager.cc',
95     'command_buffer/service/image_manager.h',
96     'command_buffer/service/in_process_command_buffer.cc',
97     'command_buffer/service/in_process_command_buffer.h',
98     'command_buffer/service/logger.cc',
99     'command_buffer/service/logger.h',
100     'command_buffer/service/mailbox_manager.cc',
101     'command_buffer/service/mailbox_manager.h',
102     'command_buffer/service/mailbox_manager_impl.cc',
103     'command_buffer/service/mailbox_manager_impl.h',
104     'command_buffer/service/mailbox_manager_sync.cc',
105     'command_buffer/service/mailbox_manager_sync.h',
106     'command_buffer/service/memory_program_cache.cc',
107     'command_buffer/service/memory_program_cache.h',
108     'command_buffer/service/mocks.h',
109     'command_buffer/service/program_cache.cc',
110     'command_buffer/service/program_cache.h',
111     'command_buffer/service/path_manager.cc',
112     'command_buffer/service/path_manager.h',
113     'command_buffer/service/program_manager.cc',
114     'command_buffer/service/program_manager.h',
115     'command_buffer/service/query_manager.cc',
116     'command_buffer/service/query_manager.h',
117     'command_buffer/service/renderbuffer_manager.cc',
118     'command_buffer/service/renderbuffer_manager.h',
119     'command_buffer/service/shader_manager.cc',
120     'command_buffer/service/shader_manager.h',
121     'command_buffer/service/shader_translator.cc',
122     'command_buffer/service/shader_translator.h',
123     'command_buffer/service/shader_translator_cache.cc',
124     'command_buffer/service/shader_translator_cache.h',
125     'command_buffer/service/stream_texture_manager_in_process_android.cc',
126     'command_buffer/service/stream_texture_manager_in_process_android.h',
127     'command_buffer/service/sync_point_manager.cc',
128     'command_buffer/service/sync_point_manager.h',
129     'command_buffer/service/texture_definition.cc',
130     'command_buffer/service/texture_definition.h',
131     'command_buffer/service/texture_manager.cc',
132     'command_buffer/service/texture_manager.h',
133     'command_buffer/service/transfer_buffer_manager.cc',
134     'command_buffer/service/transfer_buffer_manager.h',
135     'command_buffer/service/valuebuffer_manager.cc',
136     'command_buffer/service/valuebuffer_manager.h',
137     'command_buffer/service/vertex_array_manager.cc',
138     'command_buffer/service/vertex_array_manager.h',
139     'command_buffer/service/vertex_attrib_manager.cc',
140     'command_buffer/service/vertex_attrib_manager.h',
141   ],
142   'conditions': [
143     ['ui_compositor_image_transport==1', {
144       'include_dirs': [
145         '../third_party/khronos',
146       ],
147     }],
148     ['OS=="mac"', {
149       # Required by gles2_cmd_decoder.cc on Mac.
150       'link_settings': {
151         'libraries': [
152           '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework',
153           '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
154         ],
155       },
156     }],
157     ['OS in ("win", "android") or (OS == "linux" and use_x11 == 1)', {
158       'sources': [
159         'command_buffer/service/async_pixel_transfer_manager_egl.cc',
160         'command_buffer/service/async_pixel_transfer_manager_egl.h',
161       ],
162     }],
163   ],