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': [ |
11 { | 11 { |
12 'target_name': 'gl', | 12 'target_name': 'gl', |
13 'type': '<(component)', | 13 'type': '<(component)', |
14 'product_name': 'gl_wrapper', # Avoid colliding with OS X's libGL.dylib | 14 'product_name': 'gl_wrapper', # Avoid colliding with OS X's libGL.dylib |
15 'dependencies': [ | 15 'dependencies': [ |
16 '<(DEPTH)/base/base.gyp:base', | 16 '<(DEPTH)/base/base.gyp:base', |
17 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 17 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
18 '<(DEPTH)/gpu/command_buffer/command_buffer.gyp:gles2_utils', | 18 '<(DEPTH)/gpu/command_buffer/command_buffer.gyp:gles2_utils', |
19 '<(DEPTH)/skia/skia.gyp:skia', | 19 '<(DEPTH)/skia/skia.gyp:skia', |
20 '<(DEPTH)/ui/ui.gyp:ui', | 20 '<(DEPTH)/ui/ui.gyp:ui', |
21 ], | 21 ], |
22 'variables': { | 22 'variables': { |
23 'gl_binding_output_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gl', | 23 'gl_binding_output_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gl', |
24 }, | 24 }, |
25 'defines': [ | 25 'defines': [ |
26 'GL_IMPLEMENTATION', | 26 'GL_IMPLEMENTATION', |
27 ], | 27 ], |
28 'include_dirs': [ | 28 'include_dirs': [ |
29 '<(DEPTH)/third_party/swiftshader/include', | 29 '<(DEPTH)/third_party/swiftshader/include', |
30 '<(DEPTH)/third_party/mesa/MesaLib/include', | 30 '<(DEPTH)/third_party/mesa/MesaLib/include', |
31 '<(gl_binding_output_dir)', | 31 '<(gl_binding_output_dir)', |
32 ], | 32 ], |
33 'direct_dependent_settings': { | 33 'direct_dependent_settings': { |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 ], | 197 ], |
198 'defines': [ | 198 'defines': [ |
199 'GL_GLEXT_PROTOTYPES', | 199 'GL_GLEXT_PROTOTYPES', |
200 'EGL_EGLEXT_PROTOTYPES', | 200 'EGL_EGLEXT_PROTOTYPES', |
201 ], | 201 ], |
202 }], | 202 }], |
203 ], | 203 ], |
204 }, | 204 }, |
205 ], | 205 ], |
206 } | 206 } |
OLD | NEW |