blob: bd67c2c815c3b2867579677fcade60a4fea38bd8 [file] [log] [blame]
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'targets': [
{
'target_name': 'gl_init',
'type': '<(component)',
'dependencies': [
'../../../base/base.gyp:base',
'../../gfx/gfx.gyp:gfx',
'../../gfx/gfx.gyp:gfx_geometry',
'../gl.gyp:gl',
],
'defines': [
'GL_INIT_IMPLEMENTATION',
],
'sources': [
'gl_initializer.h',
'gl_initializer_android.cc',
'gl_initializer_mac.cc',
'gl_initializer_ozone.cc',
'gl_initializer_win.cc',
'gl_initializer_x11.cc',
'gl_factory.cc',
'gl_factory.h',
'gl_factory_android.cc',
'gl_factory_mac.cc',
'gl_factory_ozone.cc',
'gl_factory_win.cc',
'gl_factory_x11.cc',
'gl_init_export.h',
'gl_surface_ozone.cc',
'gl_surface_ozone.h',
],
'conditions': [
['OS=="mac"', {
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
],
},
}],
['use_ozone==1', {
'dependencies': [
'../../ozone/ozone.gyp:ozone',
'../../ozone/ozone.gyp:ozone_base',
],
}],
],
},
],
}