| 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.cc', | 45 'gl_context_mac.cc', |
| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 'gl_context_cgl.h', | 167 'gl_context_cgl.h', |
| 166 'gl_surface_cgl.cc', | 168 'gl_surface_cgl.cc', |
| 167 'gl_surface_cgl.h', | 169 'gl_surface_cgl.h', |
| 168 ], | 170 ], |
| 169 'link_settings': { | 171 'link_settings': { |
| 170 'libraries': [ | 172 'libraries': [ |
| 171 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 173 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 172 ], | 174 ], |
| 173 }, | 175 }, |
| 174 }], | 176 }], |
| 177 ['OS=="android"', { |
| 178 'sources!': [ |
| 179 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.cc', |
| 180 '<(gl_binding_output_dir)/gl_bindings_autogen_osmesa.h', |
| 181 'system_monitor_posix.cc', |
| 182 ], |
| 183 'defines': [ |
| 184 'GL_GLEXT_PROTOTYPES', |
| 185 'EGL_EGLEXT_PROTOTYPES', |
| 186 ], |
| 187 }] |
| 175 ], | 188 ], |
| 176 }, | 189 }, |
| 177 ], | 190 ], |
| 178 } | 191 } |
| OLD | NEW |