OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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/angle/include', | 14 '<(DEPTH)/third_party/angle/include', |
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)/skia/skia.gyp:skia', | 26 '<(DEPTH)/skia/skia.gyp:skia', |
26 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', | 27 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', |
27 '<(DEPTH)/ui/ui.gyp:ui', | 28 '<(DEPTH)/ui/ui.gyp:ui', |
28 ], | 29 ], |
29 'sources': [ | 30 'sources': [ |
30 'accelerated_surface_mac.cc', | 31 'accelerated_surface_mac.cc', |
31 'accelerated_surface_mac.h', | 32 'accelerated_surface_mac.h', |
32 'accelerated_surface_wayland.cc', | 33 'accelerated_surface_wayland.cc', |
33 'accelerated_surface_wayland.h', | 34 'accelerated_surface_wayland.h', |
| 35 'accelerated_surface_win.cc', |
| 36 'accelerated_surface_win.h', |
34 'io_surface_support_mac.cc', | 37 'io_surface_support_mac.cc', |
35 'io_surface_support_mac.h', | 38 'io_surface_support_mac.h', |
36 'surface_export.h', | 39 'surface_export.h', |
37 'transport_dib.h', | 40 'transport_dib.h', |
38 'transport_dib_android.cc', | 41 'transport_dib_android.cc', |
39 'transport_dib_linux.cc', | 42 'transport_dib_linux.cc', |
40 'transport_dib_mac.cc', | 43 'transport_dib_mac.cc', |
41 'transport_dib_win.cc', | 44 'transport_dib_win.cc', |
42 ], | 45 ], |
43 'defines': [ | 46 'defines': [ |
44 'SURFACE_IMPLEMENTATION', | 47 'SURFACE_IMPLEMENTATION', |
45 ], | 48 ], |
46 }, | 49 }, |
47 ], | 50 ], |
48 } | 51 } |
OLD | NEW |