OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 | 9 |
10 'targets': [ | 10 'targets': [ |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 'gl_context_linux.cc', | 46 'gl_context_linux.cc', |
47 'gl_context_mac.mm', | 47 'gl_context_mac.mm', |
48 'gl_context_osmesa.cc', | 48 'gl_context_osmesa.cc', |
49 'gl_context_osmesa.h', | 49 'gl_context_osmesa.h', |
50 'gl_context_stub.cc', | 50 'gl_context_stub.cc', |
51 'gl_context_stub.h', | 51 'gl_context_stub.h', |
52 'gl_context_win.cc', | 52 'gl_context_win.cc', |
53 'gl_export.h', | 53 'gl_export.h', |
54 'gl_fence.cc', | 54 'gl_fence.cc', |
55 'gl_fence.h', | 55 'gl_fence.h', |
| 56 'gl_gl_api_implementation.cc', |
| 57 'gl_gl_api_implementation.h', |
56 'gl_image.cc', | 58 'gl_image.cc', |
57 'gl_image.h', | 59 'gl_image.h', |
58 'gl_image_android.cc', | 60 'gl_image_android.cc', |
59 'gl_image_linux.cc', | 61 'gl_image_linux.cc', |
60 'gl_image_mac.cc', | 62 'gl_image_mac.cc', |
61 'gl_image_stub.cc', | 63 'gl_image_stub.cc', |
62 'gl_image_stub.h', | 64 'gl_image_stub.h', |
63 'gl_image_win.cc', | 65 'gl_image_win.cc', |
64 'gl_implementation.cc', | 66 'gl_implementation.cc', |
65 'gl_implementation.h', | 67 'gl_implementation.h', |
66 'gl_implementation_android.cc', | 68 'gl_implementation_android.cc', |
67 'gl_implementation_linux.cc', | 69 'gl_implementation_linux.cc', |
68 'gl_implementation_mac.cc', | 70 'gl_implementation_mac.cc', |
69 'gl_implementation_win.cc', | 71 'gl_implementation_win.cc', |
70 'gl_interface.cc', | 72 'gl_interface.cc', |
71 'gl_interface.h', | 73 'gl_interface.h', |
| 74 'gl_osmesa_api_implementation.cc', |
| 75 'gl_osmesa_api_implementation.h', |
72 'gl_share_group.cc', | 76 'gl_share_group.cc', |
73 'gl_share_group.h', | 77 'gl_share_group.h', |
74 'gl_surface.cc', | 78 'gl_surface.cc', |
75 'gl_surface.h', | 79 'gl_surface.h', |
76 'gl_surface_android.cc', | 80 'gl_surface_android.cc', |
77 'gl_surface_android.h', | 81 'gl_surface_android.h', |
78 'gl_surface_linux.cc', | 82 'gl_surface_linux.cc', |
79 'gl_surface_mac.cc', | 83 'gl_surface_mac.cc', |
80 'gl_surface_stub.cc', | 84 'gl_surface_stub.cc', |
81 'gl_surface_stub.h', | 85 'gl_surface_stub.h', |
(...skipping 25 matching lines...) Expand all Loading... |
107 '<(DEPTH)/third_party/khronos/GLES2/gl2ext.h', | 111 '<(DEPTH)/third_party/khronos/GLES2/gl2ext.h', |
108 '<(DEPTH)/third_party/khronos/EGL/eglext.h', | 112 '<(DEPTH)/third_party/khronos/EGL/eglext.h', |
109 '<(DEPTH)/third_party/mesa/MesaLib/include/GL/glext.h', | 113 '<(DEPTH)/third_party/mesa/MesaLib/include/GL/glext.h', |
110 '<(DEPTH)/third_party/mesa/MesaLib/include/GL/glx.h', | 114 '<(DEPTH)/third_party/mesa/MesaLib/include/GL/glx.h', |
111 '<(DEPTH)/third_party/mesa/MesaLib/include/GL/glxext.h', | 115 '<(DEPTH)/third_party/mesa/MesaLib/include/GL/glxext.h', |
112 '<(DEPTH)/third_party/mesa/MesaLib/include/GL/wglext.h', | 116 '<(DEPTH)/third_party/mesa/MesaLib/include/GL/wglext.h', |
113 ], | 117 ], |
114 'outputs': [ | 118 'outputs': [ |
115 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc', | 119 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc', |
116 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', | 120 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', |
| 121 '<(gl_binding_output_dir)/gl_bindings_autogen_api_egl.h', |
117 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc', | 122 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.cc', |
118 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.h', | 123 '<(gl_binding_output_dir)/gl_bindings_autogen_gl.h', |
| 124 '<(gl_binding_output_dir)/gl_bindings_autogen_api_gl.h', |
119 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.cc', | 125 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.cc', |
120 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.h', | 126 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.h', |
| 127 '<(gl_binding_output_dir)/gl_bindings_autogen_api_glx.h', |
121 '<(gl_binding_output_dir)/gl_bindings_autogen_mock.cc', | 128 '<(gl_binding_output_dir)/gl_bindings_autogen_mock.cc', |
122 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc', | 129 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc', |
123 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h', | 130 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h', |
| 131 '<(gl_binding_output_dir)/gl_bindings_autogen_api_osmesa.h', |
124 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.cc', | 132 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.cc', |
125 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.h', | 133 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.h', |
| 134 '<(gl_binding_output_dir)/gl_bindings_autogen_api_wgl.h', |
126 ], | 135 ], |
127 'action': [ | 136 'action': [ |
128 'python', | 137 'python', |
129 'generate_bindings.py', | 138 'generate_bindings.py', |
130 '<(gl_binding_output_dir)', | 139 '<(gl_binding_output_dir)', |
131 ], | 140 ], |
132 }, | 141 }, |
133 ], | 142 ], |
134 'conditions': [ | 143 'conditions': [ |
135 ['OS != "mac"', { | 144 ['OS != "mac"', { |
136 'sources': [ | 145 'sources': [ |
137 'egl_util.cc', | 146 'egl_util.cc', |
138 'egl_util.h', | 147 'egl_util.h', |
139 'gl_context_egl.cc', | 148 'gl_context_egl.cc', |
140 'gl_context_egl.h', | 149 'gl_context_egl.h', |
141 'gl_surface_egl.cc', | 150 'gl_surface_egl.cc', |
142 'gl_surface_egl.h', | 151 'gl_surface_egl.h', |
| 152 'gl_egl_api_implementation.cc', |
| 153 'gl_egl_api_implementation.h', |
143 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc', | 154 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc', |
144 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', | 155 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', |
145 ], | 156 ], |
146 'include_dirs': [ | 157 'include_dirs': [ |
147 '<(DEPTH)/third_party/angle/include', | 158 '<(DEPTH)/third_party/angle/include', |
148 ], | 159 ], |
149 }], | 160 }], |
150 ['use_x11 == 1', { | 161 ['use_x11 == 1', { |
151 'sources': [ | 162 'sources': [ |
152 'gl_context_glx.cc', | 163 'gl_context_glx.cc', |
153 'gl_context_glx.h', | 164 'gl_context_glx.h', |
| 165 'gl_glx_api_implementation.cc', |
| 166 'gl_glx_api_implementation.h', |
154 'gl_image_glx.cc', | 167 'gl_image_glx.cc', |
155 'gl_image_glx.h', | 168 'gl_image_glx.h', |
156 'gl_surface_glx.cc', | 169 'gl_surface_glx.cc', |
157 'gl_surface_glx.h', | 170 'gl_surface_glx.h', |
| 171 'gl_egl_api_implementation.cc', |
| 172 'gl_egl_api_implementation.h', |
158 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.cc', | 173 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.cc', |
159 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.h', | 174 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.h', |
160 ], | 175 ], |
161 'all_dependent_settings': { | 176 'all_dependent_settings': { |
162 'defines': [ | 177 'defines': [ |
163 'GL_GLEXT_PROTOTYPES', | 178 'GL_GLEXT_PROTOTYPES', |
164 ], | 179 ], |
165 }, | 180 }, |
166 'link_settings': { | 181 'link_settings': { |
167 'libraries': [ | 182 'libraries': [ |
168 '-lX11', | 183 '-lX11', |
169 '-lXcomposite', | 184 '-lXcomposite', |
170 ], | 185 ], |
171 }, | 186 }, |
172 }], | 187 }], |
173 ['OS=="win"', { | 188 ['OS=="win"', { |
174 'sources': [ | 189 'sources': [ |
175 'gl_context_wgl.cc', | 190 'gl_context_wgl.cc', |
176 'gl_context_wgl.h', | 191 'gl_context_wgl.h', |
| 192 'gl_egl_api_implementation.cc', |
| 193 'gl_egl_api_implementation.h', |
177 'gl_surface_wgl.cc', | 194 'gl_surface_wgl.cc', |
178 'gl_surface_wgl.h', | 195 'gl_surface_wgl.h', |
| 196 'gl_wgl_api_implementation.cc', |
| 197 'gl_wgl_api_implementation.h', |
179 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.cc', | 198 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.cc', |
180 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.h', | 199 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.h', |
181 ], | 200 ], |
182 }], | 201 }], |
183 ['OS=="mac"', { | 202 ['OS=="mac"', { |
184 'sources': [ | 203 'sources': [ |
185 'gl_context_cgl.cc', | 204 'gl_context_cgl.cc', |
186 'gl_context_cgl.h', | 205 'gl_context_cgl.h', |
187 'gl_surface_cgl.cc', | 206 'gl_surface_cgl.cc', |
188 'gl_surface_cgl.h', | 207 'gl_surface_cgl.h', |
(...skipping 11 matching lines...) Expand all Loading... |
200 'gl_surface_nsview.mm', | 219 'gl_surface_nsview.mm', |
201 'gl_surface_nsview.h', | 220 'gl_surface_nsview.h', |
202 ], | 221 ], |
203 }], | 222 }], |
204 ['OS=="android"', { | 223 ['OS=="android"', { |
205 'sources': [ | 224 'sources': [ |
206 'android_native_window.cc', | 225 'android_native_window.cc', |
207 'android_native_window.h', | 226 'android_native_window.h', |
208 ], | 227 ], |
209 'sources!': [ | 228 'sources!': [ |
| 229 'gl_egl_api_implementation.cc', |
| 230 'gl_egl_api_implementation.h', |
210 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc', | 231 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc', |
211 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h', | 232 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h', |
212 'gl_context_osmesa.cc', | 233 'gl_context_osmesa.cc', |
213 'system_monitor_posix.cc', | 234 'system_monitor_posix.cc', |
214 ], | 235 ], |
215 'defines': [ | 236 'defines': [ |
216 'GL_GLEXT_PROTOTYPES', | 237 'GL_GLEXT_PROTOTYPES', |
217 'EGL_EGLEXT_PROTOTYPES', | 238 'EGL_EGLEXT_PROTOTYPES', |
218 ], | 239 ], |
219 }], | 240 }], |
220 ], | 241 ], |
221 }, | 242 }, |
222 ], | 243 ], |
223 } | 244 } |
OLD | NEW |