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