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 'include_dirs': [ |
| 24 '<(DEPTH)/third_party/swiftshader/include', |
| 25 ], |
23 'sources': [ | 26 'sources': [ |
24 'gl_initializer.h', | 27 'gl_initializer.h', |
25 'gl_initializer_android.cc', | 28 'gl_initializer_android.cc', |
26 'gl_initializer_mac.cc', | 29 'gl_initializer_mac.cc', |
27 'gl_initializer_ozone.cc', | 30 'gl_initializer_ozone.cc', |
28 'gl_initializer_win.cc', | 31 'gl_initializer_win.cc', |
29 'gl_initializer_x11.cc', | 32 'gl_initializer_x11.cc', |
30 'gl_factory.cc', | 33 'gl_factory.cc', |
31 'gl_factory.h', | 34 'gl_factory.h', |
32 'gl_factory_android.cc', | 35 'gl_factory_android.cc', |
(...skipping 16 matching lines...) Expand all Loading... |
49 ['use_ozone==1', { | 52 ['use_ozone==1', { |
50 'dependencies': [ | 53 'dependencies': [ |
51 '../../ozone/ozone.gyp:ozone', | 54 '../../ozone/ozone.gyp:ozone', |
52 '../../ozone/ozone.gyp:ozone_base', | 55 '../../ozone/ozone.gyp:ozone_base', |
53 ], | 56 ], |
54 }], | 57 }], |
55 ], | 58 ], |
56 }, | 59 }, |
57 ], | 60 ], |
58 } | 61 } |
OLD | NEW |