summaryrefslogtreecommitdiffstats
path: root/ui/gfx/compositor/compositor.gyp
blob: 98adcf82fbe96dad97eec3da18e9fac307a6e6e9 (plain)
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=="linux" or OS=="freebsd" or OS=="openbsd"', {'sources/': [
        ['include', '_(gl)\\.cc$'],
      ]}],
      ['OS=="win"', {'sources/': [
        ['include', '_(win)\\.cc$'],
      ]}],
    ],
  },
  'targets': [
    {
      'target_name': 'compositor',
      'type': '<(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=="linux" or OS=="freebsd" or OS=="openbsd"', {
          'sources!': [
            'compositor.cc',
          ],
        }],
      ],
    },
  ],
}