blob: 6a86e49cc16d6bf5791f3a5b1d3df4a737e218b3 [file] [log] [blame]
# 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',
'../ui/gl/init/gl_init.gyp:gl_init',
'<(angle_path)/src/angle.gyp:commit_id',
'<(angle_path)/src/angle.gyp:translator',
],
'sources': [
'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/command_executor.cc',
'command_buffer/service/command_executor.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_completeness_cache.cc",
"command_buffer/service/framebuffer_completeness_cache.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.cc',
'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_preferences.cc',
'command_buffer/service/gpu_preferences.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/indexed_buffer_binding_host.cc',
'command_buffer/service/indexed_buffer_binding_host.h',
'command_buffer/service/logger.cc',
'command_buffer/service/logger.h',
'command_buffer/service/mailbox_manager.cc',
'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/path_manager.cc',
'command_buffer/service/path_manager.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/sampler_manager.cc',
'command_buffer/service/sampler_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/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/transform_feedback_manager.cc',
'command_buffer/service/transform_feedback_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=="mac"', {
# Required by gles2_cmd_decoder.cc on Mac.
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/IOSurface.framework',
'$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
],
},
}],
],
}