Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Unified Diff: command_buffer/command_buffer.gyp

Issue 200127: Made gyp file for command buffer libraries.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « command_buffer/client/cross/effect_helper.cc ('k') | command_buffer/common/cross/buffer_sync_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: command_buffer/command_buffer.gyp
===================================================================
--- command_buffer/command_buffer.gyp (revision 0)
+++ command_buffer/command_buffer.gyp (revision 0)
@@ -0,0 +1,165 @@
+# Copyright (c) 2009 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.
+
+{
+ 'variables': {
+ 'chromium_code': 1,
+ },
+ 'includes': [
+ '../build/common.gypi',
+ ],
+ 'target_defaults': {
+ 'include_dirs': [
+ '..',
+ '../..',
+ '../../<(gtestdir)',
+ '../../<(nacldir)',
+ ],
+ 'defines': [
+ ],
+ 'conditions': [
+ ['OS == "win"',
+ {
+ 'include_dirs': [
+ '$(DXSDK_DIR)/Include',
+ ],
+ }
+ ],
+ ['OS == "mac" or OS == "linux"',
+ {
+ 'include_dirs': [
+ '../../<(glewdir)/include',
+ '../../<(cgdir)/include',
+ ],
+ },
+ ],
+ ],
+ },
+ 'targets': [
+ {
+ 'target_name': 'command_buffer_common',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../../native_client/src/shared/imc/imc.gyp:google_nacl_imc',
+ '../../native_client/src/shared/imc/imc.gyp:libgoogle_nacl_imc_c',
+ '../../native_client/src/shared/platform/platform.gyp:platform',
+ '../../native_client/src/trusted/desc/desc.gyp:nrd_xfer',
+ '../../native_client/src/trusted/service_runtime/service_runtime.gyp:gio',
+ ],
+ 'sources': [
+ 'common/cross/bitfield_helpers.h',
+ 'common/cross/buffer_sync_api.cc',
+ 'common/cross/buffer_sync_api.h',
+ 'common/cross/cmd_buffer_format.h',
+ 'common/cross/gapi_interface.h',
+ 'common/cross/logging.h',
+ 'common/cross/mocks.h',
+ 'common/cross/resource.cc',
+ 'common/cross/resource.h',
+ 'common/cross/rpc.h',
+ 'common/cross/rpc_imc.cc',
+ 'common/cross/rpc_imc.h',
+ 'common/cross/types.h',
+ ],
+ },
+ {
+ 'target_name': 'command_buffer_client',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'command_buffer_common',
+ ],
+ 'sources': [
+ 'client/cross/buffer_sync_proxy.cc',
+ 'client/cross/buffer_sync_proxy.h',
+ 'client/cross/cmd_buffer_helper.cc',
+ 'client/cross/cmd_buffer_helper.h',
+ 'client/cross/effect_helper.cc',
+ 'client/cross/effect_helper.h',
+ 'client/cross/fenced_allocator.cc',
+ 'client/cross/fenced_allocator.h',
+ 'client/cross/id_allocator.cc',
+ 'client/cross/id_allocator.h',
+ ],
+ },
+ {
+ 'target_name': 'command_buffer_service',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'command_buffer_common',
+ ],
+ 'sources': [
+ 'service/cross/buffer_rpc.cc',
+ 'service/cross/buffer_rpc.h',
+ 'service/cross/cmd_buffer_engine.cc',
+ 'service/cross/cmd_buffer_engine.h',
+ 'service/cross/cmd_parser.cc',
+ 'service/cross/cmd_parser.h',
+ 'service/cross/effect_utils.cc',
+ 'service/cross/effect_utils.h',
+ 'service/cross/gapi_decoder.cc',
+ 'service/cross/gapi_decoder.h',
+ 'service/cross/mocks.h',
+ 'service/cross/precompile.cc',
+ 'service/cross/precompile.h',
+ 'service/cross/resource.cc',
+ 'service/cross/resource.h',
+ 'service/cross/texture_utils.cc',
+ 'service/cross/texture_utils.h',
+ ],
+ 'conditions': [
+ ['OS == "win"',
+ {
+ 'sources': [
+ 'service/win/d3d9/d3d9_utils.h',
+ 'service/win/d3d9/effect_d3d9.cc',
+ 'service/win/d3d9/effect_d3d9.h',
+ 'service/win/d3d9/gapi_d3d9.cc',
+ 'service/win/d3d9/gapi_d3d9.h',
+ 'service/win/d3d9/geometry_d3d9.cc',
+ 'service/win/d3d9/geometry_d3d9.h',
+ 'service/win/d3d9/render_surface_d3d9.cc',
+ 'service/win/d3d9/render_surface_d3d9.h',
+ 'service/win/d3d9/sampler_d3d9.cc',
+ 'service/win/d3d9/sampler_d3d9.h',
+ 'service/win/d3d9/states_d3d9.cc',
+ 'service/win/d3d9/texture_d3d9.cc',
+ 'service/win/d3d9/texture_d3d9.h',
+ ], # 'sources'
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '$(DXSDK_DIR)/Include',
+ ],
+ }, # 'direct_dependent_settings'
+ },
+ ],
+ ['OS == "mac" or OS == "linux"',
+ {
+ 'sources': [
+ 'service/cross/gl/effect_gl.cc',
+ 'service/cross/gl/effect_gl.h',
+ 'service/cross/gl/gapi_gl.cc',
+ 'service/cross/gl/gapi_gl.h',
+ 'service/cross/gl/geometry_gl.cc',
+ 'service/cross/gl/geometry_gl.h',
+ 'service/cross/gl/gl_utils.h',
+ 'service/cross/gl/sampler_gl.cc',
+ 'service/cross/gl/sampler_gl.h',
+ 'service/cross/gl/states_gl.cc',
+ 'service/cross/gl/texture_gl.cc',
+ 'service/cross/gl/texture_gl.h',
+ ], # 'sources'
+ },
+ ],
+ ['OS == "linux"',
+ {
+ 'sources': [
+ 'service/linux/x_utils.cc',
+ 'service/linux/x_utils.h',
+ ],
+ },
+ ],
+ ], # 'conditions'
+ },
+ ],
+}
« no previous file with comments | « command_buffer/client/cross/effect_helper.cc ('k') | command_buffer/common/cross/buffer_sync_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698