• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2014 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.
4
5{
6  'variables': {
7    'chromium_code': 1,
8    'use_x11': 1,  # It is necessary to explicitly set use_x11 here to make sure
9                   # that the exclusion rules in filename_rules.gypi do not
10                   # exclude the x11* files.
11  },
12
13  'targets': [
14    {
15      'target_name': 'gfx_x11',
16      'type': '<(component)',
17      'dependencies': [
18        '../../../base/base.gyp:base',
19        '../../../build/linux/system.gyp:x11',
20      ],
21      'defines': [
22        'GFX_IMPLEMENTATION',
23      ],
24      'sources': [
25        'x11_atom_cache.cc',
26        'x11_atom_cache.h',
27        'x11_connection.cc',
28        'x11_connection.h',
29        'x11_error_tracker.cc',
30        'x11_error_tracker.h',
31        'x11_switches.cc',
32        'x11_switches.h',
33        'x11_types.cc',
34        'x11_types.h',
35      ],
36    },
37  ]
38}
39