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', | 21 '<(DEPTH)/ui/base/ui_base.gyp:ui_base', |
22 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | 22 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
23 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | 23 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
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', | |
30 '<(DEPTH)/third_party/khronos', | 29 '<(DEPTH)/third_party/khronos', |
31 ], | 30 ], |
32 'export_dependent_settings': [ | 31 'export_dependent_settings': [ |
33 '<(DEPTH)/third_party/mesa/mesa.gyp:mesa_headers', | 32 '<(DEPTH)/third_party/mesa/mesa.gyp:mesa_headers', |
34 ], | 33 ], |
35 'sources': [ | 34 'sources': [ |
36 'android/gl_jni_registrar.cc', | 35 'android/gl_jni_registrar.cc', |
37 'android/gl_jni_registrar.h', | 36 'android/gl_jni_registrar.h', |
38 'android/scoped_java_surface.cc', | 37 'android/scoped_java_surface.cc', |
39 'android/scoped_java_surface.h', | 38 'android/scoped_java_surface.h', |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 ], | 380 ], |
382 'variables': { | 381 'variables': { |
383 'jni_gen_package': 'ui/gl', | 382 'jni_gen_package': 'ui/gl', |
384 }, | 383 }, |
385 'includes': [ '../../build/jni_generator.gypi' ], | 384 'includes': [ '../../build/jni_generator.gypi' ], |
386 }, | 385 }, |
387 ], | 386 ], |
388 }], | 387 }], |
389 ], | 388 ], |
390 } | 389 } |
OLD | NEW |