Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: ui/gl/init/gl_init.gyp

Issue 2024953002: Move GL one-off initialization code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@split_x11
Patch Set: Delete GLInitializer class. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gl/init/gl_factory.cc ('k') | ui/gl/init/gl_initializer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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.h',
25 'gl_initializer_android.cc',
26 'gl_initializer_mac.cc',
27 'gl_initializer_ozone.cc',
28 'gl_initializer_win.cc',
29 'gl_initializer_x11.cc',
24 'gl_factory.cc', 30 'gl_factory.cc',
25 'gl_factory.h', 31 'gl_factory.h',
26 'gl_init_export.h', 32 'gl_init_export.h',
27 ], 33 ],
34 'conditions': [
35 ['OS=="mac"', {
36 'link_settings': {
37 'libraries': [
38 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
39 ],
40 },
41 }],
42 ],
28 }, 43 },
29 ], 44 ],
30 } 45 }
OLDNEW
« no previous file with comments | « ui/gl/init/gl_factory.cc ('k') | ui/gl/init/gl_initializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698