surface.gyp revision 5821806d5e7f356e8fa4b058a389a808ea183019
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/angle/include',
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)/skia/skia.gyp:skia',
27        '<(DEPTH)/ui/gl/gl.gyp:gl',
28        '<(DEPTH)/ui/ui.gyp:ui',
29      ],
30      'sources': [
31        'accelerated_surface_mac.cc',
32        'accelerated_surface_mac.h',
33        'accelerated_surface_win.cc',
34        'accelerated_surface_win.h',
35        'io_surface_support_mac.cc',
36        'io_surface_support_mac.h',
37        'surface_export.h',
38        'transport_dib.h',
39        'transport_dib_android.cc',
40        'transport_dib_linux.cc',
41        'transport_dib_mac.cc',
42        'transport_dib_win.cc',
43      ],
44      'defines': [
45        'SURFACE_IMPLEMENTATION',
46      ],
47    },
48  ],
49}
50