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)/third_party/mesa/mesa.gyp:mesa_headers', | 20 '<(DEPTH)/third_party/mesa/mesa.gyp:mesa_headers', |
21 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | 21 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
22 '<(DEPTH)/ui/ui.gyp:ui', | |
23 ], | 22 ], |
24 'variables': { | 23 'variables': { |
25 'gl_binding_output_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gl', | 24 'gl_binding_output_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/gl', |
26 }, | 25 }, |
27 'defines': [ | 26 'defines': [ |
28 'GL_IMPLEMENTATION', | 27 'GL_IMPLEMENTATION', |
29 ], | 28 ], |
30 'include_dirs': [ | 29 'include_dirs': [ |
31 '<(DEPTH)/third_party/swiftshader/include', | 30 '<(DEPTH)/third_party/swiftshader/include', |
32 '<(DEPTH)/third_party/mesa/src/include', | 31 '<(DEPTH)/third_party/mesa/src/include', |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 'gl_context_wgl.h', | 227 'gl_context_wgl.h', |
229 'gl_egl_api_implementation.cc', | 228 'gl_egl_api_implementation.cc', |
230 'gl_egl_api_implementation.h', | 229 'gl_egl_api_implementation.h', |
231 'gl_surface_wgl.cc', | 230 'gl_surface_wgl.cc', |
232 'gl_surface_wgl.h', | 231 'gl_surface_wgl.h', |
233 'gl_wgl_api_implementation.cc', | 232 'gl_wgl_api_implementation.cc', |
234 'gl_wgl_api_implementation.h', | 233 'gl_wgl_api_implementation.h', |
235 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.cc', | 234 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.cc', |
236 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.h', | 235 '<(gl_binding_output_dir)/gl_bindings_autogen_wgl.h', |
237 ], | 236 ], |
| 237 'msvs_settings': { |
| 238 'VCLinkerTool': { |
| 239 'DelayLoadDLLs': [ |
| 240 'dwmapi.dll', |
| 241 ], |
| 242 'AdditionalDependencies': [ |
| 243 'dwmapi.lib', |
| 244 ], |
| 245 }, |
| 246 }, |
| 247 'link_settings': { |
| 248 'libraries': [ |
| 249 '-ldwmapi.lib', |
| 250 ], |
| 251 }, |
238 }], | 252 }], |
239 ['OS=="mac"', { | 253 ['OS=="mac"', { |
240 'sources': [ | 254 'sources': [ |
241 'gl_context_cgl.cc', | 255 'gl_context_cgl.cc', |
242 'gl_context_cgl.h', | 256 'gl_context_cgl.h', |
243 'gl_surface_cgl.cc', | 257 'gl_surface_cgl.cc', |
244 'gl_surface_cgl.h', | 258 'gl_surface_cgl.h', |
245 ], | 259 ], |
246 'link_settings': { | 260 'link_settings': { |
247 'libraries': [ | 261 'libraries': [ |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 ], | 354 ], |
341 'variables': { | 355 'variables': { |
342 'jni_gen_package': 'ui/gl', | 356 'jni_gen_package': 'ui/gl', |
343 }, | 357 }, |
344 'includes': [ '../../build/jni_generator.gypi' ], | 358 'includes': [ '../../build/jni_generator.gypi' ], |
345 }, | 359 }, |
346 ], | 360 ], |
347 }], | 361 }], |
348 ], | 362 ], |
349 } | 363 } |
OLD | NEW |