Chromium Code Reviews| Index: ui/gfx/x/gfx_x11.gyp |
| diff --git a/ui/gfx/x/gfx_x11.gyp b/ui/gfx/x/gfx_x11.gyp |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d5698057d6403361427411524efdc25ccc82b15b |
| --- /dev/null |
| +++ b/ui/gfx/x/gfx_x11.gyp |
| @@ -0,0 +1,39 @@ |
| +# Copyright 2014 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, |
| + 'use_x11': 1, |
| + }, |
| + |
| + 'targets': [ |
| + { |
| + 'target_name': 'gfx_x11', |
| + 'type': '<(component)', |
| + 'dependencies': [ |
| + '../../../base/base.gyp:base', |
| + ], |
| + 'defines': [ |
| + 'GFX_IMPLEMENTATION', |
| + ], |
| + 'link_settings': { |
| + 'libraries': [ |
| + '-lX11', |
| + '-lXi', |
|
piman
2014/05/09 21:54:17
Why not adding a dependency on system.gyp:x11 like
sadrul
2014/05/09 22:11:14
system.gyp:x11 target is also defined conditionall
|
| + ], |
| + }, |
| + 'sources': [ |
| + 'x11_atom_cache.cc', |
| + 'x11_atom_cache.h', |
| + 'x11_connection.cc', |
| + 'x11_connection.h', |
| + 'x11_error_tracker.cc', |
| + 'x11_error_tracker.h', |
| + 'x11_types.cc', |
| + 'x11_types.h', |
| + ], |
| + }, |
| + ] |
| +} |