summaryrefslogtreecommitdiffstats
path: root/gpu/tools/tools.gyp
blob: 342a76908820c632949a2fe9b48e5fd6285a71a3 (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
# 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,
  },
  'targets': [
  ],
  'conditions': [
    ['OS == "linux" and target_arch != "arm" and use_x11==1', {
      'targets': [
        {
          # GN version: //gpu/tools/compositor_model_bench
          'target_name': 'compositor_model_bench',
          'type': 'executable',
          'dependencies': [
            '../../base/base.gyp:base',
            '../../build/linux/system.gyp:x11',
            '../../ui/gl/gl.gyp:gl',
          ],
          'libraries': [
            '-lGL',
            '-ldl',
          ],
          'sources': [
            'compositor_model_bench/compositor_model_bench.cc',
            'compositor_model_bench/forward_render_model.cc',
            'compositor_model_bench/render_model_utils.cc',
            'compositor_model_bench/render_models.cc',
            'compositor_model_bench/render_tree.cc',
            'compositor_model_bench/shaders.cc',
          ],
        },
      ],
    }],
  ],
}