OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 'use_x11': 1, |
8 'use_x11': 1, # It is necessary to explicitly set use_x11 here to make sure | 9 '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 # that the exclusion rules in filename_rules.gypi do not |
10 # exclude the x11* files. | 11 # exclude the x11* files. |
11 }, | 12 }, |
12 | 13 |
13 'targets': [ | 14 'targets': [ |
14 { | 15 { |
15 'target_name': 'gfx_x11', | 16 'target_name': 'gfx_x11', |
16 'type': '<(component)', | 17 'type': '<(component)', |
17 'dependencies': [ | 18 'dependencies': [ |
18 '../../../base/base.gyp:base', | 19 '../../../base/base.gyp:base', |
19 '../../../build/linux/system.gyp:x11', | 20 '../../../build/linux/system.gyp:x11', |
20 ], | 21 ], |
21 'defines': [ | 22 'defines': [ |
22 'GFX_IMPLEMENTATION', | 23 'GFX_IMPLEMENTATION', |
23 ], | 24 ], |
24 'sources': [ | 25 'sources': [ |
25 'x11_atom_cache.cc', | 26 'x11_atom_cache.cc', |
26 'x11_atom_cache.h', | 27 'x11_atom_cache.h', |
27 'x11_connection.cc', | 28 'x11_connection.cc', |
28 'x11_connection.h', | 29 'x11_connection.h', |
29 'x11_error_tracker.cc', | 30 'x11_error_tracker.cc', |
30 'x11_error_tracker.h', | 31 'x11_error_tracker.h', |
31 'x11_types.cc', | 32 'x11_types.cc', |
32 'x11_types.h', | 33 'x11_types.h', |
33 ], | 34 ], |
34 }, | 35 }, |
35 ] | 36 ] |
36 } | 37 } |
OLD | NEW |