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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2009 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 'variables': {
7 'chromium_code': 1,
8 },
9 'includes': [
10 '../build/common.gypi',
11 ],
12 'target_defaults': {
13 'include_dirs': [
14 '..',
15 '../..',
16 '../../<(gtestdir)',
17 '../../<(nacldir)',
18 ],
19 'defines': [
20 ],
21 'conditions': [
22 ['OS == "win"',
23 {
24 'include_dirs': [
25 '$(DXSDK_DIR)/Include',
26 ],
27 }
28 ],
29 ['OS == "mac" or OS == "linux"',
30 {
31 'include_dirs': [
32 '../../<(glewdir)/include',
33 '../../<(cgdir)/include',
34 ],
35 },
36 ],
37 ],
38 },
39 'targets': [
40 {
41 'target_name': 'command_buffer_common',
42 'type': 'static_library',
43 'dependencies': [
44 '../../native_client/src/shared/imc/imc.gyp:google_nacl_imc',
45 '../../native_client/src/shared/imc/imc.gyp:libgoogle_nacl_imc_c',
46 '../../native_client/src/shared/platform/platform.gyp:platform',
47 '../../native_client/src/trusted/desc/desc.gyp:nrd_xfer',
48 '../../native_client/src/trusted/service_runtime/service_runtime.gyp:gio ',
49 ],
50 'sources': [
51 'common/cross/bitfield_helpers.h',
52 'common/cross/buffer_sync_api.cc',
53 'common/cross/buffer_sync_api.h',
54 'common/cross/cmd_buffer_format.h',
55 'common/cross/gapi_interface.h',
56 'common/cross/logging.h',
57 'common/cross/mocks.h',
58 'common/cross/resource.cc',
59 'common/cross/resource.h',
60 'common/cross/rpc.h',
61 'common/cross/rpc_imc.cc',
62 'common/cross/rpc_imc.h',
63 'common/cross/types.h',
64 ],
65 },
66 {
67 'target_name': 'command_buffer_client',
68 'type': 'static_library',
69 'dependencies': [
70 'command_buffer_common',
71 ],
72 'sources': [
73 'client/cross/buffer_sync_proxy.cc',
74 'client/cross/buffer_sync_proxy.h',
75 'client/cross/cmd_buffer_helper.cc',
76 'client/cross/cmd_buffer_helper.h',
77 'client/cross/effect_helper.cc',
78 'client/cross/effect_helper.h',
79 'client/cross/fenced_allocator.cc',
80 'client/cross/fenced_allocator.h',
81 'client/cross/id_allocator.cc',
82 'client/cross/id_allocator.h',
83 ],
84 },
85 {
86 'target_name': 'command_buffer_service',
87 'type': 'static_library',
88 'dependencies': [
89 'command_buffer_common',
90 ],
91 'sources': [
92 'service/cross/buffer_rpc.cc',
93 'service/cross/buffer_rpc.h',
94 'service/cross/cmd_buffer_engine.cc',
95 'service/cross/cmd_buffer_engine.h',
96 'service/cross/cmd_parser.cc',
97 'service/cross/cmd_parser.h',
98 'service/cross/effect_utils.cc',
99 'service/cross/effect_utils.h',
100 'service/cross/gapi_decoder.cc',
101 'service/cross/gapi_decoder.h',
102 'service/cross/mocks.h',
103 'service/cross/precompile.cc',
104 'service/cross/precompile.h',
105 'service/cross/resource.cc',
106 'service/cross/resource.h',
107 'service/cross/texture_utils.cc',
108 'service/cross/texture_utils.h',
109 ],
110 'conditions': [
111 ['OS == "win"',
112 {
113 'sources': [
114 'service/win/d3d9/d3d9_utils.h',
115 'service/win/d3d9/effect_d3d9.cc',
116 'service/win/d3d9/effect_d3d9.h',
117 'service/win/d3d9/gapi_d3d9.cc',
118 'service/win/d3d9/gapi_d3d9.h',
119 'service/win/d3d9/geometry_d3d9.cc',
120 'service/win/d3d9/geometry_d3d9.h',
121 'service/win/d3d9/render_surface_d3d9.cc',
122 'service/win/d3d9/render_surface_d3d9.h',
123 'service/win/d3d9/sampler_d3d9.cc',
124 'service/win/d3d9/sampler_d3d9.h',
125 'service/win/d3d9/states_d3d9.cc',
126 'service/win/d3d9/texture_d3d9.cc',
127 'service/win/d3d9/texture_d3d9.h',
128 ], # 'sources'
129 'direct_dependent_settings': {
130 'include_dirs': [
131 '$(DXSDK_DIR)/Include',
132 ],
133 }, # 'direct_dependent_settings'
134 },
135 ],
136 ['OS == "mac" or OS == "linux"',
137 {
138 'sources': [
139 'service/cross/gl/effect_gl.cc',
140 'service/cross/gl/effect_gl.h',
141 'service/cross/gl/gapi_gl.cc',
142 'service/cross/gl/gapi_gl.h',
143 'service/cross/gl/geometry_gl.cc',
144 'service/cross/gl/geometry_gl.h',
145 'service/cross/gl/gl_utils.h',
146 'service/cross/gl/sampler_gl.cc',
147 'service/cross/gl/sampler_gl.h',
148 'service/cross/gl/states_gl.cc',
149 'service/cross/gl/texture_gl.cc',
150 'service/cross/gl/texture_gl.h',
151 ], # 'sources'
152 },
153 ],
154 ['OS == "linux"',
155 {
156 'sources': [
157 'service/linux/x_utils.cc',
158 'service/linux/x_utils.h',
159 ],
160 },
161 ],
162 ], # 'conditions'
163 },
164 ],
165 }
OLDNEW
« 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