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 'target_defaults': { | 9 'target_defaults': { |
10 'conditions': [ | 10 'conditions': [ |
11 ['use_x11 == 1', { | 11 ['use_x11 == 1', { |
12 'include_dirs': [ | 12 'include_dirs': [ |
13 '../../third_party/khronos', | 13 '../../third_party/khronos', |
14 ], | 14 ], |
15 }], | 15 }], |
16 ], | 16 ], |
17 }, | 17 }, |
18 'targets': [ | 18 'targets': [ |
19 { | 19 { |
20 'target_name': 'surface', | 20 'target_name': 'surface', |
21 'type': '<(component)', | 21 'type': '<(component)', |
22 'dependencies': [ | 22 'dependencies': [ |
23 '../../base/base.gyp:base', | 23 '../../base/base.gyp:base', |
24 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | 24 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', |
25 '../../skia/skia.gyp:skia', | 25 '../../skia/skia.gyp:skia', |
26 '../base/ui_base.gyp:ui_base', | 26 '../base/ui_base.gyp:ui_base', |
27 '../gfx/gfx.gyp:gfx_geometry', | 27 '../gfx/gfx.gyp:gfx_geometry', |
28 '../gl/gl.gyp:gl', | 28 '../gl/gl.gyp:gl', |
| 29 '../gl/init/gl_init.gyp:gl_init', |
29 ], | 30 ], |
30 'sources': [ | 31 'sources': [ |
31 'surface_export.h', | 32 'surface_export.h', |
32 'transport_dib.cc', | 33 'transport_dib.cc', |
33 'transport_dib.h', | 34 'transport_dib.h', |
34 'transport_dib_posix.cc', | 35 'transport_dib_posix.cc', |
35 'transport_dib_win.cc', | 36 'transport_dib_win.cc', |
36 ], | 37 ], |
37 'defines': [ | 38 'defines': [ |
38 'SURFACE_IMPLEMENTATION', | 39 'SURFACE_IMPLEMENTATION', |
39 ], | 40 ], |
40 }, | 41 }, |
41 ], | 42 ], |
42 } | 43 } |
OLD | NEW |