| 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, # It is necessary to explicitly set use_x11 here to make sure | 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 | 9 # that the exclusion rules in filename_rules.gypi do not |
| 10 # exclude the x11* files. | 10 # exclude the x11* files. |
| 11 }, | 11 }, |
| 12 | 12 |
| 13 'targets': [ | 13 'targets': [ |
| 14 { | 14 { |
| 15 # GN version: //ui/gfx/x |
| 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_switches.cc', | 32 'x11_switches.cc', |
| 32 'x11_switches.h', | 33 'x11_switches.h', |
| 33 'x11_types.cc', | 34 'x11_types.cc', |
| 34 'x11_types.h', | 35 'x11_types.h', |
| 35 ], | 36 ], |
| 36 }, | 37 }, |
| 37 ] | 38 ] |
| 38 } | 39 } |
| OLD | NEW |