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
|
# Copyright (c) 2011 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.
{
'target_defaults': {
'sources/': [
['exclude', '_(gl|win)\\.(cc?)$'],
],
'conditions': [
['os_posix == 1 and OS != "mac"', {
'sources/': [['include', '_(gl)\\.cc$'],]
}],
['OS == "win"', {
'sources/': [['include', '_(win)\\.cc$'],]
}],
],
},
'targets': [
{
'target_name': 'compositor',
'type': 'static_library',
'msvs_guid': '21CEE0E3-6F4E-4F01-B8C9-F7751CC21AA9',
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/skia/skia.gyp:skia',
'<(DEPTH)/ui/gfx/gl/gl.gyp:gl',
'<(DEPTH)/ui/ui.gyp:ui_gfx',
],
'sources': [
'compositor.cc',
'compositor.h',
'compositor_gl.cc',
],
'conditions': [
['os_posix == 1 and OS != "mac"', {
'sources!': [
'compositor.cc',
],
}],
],
},
],
}
|