1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'target_defaults': {
'conditions': [
['use_x11 == 1', {
'include_dirs': [
'../../third_party/khronos',
],
}],
['OS == "mac"', {
# Required by accelerated_surface_mac.cc.
'link_settings': {
'libraries': [
'$(SDKROOT)/System/Library/Frameworks/IOSurface.framework',
'$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
],
},
}],
],
},
'targets': [
{
'target_name': 'surface',
'type': '<(component)',
'dependencies': [
'../../base/base.gyp:base',
'../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../../skia/skia.gyp:skia',
'../base/ui_base.gyp:ui_base',
'../gfx/gfx.gyp:gfx_geometry',
'../gl/gl.gyp:gl',
],
'sources': [
'accelerated_surface_mac.cc',
'accelerated_surface_mac.h',
'surface_export.h',
'transport_dib.cc',
'transport_dib.h',
'transport_dib_posix.cc',
'transport_dib_win.cc',
],
'defines': [
'SURFACE_IMPLEMENTATION',
],
},
],
}
|