| 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': [ |
| 11 { | 11 { |
| 12 'target_name': 'gl', | 12 'target_name': 'gl', |
| 13 'type': '<(component)', | 13 'type': 'static_library', |
| 14 'dependencies': [ | 14 'dependencies': [ |
| 15 '<(DEPTH)/base/base.gyp:base', | 15 '<(DEPTH)/base/base.gyp:base', |
| 16 '<(DEPTH)/skia/skia.gyp:skia', | 16 '<(DEPTH)/skia/skia.gyp:skia', |
| 17 '<(DEPTH)/ui/ui.gyp:ui', | 17 '<(DEPTH)/ui/ui.gyp:ui', |
| 18 ], | 18 ], |
| 19 'variables': { | 19 'variables': { |
| 20 'gl_binding_output_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gl', | 20 'gl_binding_output_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gl', |
| 21 }, | 21 }, |
| 22 'defines': [ | |
| 23 'GL_IMPLEMENTATION', | |
| 24 ], | |
| 25 'include_dirs': [ | 22 'include_dirs': [ |
| 26 '<(DEPTH)/third_party/swiftshader/include', | 23 '<(DEPTH)/third_party/swiftshader/include', |
| 27 '<(DEPTH)/third_party/mesa/MesaLib/include', | 24 '<(DEPTH)/third_party/mesa/MesaLib/include', |
| 28 '<(gl_binding_output_dir)', | 25 '<(gl_binding_output_dir)', |
| 29 ], | 26 ], |
| 30 'direct_dependent_settings': { | 27 'direct_dependent_settings': { |
| 31 'include_dirs': [ | 28 'include_dirs': [ |
| 32 '<(DEPTH)/third_party/mesa/MesaLib/include', | 29 '<(DEPTH)/third_party/mesa/MesaLib/include', |
| 33 '<(gl_binding_output_dir)', | 30 '<(gl_binding_output_dir)', |
| 34 ], | 31 ], |
| 35 }, | 32 }, |
| 36 'sources': [ | 33 'sources': [ |
| 37 'gl_bindings.h', | 34 'gl_bindings.h', |
| 38 'gl_bindings_skia_in_process.cc', | 35 'gl_bindings_skia_in_process.cc', |
| 39 'gl_bindings_skia_in_process.h', | 36 'gl_bindings_skia_in_process.h', |
| 40 'gl_context.cc', | 37 'gl_context.cc', |
| 41 'gl_context.h', | 38 'gl_context.h', |
| 42 'gl_context_linux.cc', | 39 'gl_context_linux.cc', |
| 43 'gl_context_mac.cc', | 40 'gl_context_mac.cc', |
| 44 'gl_context_osmesa.cc', | 41 'gl_context_osmesa.cc', |
| 45 'gl_context_osmesa.h', | 42 'gl_context_osmesa.h', |
| 46 'gl_context_stub.cc', | 43 'gl_context_stub.cc', |
| 47 'gl_context_stub.h', | 44 'gl_context_stub.h', |
| 48 'gl_context_win.cc', | 45 'gl_context_win.cc', |
| 49 'gl_export.h', | |
| 50 'gl_implementation.cc', | 46 'gl_implementation.cc', |
| 51 'gl_implementation.h', | 47 'gl_implementation.h', |
| 52 'gl_implementation_linux.cc', | 48 'gl_implementation_linux.cc', |
| 53 'gl_implementation_mac.cc', | 49 'gl_implementation_mac.cc', |
| 54 'gl_implementation_win.cc', | 50 'gl_implementation_win.cc', |
| 55 'gl_interface.cc', | 51 'gl_interface.cc', |
| 56 'gl_interface.h', | 52 'gl_interface.h', |
| 57 'gl_share_group.cc', | 53 'gl_share_group.cc', |
| 58 'gl_share_group.h', | 54 'gl_share_group.h', |
| 59 'gl_surface.cc', | 55 'gl_surface.cc', |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 'link_settings': { | 157 'link_settings': { |
| 162 'libraries': [ | 158 'libraries': [ |
| 163 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 159 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 164 ], | 160 ], |
| 165 }, | 161 }, |
| 166 }], | 162 }], |
| 167 ], | 163 ], |
| 168 }, | 164 }, |
| 169 ], | 165 ], |
| 170 } | 166 } |
| OLD | NEW |