Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ui / surface / surface.gyp
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
3 # found in the LICENSE file.
4
5 {
6   'variables': {
7     'chromium_code': 1,
8   },
9
10   'target_defaults': {
11     'conditions': [
12       ['use_x11 == 1', {
13         'include_dirs': [
14           '<(DEPTH)/third_party/khronos',
15         ],
16       }],
17     ],
18   },
19   'targets': [
20     {
21       'target_name': 'surface',
22       'type': '<(component)',
23       'dependencies': [
24         '<(DEPTH)/base/base.gyp:base',
25         '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
26         '<(DEPTH)/media/media.gyp:media',
27         '<(DEPTH)/skia/skia.gyp:skia',
28         '<(DEPTH)/ui/base/ui_base.gyp:ui_base',
29         '<(DEPTH)/ui/events/events.gyp:events_base',
30         '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
31         '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
32         '<(DEPTH)/ui/gl/gl.gyp:gl',
33       ],
34       'sources': [
35         'accelerated_surface_mac.cc',
36         'accelerated_surface_mac.h',
37         'surface_export.h',
38         'transport_dib.h',
39         'transport_dib.cc',
40         'transport_dib_posix.cc',
41         'transport_dib_win.cc',
42       ],
43       'defines': [
44         'SURFACE_IMPLEMENTATION',
45       ],
46     },
47   ],
48 }