| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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_init', | 12 'target_name': 'gl_init', |
| 13 'type': '<(component)', | 13 'type': '<(component)', |
| 14 'dependencies': [ | 14 'dependencies': [ |
| 15 '../../../base/base.gyp:base', | 15 '../../../base/base.gyp:base', |
| 16 '../../gfx/gfx.gyp:gfx', | 16 '../../gfx/gfx.gyp:gfx', |
| 17 '../../gfx/gfx.gyp:gfx_geometry', | 17 '../../gfx/gfx.gyp:gfx_geometry', |
| 18 '../gl.gyp:gl', | 18 '../gl.gyp:gl', |
| 19 ], | 19 ], |
| 20 'defines': [ | 20 'defines': [ |
| 21 'GL_INIT_IMPLEMENTATION', | 21 'GL_INIT_IMPLEMENTATION', |
| 22 ], | 22 ], |
| 23 'sources': [ | 23 'sources': [ |
| 24 'gl_initializer.cc', |
| 25 'gl_initializer.h', |
| 26 'gl_initializer_android.cc', |
| 27 'gl_initializer_mac.cc', |
| 28 'gl_initializer_ozone.cc', |
| 29 'gl_initializer_win.cc', |
| 30 'gl_initializer_x11.cc', |
| 24 'gl_factory.cc', | 31 'gl_factory.cc', |
| 25 'gl_factory.h', | 32 'gl_factory.h', |
| 26 'gl_init_export.h', | 33 'gl_init_export.h', |
| 27 ], | 34 ], |
| 35 'conditions': [ |
| 36 ['OS=="mac"', { |
| 37 'link_settings': { |
| 38 'libraries': [ |
| 39 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 40 ], |
| 41 }, |
| 42 }], |
| 43 ], |
| 28 }, | 44 }, |
| 29 ], | 45 ], |
| 30 } | 46 } |
| OLD | NEW |