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_image.cc', |
| 57 'gl_image.h', |
| 58 'gl_image_android.cc', |
| 59 'gl_image_linux.cc', |
| 60 'gl_image_mac.cc', |
| 61 'gl_image_stub.cc', |
| 62 'gl_image_stub.h', |
| 63 'gl_image_win.cc', |
56 'gl_implementation.cc', | 64 'gl_implementation.cc', |
57 'gl_implementation.h', | 65 'gl_implementation.h', |
58 'gl_implementation_android.cc', | 66 'gl_implementation_android.cc', |
59 'gl_implementation_linux.cc', | 67 'gl_implementation_linux.cc', |
60 'gl_implementation_mac.cc', | 68 'gl_implementation_mac.cc', |
61 'gl_implementation_win.cc', | 69 'gl_implementation_win.cc', |
62 'gl_interface.cc', | 70 'gl_interface.cc', |
63 'gl_interface.h', | 71 'gl_interface.h', |
64 'gl_share_group.cc', | 72 'gl_share_group.cc', |
65 'gl_share_group.h', | 73 'gl_share_group.h', |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', | 144 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', |
137 ], | 145 ], |
138 'include_dirs': [ | 146 'include_dirs': [ |
139 '<(DEPTH)/third_party/angle/include', | 147 '<(DEPTH)/third_party/angle/include', |
140 ], | 148 ], |
141 }], | 149 }], |
142 ['use_x11 == 1', { | 150 ['use_x11 == 1', { |
143 'sources': [ | 151 'sources': [ |
144 'gl_context_glx.cc', | 152 'gl_context_glx.cc', |
145 'gl_context_glx.h', | 153 'gl_context_glx.h', |
| 154 'gl_image_glx.cc', |
| 155 'gl_image_glx.h', |
146 'gl_surface_glx.cc', | 156 'gl_surface_glx.cc', |
147 'gl_surface_glx.h', | 157 'gl_surface_glx.h', |
148 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.cc', | 158 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.cc', |
149 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.h', | 159 '<(gl_binding_output_dir)/gl_bindings_autogen_glx.h', |
150 ], | 160 ], |
151 'all_dependent_settings': { | 161 'all_dependent_settings': { |
152 'defines': [ | 162 'defines': [ |
153 'GL_GLEXT_PROTOTYPES', | 163 'GL_GLEXT_PROTOTYPES', |
154 ], | 164 ], |
155 }, | 165 }, |
| 166 'link_settings': { |
| 167 'libraries': [ |
| 168 '-lX11', |
| 169 '-lXcomposite', |
| 170 ], |
| 171 }, |
156 }], | 172 }], |
157 ['OS=="win"', { | 173 ['OS=="win"', { |
158 'sources': [ | 174 'sources': [ |
159 'gl_context_wgl.cc', | 175 'gl_context_wgl.cc', |
160 'gl_context_wgl.h', | 176 'gl_context_wgl.h', |
161 'gl_surface_wgl.cc', | 177 'gl_surface_wgl.cc', |
162 'gl_surface_wgl.h', | 178 'gl_surface_wgl.h', |
163 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.cc', | 179 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.cc', |
164 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.h', | 180 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.h', |
165 ], | 181 ], |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 ], | 214 ], |
199 'defines': [ | 215 'defines': [ |
200 'GL_GLEXT_PROTOTYPES', | 216 'GL_GLEXT_PROTOTYPES', |
201 'EGL_EGLEXT_PROTOTYPES', | 217 'EGL_EGLEXT_PROTOTYPES', |
202 ], | 218 ], |
203 }], | 219 }], |
204 ], | 220 ], |
205 }, | 221 }, |
206 ], | 222 ], |
207 } | 223 } |
OLD | NEW |