Fix content verifier problem with content scripts (reland)
[chromium-blink-merge.git] / ui / surface / surface.gyp
bloba219473e402fec6c1618edda822a0e7f6bd431bb
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.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'target_defaults': {
10     'conditions': [
11       ['use_x11 == 1', {
12         'include_dirs': [
13           '../../third_party/khronos',
14         ],
15       }],
16       ['OS == "mac"', {
17         # Required by accelerated_surface_mac.cc.
18         'link_settings': {
19           'libraries': [
20             '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework',
21             '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
22           ],
23         },
24       }],
25     ],
26   },
27   'targets': [
28     {
29       'target_name': 'surface',
30       'type': '<(component)',
31       'dependencies': [
32         '../../base/base.gyp:base',
33         '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
34         '../../skia/skia.gyp:skia',
35         '../base/ui_base.gyp:ui_base',
36         '../gfx/gfx.gyp:gfx_geometry',
37         '../gl/gl.gyp:gl',
38       ],
39       'sources': [
40         'accelerated_surface_mac.cc',
41         'accelerated_surface_mac.h',
42         'surface_export.h',
43         'transport_dib.cc',
44         'transport_dib.h',
45         'transport_dib_posix.cc',
46         'transport_dib_win.cc',
47       ],
48       'defines': [
49         'SURFACE_IMPLEMENTATION',
50       ],
51     },
52   ],