| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 22 matching lines...) Expand all Loading... |
| 33 '<(DEPTH)/third_party/mesa/MesaLib/include', | 33 '<(DEPTH)/third_party/mesa/MesaLib/include', |
| 34 '<(gl_binding_output_dir)', | 34 '<(gl_binding_output_dir)', |
| 35 ], | 35 ], |
| 36 }, | 36 }, |
| 37 'sources': [ | 37 'sources': [ |
| 38 'gl_bindings.h', | 38 'gl_bindings.h', |
| 39 'gl_bindings_skia_in_process.cc', | 39 'gl_bindings_skia_in_process.cc', |
| 40 'gl_bindings_skia_in_process.h', | 40 'gl_bindings_skia_in_process.h', |
| 41 'gl_context.cc', | 41 'gl_context.cc', |
| 42 'gl_context.h', | 42 'gl_context.h', |
| 43 'gl_context_android.cc', |
| 43 'gl_context_linux.cc', | 44 'gl_context_linux.cc', |
| 44 'gl_context_mac.mm', | 45 'gl_context_mac.mm', |
| 45 'gl_context_osmesa.cc', | 46 'gl_context_osmesa.cc', |
| 46 'gl_context_osmesa.h', | 47 'gl_context_osmesa.h', |
| 47 'gl_context_stub.cc', | 48 'gl_context_stub.cc', |
| 48 'gl_context_stub.h', | 49 'gl_context_stub.h', |
| 49 'gl_context_win.cc', | 50 'gl_context_win.cc', |
| 50 'gl_export.h', | 51 'gl_export.h', |
| 51 'gl_implementation.cc', | 52 'gl_implementation.cc', |
| 52 'gl_implementation.h', | 53 'gl_implementation.h', |
| 54 'gl_implementation_android.cc', |
| 53 'gl_implementation_linux.cc', | 55 'gl_implementation_linux.cc', |
| 54 'gl_implementation_mac.cc', | 56 'gl_implementation_mac.cc', |
| 55 'gl_implementation_win.cc', | 57 'gl_implementation_win.cc', |
| 56 'gl_interface.cc', | 58 'gl_interface.cc', |
| 57 'gl_interface.h', | 59 'gl_interface.h', |
| 58 'gl_share_group.cc', | 60 'gl_share_group.cc', |
| 59 'gl_share_group.h', | 61 'gl_share_group.h', |
| 60 'gl_surface.cc', | 62 'gl_surface.cc', |
| 61 'gl_surface.h', | 63 'gl_surface.h', |
| 62 'gl_surface_linux.cc', | 64 'gl_surface_linux.cc', |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.h', | 109 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.h', |
| 108 ], | 110 ], |
| 109 'action': [ | 111 'action': [ |
| 110 'python', | 112 'python', |
| 111 'generate_bindings.py', | 113 'generate_bindings.py', |
| 112 '<(gl_binding_output_dir)', | 114 '<(gl_binding_output_dir)', |
| 113 ], | 115 ], |
| 114 }, | 116 }, |
| 115 ], | 117 ], |
| 116 'conditions': [ | 118 'conditions': [ |
| 117 ['OS != "mac" and OS != "android"', { | 119 ['OS != "mac"', { |
| 118 'sources': [ | 120 'sources': [ |
| 119 'egl_util.cc', | 121 'egl_util.cc', |
| 120 'egl_util.h', | 122 'egl_util.h', |
| 121 'gl_context_egl.cc', | 123 'gl_context_egl.cc', |
| 122 'gl_context_egl.h', | 124 'gl_context_egl.h', |
| 123 'gl_surface_egl.cc', | 125 'gl_surface_egl.cc', |
| 124 'gl_surface_egl.h', | 126 'gl_surface_egl.h', |
| 125 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc', | 127 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc', |
| 126 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', | 128 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', |
| 127 ], | 129 ], |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 }, | 175 }, |
| 174 }], | 176 }], |
| 175 ['OS=="mac" and use_aura == 1', { | 177 ['OS=="mac" and use_aura == 1', { |
| 176 'sources': [ | 178 'sources': [ |
| 177 'gl_context_nsview.mm', | 179 'gl_context_nsview.mm', |
| 178 'gl_context_nsview.h', | 180 'gl_context_nsview.h', |
| 179 'gl_surface_nsview.mm', | 181 'gl_surface_nsview.mm', |
| 180 'gl_surface_nsview.h', | 182 'gl_surface_nsview.h', |
| 181 ], | 183 ], |
| 182 }], | 184 }], |
| 185 ['OS=="android"', { |
| 186 'sources!': [ |
| 187 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc', |
| 188 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h', |
| 189 'system_monitor_posix.cc', |
| 190 ], |
| 191 'defines': [ |
| 192 'GL_GLEXT_PROTOTYPES', |
| 193 'EGL_EGLEXT_PROTOTYPES', |
| 194 ], |
| 195 }], |
| 183 ], | 196 ], |
| 184 }, | 197 }, |
| 185 ], | 198 ], |
| 186 } | 199 } |
| OLD | NEW |