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/base/ui_base.gyp:ui_base', | |
22 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | 21 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
23 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | 22 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
24 ], | 23 ], |
25 'defines': [ | 24 'defines': [ |
26 'GL_IMPLEMENTATION', | 25 'GL_IMPLEMENTATION', |
27 ], | 26 ], |
28 'include_dirs': [ | 27 'include_dirs': [ |
29 '<(DEPTH)/third_party/khronos', | 28 '<(DEPTH)/third_party/khronos', |
30 ], | 29 ], |
31 'export_dependent_settings': [ | 30 'export_dependent_settings': [ |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 'USE_GLX', | 186 'USE_GLX', |
188 ], | 187 ], |
189 }, | 188 }, |
190 'defines': [ | 189 'defines': [ |
191 'USE_GLX', | 190 'USE_GLX', |
192 ], | 191 ], |
193 'dependencies': [ | 192 'dependencies': [ |
194 '<(DEPTH)/build/linux/system.gyp:x11', | 193 '<(DEPTH)/build/linux/system.gyp:x11', |
195 '<(DEPTH)/build/linux/system.gyp:xcomposite', | 194 '<(DEPTH)/build/linux/system.gyp:xcomposite', |
196 '<(DEPTH)/build/linux/system.gyp:xext', | 195 '<(DEPTH)/build/linux/system.gyp:xext', |
197 '<(DEPTH)/ui/base/x/ui_base_x.gyp:ui_base_x', | |
198 '<(DEPTH)/ui/events/platform/events_platform.gyp:events_platform', | 196 '<(DEPTH)/ui/events/platform/events_platform.gyp:events_platform', |
199 '<(DEPTH)/ui/gfx/x/gfx_x11.gyp:gfx_x11', | 197 '<(DEPTH)/ui/gfx/x/gfx_x11.gyp:gfx_x11', |
200 ], | 198 ], |
201 'copies': [{ | 199 'copies': [{ |
202 'destination': '<(PRODUCT_DIR)', | 200 'destination': '<(PRODUCT_DIR)', |
203 'files': | 201 'files': |
204 [ | 202 [ |
205 "<(PRODUCT_DIR)/lib/libEGL.so", | 203 "<(PRODUCT_DIR)/lib/libEGL.so", |
206 "<(PRODUCT_DIR)/lib/libGLESv2.so", | 204 "<(PRODUCT_DIR)/lib/libGLESv2.so", |
207 ], | 205 ], |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 ], | 370 ], |
373 'variables': { | 371 'variables': { |
374 'jni_gen_package': 'ui/gl', | 372 'jni_gen_package': 'ui/gl', |
375 }, | 373 }, |
376 'includes': [ '../../build/jni_generator.gypi' ], | 374 'includes': [ '../../build/jni_generator.gypi' ], |
377 }, | 375 }, |
378 ], | 376 ], |
379 }], | 377 }], |
380 ], | 378 ], |
381 } | 379 } |
OLD | NEW |